On Fri, Aug 07, 2009 at 12:26:10PM -0400, Identry wrote: > >> Should I use any flags? Should I mount the filesystems read write or read > >> only? > > > > You should never fsck a filesystem when its mounted! > > Ah... glad I asked.
Actually it is only when a filesystem is mounted read-write that you must not run fsck on it. Running it on a filesystem which is mounted read-only should be OK. (Otherwise we would all be in a lot of trouble since when fsck is run normally during the startup sequence the root filesystem (/) is mounted read-only, and is in fact where the fsck binary is loaded from.) > > > I think you should start by reading the manual pages for fsck and > > fsck_ffs. I would start with 'fsck_ffs -fp /dev/yourdevicenode'. > > Okay, that makes sense, and is simpler than what I was planning. I > have a long train ride, so I'm going to print out and read those man > pages, and whatever I can find in the Handbook, and maybe there's some > info in my Absolute FreeBSD book... > > > If this command quits with errors, you might try fsck_ffs without flags, > > or 'fsck_ffs -y' to have it try and repair all damage that it finds. > > Excellent. Thanks for all your advice Roland. > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[email protected]" -- <Insert your favourite quote here.> Erik Trulsson [email protected] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
