daniewicz Posted March 5, 2006 Report Share Posted March 5, 2006 I ran shutdown with the -F -r options to reboot my Mandriva 2005 system and force a filesystem check. From syslog I see the following: Mar 5 07:22:47 192 fsck: ^B Mar 5 07:23:15 192 last message repeated 121 times Mar 5 07:23:15 192 fsck: ^B/dev/hda1: 93083/768544 files (0.7% non-contiguous), 375795/1535932 blocks Mar 5 07:23:15 192 rc.sysinit: Remounting root filesystem in read-write mode: succeeded Mar 5 07:23:19 192 udev: Start udev succeeded Mar 5 07:23:19 192 rc.sysinit: Activating swap partitions: succeeded Mar 5 07:23:20 192 fsck: ^A/dev/hda6: | Mar 5 07:23:20 192 fsck: ^B Mar 5 07:23:20 192 fsck: ^A/dev/hda6: | Mar 5 07:23:20 192 fsck: ^B Mar 5 07:23:42 192 last message repeated 153 times Mar 5 07:23:42 192 fsck: /dev/hda6: 3328/3981312 files (13.8% non-contiguous), 167062/7953238 blocks Should I be alarmed that my swap partition has 13.8% non-contiguous? Quote Link to comment Share on other sites More sharing options...
daniewicz Posted March 5, 2006 Author Report Share Posted March 5, 2006 correction: /dev/hda6 is my /home, my swap is /dev/hda5 :woops: so should I be alarmed that my /home is 13.8% non-contiguous? Quote Link to comment Share on other sites More sharing options...
daniewicz Posted March 5, 2006 Author Report Share Posted March 5, 2006 this may be useful, I am not sure $ df Filesystem Size Used Avail Use% Mounted on /dev/hda1 5.8G 1.4G 4.2G 25% / /dev/hda6 30G 165M 30G 1% /home none 494M 40K 494M 1% /tmp Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 5, 2006 Report Share Posted March 5, 2006 You shouldn't worry about swap, and since the usage of /home is just 1%, you shouldn't worry about that, either. Quote Link to comment Share on other sites More sharing options...
daniewicz Posted March 5, 2006 Author Report Share Posted March 5, 2006 So I should expect a large amount of fragmentation if the partition is mostly empty? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 6, 2006 Report Share Posted March 6, 2006 Fragmentation in Linux isn't really anything to worry about from what I've heard. Sure you get a bit, like any file system, but it doesn't seem to be a worry in Linux. I use reiserfs, and did a check with a script on fragmentation a couple of weeks back. Not sure why, since if I have fragmentation, I've no idea what to do to fix it anyway :P I don't know of any tools for the job to sort it out. But the general consensus is, not to worry about fragmentation. Even after two or three years of use. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.