Best way to fsck bubba-storage
Posted: 06 Jan 2011, 02:47
Hi,
After a series of power cuts the file systems on my B2 are all reporting as having errors.
I've run fsck on the root of /dev/sda1 by using the "touch /forcefsck" method but I'm not sure on the best way to run one on /dev/bubba-storage (i.e. what is mounted as /home/storage). Even if I dismount it fsck complains that it's still mounted so I don't want to run one under those circumstances. If I do "touch /home/storage/forcefsck" will that run an fsck when I reboot the machine? I though that only worked for /.
The only other way I can think of is to boot up from the USB installer and do it that way but getting physical access to my B2 is a bit involved so I'd like to avoid that if I can.
Thanks for any suggestions.
Darren.
After a series of power cuts the file systems on my B2 are all reporting as having errors.
I've run fsck on the root of /dev/sda1 by using the "touch /forcefsck" method but I'm not sure on the best way to run one on /dev/bubba-storage (i.e. what is mounted as /home/storage). Even if I dismount it fsck complains that it's still mounted so I don't want to run one under those circumstances. If I do "touch /home/storage/forcefsck" will that run an fsck when I reboot the machine? I though that only worked for /.
The only other way I can think of is to boot up from the USB installer and do it that way but getting physical access to my B2 is a bit involved so I'd like to avoid that if I can.
Thanks for any suggestions.
Darren.