Re: fsck



On Mon, Sep 25, 2006 at 02:41:18PM -0600, tech@xxxxxxxx wrote:

Maybe I can mount a dirty partition..... I just need the data off it...

Mount it read-only and get the data off it IMMEDIATELY. I wouldn't try
fsck-ing on any disk with even a single read or write error. Fsck will
fail if it can't find a real sector to allocate, and I don't think it deals
well with bad sectors anyway. Point is: don't let it. "dd" the drive
ASAP and cut your losses...

-- Rick C. Petty
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: fsck
    ... > Maybe I can mount a dirty partition..... ... Mount it read-only and get the data off it IMMEDIATELY. ... fail if it can't find a real sector to allocate, and I don't think it deals ... -- Rick C. Petty ...
    (freebsd-hackers)
  • Re: USB Pen Drives and Linux
    ... paul wrote: ... > umount it and be able to mount a different pen drive from the same ... That dirty enough for you? ...
    (comp.os.linux.misc)
  • Re: Fscking a partition mounted Read only...
    ... Later, if root filesystem is remounted readonly, then fsck is called, ... mount -ur / ... You can no longer fsck it. ... -- Rick C. Petty ...
    (freebsd-hackers)