Computing.Net > Forums > Linux > how to check the filesystem??????

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to check the filesystem??????

Reply to Message Icon

Name: New New B
Date: March 9, 2002 at 09:22:32 Pacific
Comment:

Hi all,

i m a linux newbie. I wonder how I could check the errors in filesystem or defragment it.... Does anybody have an idea how to do it?

Thank you in advance... :>



Sponsored Link
Ads by Google

Response Number 1
Name: Guy
Date: March 9, 2002 at 13:42:33 Pacific
Reply:

No need to do any defrag nonsense on a Linux file system.

You HD(s) get automatically checked about every 20 boots.

If you really want to manually run checks, the command is 'e2fsck' (assuming a '2' file system type).

Regards, Guy


0

Response Number 2
Name: New New B
Date: March 9, 2002 at 15:04:44 Pacific
Reply:

how come it said "running e2fsck on a mounted filesystem may cause SEVERE filesystem damage." So should I still continue to run it? or is there any other way to umount the filesystem before i run that command again?

By the way, thx Guy for the help ... \(^_^)/


0

Response Number 3
Name: nameless
Date: March 9, 2002 at 23:52:50 Pacific
Reply:

If this is not your / filesystem, you can umount it just by umount yourmountpoinname. If it is /, then the only thing you can do is remount it read-only, by

mount -o remount,ro /

But as Guy mentioned, you only want to run fsck manually in very rare circumstances.


0

Response Number 4
Name: Damien
Date: March 10, 2002 at 03:05:05 Pacific
Reply:

If i'm not mistaken, if u use a journaling filesystem like ReiserFs or ext3 then worrying about the filesystem is a thing of the past. Unfortunately i'm still stuck with ext2 til i re-install my system, which I'm much to lazy to do :)

Damien



0

Response Number 5
Name: New New B
Date: March 10, 2002 at 12:58:44 Pacific
Reply:

Thank you very much to all of you...

Have a good weekend .. :>


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Help Router: SuSE 7.0 & Wi...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: how to check the filesystem??????

How to connect to the internet www.computing.net/answers/linux/how-to-connect-to-the-internet/27572.html

hai how to copy the file from sys to flo www.computing.net/answers/linux/hai-how-to-copy-the-file-from-sys-to-flo/12519.html

How to Find the current CPU load www.computing.net/answers/linux/how-to-find-the-current-cpu-load-/11860.html