LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2010, 04:06 PM   #1
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
possible bad blocks


I would like something explaining.
Background: I have a drive with Debian,Ubuntu 9.10 (including 2 systems on Virtualbox) and Mint. Debian is the trunk installation and neither that or mint has Vbox on it.
Device Boot Start End Blocks Id System
/dev/sda1 1 5471 43945776 83 Linux
/dev/sda2 13344 13498 1245037+ 82 Linux swap / Solaris
/dev/sda3 * 5472 6322 6835657+ 83 Linux
/dev/sda4 6323 13343 56396182+ 5 Extended
/dev/sda5 6323 6617 2369556 82 Linux swap / Solaris
/dev/sda6 6618 9882 26226081 83 Linux
/dev/sda7 9883 13194 26603608+ 83 Linux
/dev/sda8 13195 13343 1196811 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 516 MB, 516685824 bytes
3 heads, 18 sectors/track, 18688 cylinders
Units = cylinders of 54 * 512 = 27648 bytes
Disk identifier: 0x00000000


Problem is that it (ubuntu 9.10) only boots occasionally.
I have to run fsck from Debian to enable this and only certain options work,i.e., -y returns that the partition is clean but -f returns a result of 31% non-contiguous. Can anyone explain?

Fred.
 
Old 05-24-2010, 05:53 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Fred Caro View Post
Partition table entries are not in disk order
That's not a show stopper.


Quote:
Originally Posted by Fred Caro View Post
I have to run fsck from Debian to enable this and only certain options work,i.e., -y returns that the partition is clean but -f returns a result of 31% non-contiguous.
Try to see the percentage of non-contiguous files as an indication of file-system fragmentation, not as an indication of physical disk problems. If you want to ensure the disk is OK (even after fsck returned OK already) then feel free to run 'fsck' with "-c" (as in 'badblocks').


Quote:
Originally Posted by Fred Caro View Post
Problem is that it (ubuntu 9.10) only boots occasionally.
On fridays only? After sacrificing a goat to the SCSI chain? Can you provide 'dmesg' output, screenshots of where it halts (if it boots), anything else that might be interesting?
 
Old 05-26-2010, 08:08 AM   #3
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Original Poster
Rep: Reputation: 167Reputation: 167
badblocks?

I tried to run and return 'dmesg' but it was reported as too long to paste in this space. I ran fsck with the 'c' option but that was not reproducible. The last couple of lines that came back from fsck c were:

file system modified
/dev/hda6 878/1643376 files(31.3% non-contiguous), 165524/6556520 blocks.

Any clues?

Fred.
 
  


Reply



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
bad blocks bong.mau Linux - General 1 11-16-2005 02:17 PM
ReiserFS with bad blocks bruce ford Linux - Software 2 07-23-2005 04:15 AM
BAd Blocks / Formatting linmix Linux - Software 0 11-14-2004 02:43 PM
fsck many bad blocks mjolnir *BSD 5 01-13-2004 06:35 AM
bad blocks on swap masand Linux - Hardware 6 05-22-2003 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:45 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
Open Source Consulting | Domain Registration