[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] [BUG] vgscan and removeable scsi disks



On Sat, Sep 29, 2001 at 07:37:27AM -0400, Ed Tomlinson wrote:
> I just had an lvm problem that triggered softdog to reboot my box.  I have a
> digital camera and a smartmeadia reader.  Both the camera and the reader can
> appear as sbd and/or sda.  Running a vgscan after I have inserted/mounted, 
> unmounted/removed these devices can cause vgscan to loop, or worst yet, to
> stall the system (and trigger the watchdog code...).

Hmm...looks like you're seeing the /proc/partitions error in 2.4.10.  :)
Before trying to run vgscan, try catting /proc/partitions after you have
inserted/mounted, unmounted/removed these devices.  I believe it is an issue
with the SCSI layer somehow.

> 1. Its obvious that vgscan needs better error checking/handling - once it gets
> an error it should stop trying the device.
> 
> 2. It would be a good idea to be able to supply vgscan with a backlist.  ie. 
> under no circumstances should it look at sda or sdb on my box.  Think of a box
> with a defective drive you cannot replace just yet...

This is being addressed in the LVM2 experimental tree, but I don't know that
it will get into LVM 1.0x

Regards,
-- 
AJ Lewis
Sistina Software Inc.                  Voice:  612-638-0500
1313 5th St SE, Suite 111              Fax:    612-638-0500
Minneapolis, MN 55414                  E-Mail: lewis sistina com
http://www.sistina.com

Current GPG fingerprint = 60F3 160D C0D5 2C4B 751B  4FF9 6F67 E9BC 44CD DE95

-----Begin Obligatory Humorous Quote----------------------------------------
Hope is NOT a thing with feathers, the thing with feathers is my nephew,
and I have to take him to a specialist in Zurich. - Woody Allen
-----End Obligatory Humorous Quote------------------------------------------

Attachment: pgp00001.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]