Hi -
Just started using livecd-creator (Fedora 9; livecd-tools.i386 017.1-1.fc9) and I seem to have a problem with files that I create during the %post phase not appearing on the CD.
If I review the output of the livecd-creator command, I see messages similar to:
| umount: /disk0/scratch/imgcreate-RK0UU5/install_root: device is busy | ioctl: LOOP_CLR_FD: Device or resource busy
and
| e2fsck 1.40.8 (13-Mar-2008) | Fedora-9-Gateway: recovering journal | Pass 1: Checking inodes, blocks, and sizes | Inode 18 has illegal block(s). Clear? yes | Illegal block #0 (811008) in inode 18. CLEARED. | Inode 18, i_blocks is 24, should be 16. Fix? yes | Inode 19 has illegal block(s). Clear? yes
etc... I've fsck'ed a lot of drives during my career, and this does not look good. Maybe related is that after several builds my disk fills up, and the numbers from df and du don't match, suggesting that there are open files that are being deleted, and not released back into the free list:
| # df -k /disk0 | Filesystem 1K-blocks Used Available Use% Mounted on | /dev/sda7 16876496 9157472 6847904 58% /disk0 | # du -sk /disk0 | 3940940 /disk0
Any ideas... is any of this normal? What can I do to debug this?
Miner, Jonathan W (US SSA) wrote:
If I review the output of the livecd-creator command, I see messages similar to:
| umount: /disk0/scratch/imgcreate-RK0UU5/install_root: device is busy | ioctl: LOOP_CLR_FD: Device or resource busy
Yeah, I've seen that too https://bugzilla.redhat.com/show_bug.cgi?id=430606#c10
I'm in the process of creating a reproducible test-case, then I'll reopen that BZ (and change summary which was just one side-effect)
One work-around, based on two successful runs, is to put "sync;sync" at the end of my %post section.
It doesn't fix the device busy message, but it greatly reduced the number the errors from e2fsck... include the message that said I was a "BONEHEAD" for trying to fsck a mounted filesystem. Glad to see the author has a sense of humor! :)
-----Original Message----- From: fedora-livecd-list-bounces@redhat.com on behalf of Alan Pevec Sent: Mon 7/28/2008 4:00 PM To: fedora-livecd-list@redhat.com Cc: Subject: Re: [Fedora-livecd-list] fsck errors
Miner, Jonathan W (US SSA) wrote:
If I review the output of the livecd-creator command, I see messages similar to:
| umount: /disk0/scratch/imgcreate-RK0UU5/install_root: device is busy | ioctl: LOOP_CLR_FD: Device or resource busy
Yeah, I've seen that too https://bugzilla.redhat.com/show_bug.cgi?id=430606#c10
I'm in the process of creating a reproducible test-case, then I'll reopen that BZ (and change summary which was just one side-effect)
-- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
livecd@lists.fedoraproject.org