If i start the system and log in as root, mount the partition, sync, is it ok to do a fsck on a mounted fs as no files are open?
This problem is most probably caused because the drives are never unmounted when the system shuts down, their always "busy" at the time. I can prob fix that by looking into the shutdown script.s
Brad.
On correctly set up box, umount detaches loop, so file system data won't be there for fsck to find. If you have loop mount options defined in /etc/fstab, do this:
umount /home losetup -F /dev/loop2 fsck -t ext3 -f -y /dev/loop2 losetup -d /dev/loop2 mount /home
Regards, Jari Ruusu <jari.ruusu@xxxxxxxxxx>
>My encrypted /home/ mounts and works fine, but i can't fsck it. I >unmount it, and try fsck /dev/loop2 but i'm told there's no first or >second superblock. The /dev/loop2 loop still exists with definatly >the correct password as i can remount it without being prompted for >a password.
>
>Its ext3 on a software raid5 looping through /dev/md0. Am i fscking >the wrong place? or, since it mounts ok still, should i copy the >files off to another drive, recreate filesystem, then copy files >back?
>
>Thanks,
>Brad.
>
_________________________________________________________________
Få nye ringetoner til mobilen http://www.msn.dk/mobile/logoringetone/ringetoner/
- Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/