[linux-lvm] using LVM with SAN

Luca Berra bluca at comedia.it
Thu Sep 21 19:09:54 UTC 2006


On Wed, Sep 20, 2006 at 05:08:53PM +0200, de Toma Alessandro wrote:
>Dear All,
>we have create a vg on a LINUX RH ES4 UP2.
>The storage is a CX500 and the multypath software is POWERPATH 4.5.
>
>During the creation of VG we are this worning:
># vgcreate VolGroupSUN01 /dev/emcpowerb1
>Found duplicate PV fPxLqOcxkEO2Umku09icOn5oJ1IC5H84: using /dev/sdc1 not
>/dev/emcpowera1
....
>Volume group "VolGroupSUN01" successfully created
>This is correct?

no, please edit /etc/lvm/lvm.conf and set up filters so lvm will only
use /dev/emcpower* devices.

note that if your root vg is on local scsi disks you will have to add
those to the filter as well.

eg:
   filter =[ "a|/dev/sda[1-9]*|", "a|/dev/sdb[1-9]*|", "a|/dev/emcpower.*|", "r|.*|" ]


>When we umount the volume:
>[root at mezzicluslin02 ~]# umount /dev/VolGroupSUN00/LogVolSUN00
>/home/SUNstorage
>umount: /dev/mapper/VolGroupSUN00-LogVolSUN00: not mounted
>umount: /dev/mapper/VolGroupSUN00-LogVolSUN00: not mounted
>
>This is correct?
no, umount takes only 1 parameter, either the device or the mount point.

L.

-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \




More information about the linux-lvm mailing list