On Tue, 2005-03-15 at 02:20, Carl E. Hartung wrote:
Can someone help? ReiserFS seems to suggest fsck. I have never used
On Tuesday 15 March 2005 01:27 am, Konstantinos Georgokitsos wrote: <snip> that
though. Do I have to go to runlevel 3? How do I proceed?
Kostas
Hi Kostas,
I sure hope you have recent backups available. Did you have a power failure recently or some other untimely shutdown? If not, you could be heading for a full drive failure fairly quickly.
Plan on backing that drive up immediately after you've repaired the file system and can access it's contents. You can then afford to exercise and test the drive out.
- boot into >>> rescue mode <<< using the CD or floppies. - log in as "root" (doesn't ask for a password.) - mount /dev/hdd2
You should never run fsck on a mounted filesytem as you will get errors if you do. That is the whole purpose of running in rescue mode to do the check on a quite filesystem (one that is not mounted).
- the most common procedure:
a) reiserfsck -check /dev/hdd2
then (if warranted)
b) reiserfsck -fix-fixable /dev/hdd2
then (if warranted)
c) reiserfsck -rebuild-tree /dev/hdd2**
** You should BACK UP a partition before using "-rebuild-tree" mode. ** -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
* Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge