LVM seems to be causing SCSI errors.
Quoted 4 lines
People have recently reported similar "hardware" errors on IDE drives as well. Can you verify if the sector in question is really within the boundaries of the device (this appears to be
/dev/sdc1, sector 12247456)? If not, it is possible that LVM is doing math incorrectly somewhere.
Good point. That's a pretty big number. It would also explain the bad noise from the drive...
From fdisk on that drive I count 17767890 sectors so it does seem to fall within the boundaries
fdisk /dev/sdc
The number of cylinders for this disk is set to 1106. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sdc: 255 heads, 63 sectors, 1106 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System /dev/sdc1 1 1106 8883913+ 83 Linux
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com
Quoted 10 lines · Karl
Quoted 4 lines
People have recently reported similar "hardware" errors on IDE drives as well. Can you verify if the sector in question is really within the boundaries of the device (this appears to be
/dev/sdc1, sector 12247456)? If not, it is possible that LVM is doing math incorrectly somewhere.Good point. That's a pretty big number. It would also explain the bad noise from the drive...
From fdisk on that drive I count 17767890 sectors so it does seem to fall within the boundaries
Well, if it is within the size of the drive, and you get a "bad noise" when trying to access it, then it may be that you have a bad drive. If you are doing low-level formats of the drive, this may do bad block relocation, and hide the fact that there are bad spots.
One way to test this theory is to do "dd if=/dev/sdc of=/dev/null" and see if it generates errors. If so your drive is bad.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert