Skip to contentSkip to conversation

LVM seems to be causing SCSI errors.

linux-lvm Karl 3 participants 3 messages Oct 5, 2001 – Oct 8, 2001

lore
Share & tools
lore

Karl

author
#0 lore raw
Quoted 4 lines

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.

That's what I thought at first, but as I explained earlier, the errors ONLY occur when running under LVM and go away as soon as I use the raw disk. I went back and forth several times. I'm pretty sure it is an LVM thing, but no idea what it is.

-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com

#1 lore raw

IIRC you said, that your test LVs spanned physical drives. Another known problem is flaky SCSI subsystem behaviour when LVM causes more load in configurations like this.

Can you trigger the problem, if you've got just one LV being allocated on one PV?

What did the filesystem consistency check I mentioned in my other mail say?

Quoted 19 lines · Karl
Quoted 4 lines

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.

That's what I thought at first, but as I explained earlier, the errors ONLY occur when running under LVM and go away as soon as I use the raw disk. I went back and forth several times. I'm pretty sure it is an LVM thing, but no idea what it is.

-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
In reply to Karl
Quoted 9 lines · Karl
Quoted 4 lines

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.

That's what I thought at first, but as I explained earlier, the errors ONLY occur when running under LVM and go away as soon as I use the raw disk. I went back and forth several times. I'm pretty sure it is an LVM thing, but no idea what it is.

The only thing I can think is that the SCSI device is not being opened/initialised properly by LVM. This certainly wasn't happening before ~July when I put the open/close_pv() functions in. But should be working now. Puzzled. You really are using the new tools and not old binaries in strange places ? I've been caught a couple of times by this ...

- Joe