[svlug] fsck

Skip Evans skip at venomouspenguin.com
Thu Aug 11 15:48:52 PDT 2005


Hey all,

I'm much more familiar with BSD than Linux as a server, so when a 
client of mine said he thinks his HD is having problems, fsck was the 
first thing I thought to run, but the following ensued:

[root at linux1 sbin]# fsck
fsck 1.27 (8-Mar-2002)

No devices specified to be checked!
[root at linux1 sbin]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md1              146G  2.4G  136G   2% /
/dev/md0               99M   14M   79M  15% /boot
none                  495M     0  495M   0% /dev/shm
[root at linux1 sbin]# fsck /dev/md1
fsck 1.27 (8-Mar-2002)
e2fsck 1.27 (8-Mar-2002)
/dev/md1 is mounted.

WARNING!!!  Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? no

check aborted.
[root at linux1 sbin]#


=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-==-=
This is SME Linux with a 2.4.20 kernel.

What would be the proper way to run fsck on this box?

On BSD you just run it with no args and it takes off.

Any help would be greatly appreciated.

Skip




More information about the svlug mailing list