[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /home



bob wrote:
> 
> On Thu, 20 Apr 2000, Harvey Kelly wrote:
> >
> > Dear all,
> >
> > Attentive viewers will notice that I'm using Outlook Express.  Well, I switched the machine on earlier and got loads of error messages during boot-up.  All related to hda11 which is my /home directory.  I caught a glimpse of one of them which said something like hda11 has a faulty(?) filesystem, and at the bottom...
> >
> > /dev/hda11 unexpected inconsistency; RUN fsck manually
> >         (i.e., without -a or -p options)            failed
> > /sbin/init.d/kbd:    /usr/bin/find does not exist.  Exit
> >
> > fsck failed.  Please repair manually and reboot.  The root file system is currently mounted read-only.  To remount it read-write do:
> >     bash#  mount -n -o remount,rw /
> >
> >         ... and then it informed me that only CONTROL & D would reboot the system and to log on as root.
> >
> > I'd been away for a week, but can't remember doing anything other than my usual fiddling about, obviously I've done something, but what?  And how do I rescue /home ?  I've been a bit slack and haven't got back-ups of some stuff that I really, really don't want to have to format.  Can anyone help?
> >Hi Harvey,
>   I'm not sure about this. but I think you need to run Fsck2 -p  the p stands
> for prean and the cleans up the file system. it happened to me and if I
> remember right thats what I did and it did not lose any file systems.. so look
> at fsck2.  I may be wrong but that's where to look.
> regards bob fallis >

The message said 'run fsck without the -p option'. The trick here
is to do something like
# fsck -y /
# fsck -y /home
(etc. for all your filesystems)

the -y switch answers YES to all the questions. Omit that if you
expect to answer NO to one. (no real reason).

If your hard drive is broken, buy a new one, and replace your backup.
(you _do_ have a backup, right?)

cheers,

Jules
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.