Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-26-2004, 09:38 PM   #1
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Rep: Reputation: 15
fsck help

when i reboot and use fsck it always reads that i have 1.2% non-contigious root filesystem. is this ok? is there a fix option i need to use?
Old 04-27-2004, 03:47 AM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Normally, you will see a message saying "hit Y to do file check" on boot up. I would do that. Unfortunately, you haven't told us what distro you are using, so I can't guarantee that you will see that.
Old 04-27-2004, 09:25 AM   #3
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Original Poster
Rep: Reputation: 15

i have rh 9. i can get fsck to run on reboot, i just dont know if it is fixing the problem because evertime i run it, it reads 1.2% non-contigious. i thought that it would fix the problem and next time it show that the drive was 100% contigious?
Old 04-27-2004, 02:25 PM   #4
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 250

Rep: Reputation: 32
1.2% non-contiguous
This is such a small amount of fragmentation that nothing needs be done about it.
Old 04-27-2004, 11:00 PM   #5
LQ Newbie
Registered: Apr 2004
Distribution: Custom Distro
Posts: 12

Rep: Reputation: 0
"non-contiguous" means "fragmented" Don't ask me why ... It's always been that way since i can remember. Linux filesystems (ext2 and ext3) designed not to get fragmented in the first place. such a low level of fragmentation should not be anything to worry about and is both normal and below my 2.5 when i run fsck. There is no "defrag" AFAIK on linux but i could be wrong. It would probably be a bad idea to run one if it did exist though with the journaling stuff in ext3. Hopefully shutting down and restarting properly and not using the reset/power button. Linux tends to actually be quite picky about that thanks to intense use of disk read and write caching.
Old 04-28-2004, 08:22 AM   #6
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Original Poster
Rep: Reputation: 15
thank you. i always wondered what contigous ment.
Old 04-29-2004, 10:42 AM   #7
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Rep: Reputation: 15
The journaling in ext3 solves a different problem than fragmentation. Writing to the filesystem in ext2 and other simple filesystems is in fact not only one action but a series of actions. If the operating system gets interuppted in the middle of a writeprocess by let's say a power failure this could be bad for the filesystem. Journaling solves this by having a "journal" to which task get written and picked out off so in case of a power failure the remaining jobs can be written to the fs next time the computer is turned on.
Fragmentation is due to the fs dividing the disk into blocks and a file can be spread out on different blocks on the disk.

I hope I remeber it right, please correct me if I'm wrong.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with fsck Grill Master Linux - Newbie 2 07-05-2005 05:37 PM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 07:51 AM
How to do fsck Please help Zi5 Linux - Distributions 2 05-13-2004 06:47 PM
How to use Fsck pembo13 Linux - General 4 04-20-2004 11:00 AM
Fsck scottpioso Linux - Newbie 7 06-01-2003 03:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration