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

[linux-lvm] pvcreate issues



Hi,

We have a SAN that exports 4 LUNs. These appear as SCSI devices on the server (/dev/sd[c-f]). When I try to create physical volumes on these devices, I get the following error:

#>pvcreate /dev/sdc
  Physical volume "/dev/sdc" successfully created

#>pvcreate /dev/sdd
Found duplicate PV ZlhU50ejJ1VkoULTcU5ODsl2BP26IjQW: using /dev/sdc not /dev/sdd
Found duplicate PV ZlhU50ejJ1VkoULTcU5ODsl2BP26IjQW: using /dev/sde not /dev/sdd
Found duplicate PV ZlhU50ejJ1VkoULTcU5ODsl2BP26IjQW: using /dev/sdf not /dev/sdd
Physical volume "/dev/sdd" successfully created


This happens after pvcreate is run the second time, does not matter in which order. It looks like when pvcreate sets the device id, it somehow sets it for all the devices.

Debian/Sarge

pvcreate --version
  LVM version:     2.01.04 (2005-02-09)
  Library version: 1.01.00-ioctl (2005-01-17)
  Driver version:  4.4.0


Thanks for any ideas.


-- Arshavir Grigorian Systems Administrator/Engineer


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