fsck on a read only partition?

Joe Holden joe at joeholden.co.uk
Thu Jul 5 01:06:01 UTC 2007


Alfred Perlstein wrote:
> Hello, how do I fsck my disk if it's mounted?
> 
> I have downgraded the mount to read-only, but still geom seems
> to disallow fsck access to it. 
> 
> Is there a way to tell the system to allow fsck to open it
> read/write?
> 
> thanks,
If you unmount it first, you should be able to fsck it fine, /dev/blah
(ad0/1/2/whatever)

Thanks,
J


More information about the freebsd-questions mailing list