LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-26-2004, 10:38 PM   #1
afrodocter
Member
 
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, 04:47 AM   #2
XavierP
Moderator
 
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, 10:25 AM   #3
afrodocter
Member
 
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Original Poster
Rep: Reputation: 15
fsck

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, 03:25 PM   #4
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 247

Rep: Reputation: 31
Quote:
1.2% non-contiguous
This is such a small amount of fragmentation that nothing needs be done about it.
 
Old 04-28-2004, 12:00 AM   #5
psyborgue
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, 09:22 AM   #6
afrodocter
Member
 
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, 11:42 AM   #7
Borje
Member
 
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.
 
  


Reply


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 06:37 PM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 08:51 AM
How to do fsck Please help Zi5 Linux - Distributions 2 05-13-2004 07:47 PM
How to use Fsck pembo13 Linux - General 4 04-20-2004 12:00 PM
Fsck scottpioso Linux - Newbie 7 06-01-2003 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:32 PM.

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