You are not logged in.

#1 2003-02-13 15:28:06

jon
Member
Registered: 2002-11-28
Posts: 87

fsck root

how do i check if a root ( / ) filesystem has corruptions? It is reiserfs. I tried using "reiserfsck /dev/hda2" in "single user mode" but it says its mounted.....DUH! How do i check a filesystem if the filesystem needs to be mounted in order to access the "fsck" program???

Can this even be done???

Offline

#2 2003-02-14 07:40:12

ody
Member
From: Manchester, UK
Registered: 2002-08-12
Posts: 216
Website

Re: fsck root

mount -o remount,r /

then try running the check, dont for get to remount back to readwrite with:

mount -o remount,rw /

Offline

#3 2003-02-14 08:27:02

BluPhoenyx
Member
Registered: 2002-12-23
Posts: 239

Re: fsck root

This brings up the question, why are you testing the file system? Is there a failure at startup? If so, you should set the file system entry in /etc/fstab so the check isn't done as ReiserFS takes care of this under normal circumstances. ie, set the 'pass' value (last number entry) to zero.


BluPhoenyx

Offline

#4 2003-02-14 12:06:55

jon
Member
Registered: 2002-11-28
Posts: 87

Re: fsck root

the reason i am testing the filesystem is..... i just like to know for the sake of knowing.....just in case. big_smile

PS: Reiserfs and Arch havent failed me so far... :-)

Offline

#5 2003-02-15 00:52:46

BluPhoenyx
Member
Registered: 2002-12-23
Posts: 239

Re: fsck root

I used Reiserfs for quite a while before switching to the ext3. I like the fact that I can stil access the ext3 without special filesystem support. Ext3 is still the ext2 just with a journal, very much like Reiserfs.


BluPhoenyx

Offline

Board footer

Powered by FluxBB