[nylug-talk] fsck chestnut
Nadav Mavor
Tue Oct 17 14:20:14 EDT 2006
use the -c to find any bad block
On 10/17/06, matt black <linuxmania1 at hotmail.com> wrote:
>
>
> 1. the data on this HD is backed up regularly so we're ok there.
>
> 2. was really hoping there was a preferred solution beyond the obvious
> fsck
> off a live cd, which just doesn't seem like it should be the best way, we
> did try it and we got:
>
> 3. running fsck -rf from the live cd says its clean, except for 1.7%
> noncontiguous files.
> clearly of course its not a clean HD, according to dmesg, so what's our
> next
> step to maintaining this system?
>
> 4. Tried Alex's suggestion (boot into single) which sounded more like what
> we were looking for, but, after booting into single mode ("root=/hda1 ro
> single") and then trying to fsck the drive,
> it still complains that its mounted (which of course it is, just
> read-only)
>
> not sure exactly how to fsck this drive from single user mode, obviously
> it
> has to be mounted to run, even in single user.
>
> data is safe, but we seem to be missing an obvious step in fixing the
> filesystem.
>
> appreciatively,
>
> Matt
>
>
>
> >From: alex at pilosoft.com
> >Reply-To: NYLUG Technical Discussion <nylug-talk at nylug.org>
> >To: NYLUG Technical Discussion <nylug-talk at nylug.org>
> >Subject: Re: [nylug-talk] fsck chestnut
> >Date: Tue, 17 Oct 2006 12:53:47 -0400 (EDT)
> >
> >On Tue, 17 Oct 2006, matt black wrote:
> >
> > > Classic question, how do you fsck a mounted partition. Googling found
> > > some really bad advice but not the basic solution to this problem:
> >
> >a) you don't fsck a mounted partition. Boot system singleuser and then
> >fsck.
> >
> >b) your drive is about to die. Make backup while you can.
> >
> >
> >--
> >Alex Pilosov | DSL, Colocation, Hosting Services
> >President | alex at pilosoft.com 877-PILOSOFT x601
> >Pilosoft, Inc. | http://www.pilosoft.com
> >
> >
>
> >_____________________________________________________________________________
> >Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org
> >The nylug-talk mailing list is at nylug-talk at nylug.org
> >The list archive is at http://nylug.org/pipermail/nylug-talk
> >To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk
>
> _________________________________________________________________
> All-in-one security and maintenance for your PC. Get a free 90-day trial!
>
> http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail
>
>
> _____________________________________________________________________________
> Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org
> The nylug-talk mailing list is at nylug-talk at nylug.org
> The list archive is at http://nylug.org/pipermail/nylug-talk
> To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk
>
More information about the nylug-talk
mailing list