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

Re: [linux-lvm] using LVM with SAN



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 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 comedia it
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \


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