>>> On 3/17/2011 at 02:09 PM, Rogério Soares<[email protected]> wrote: 
> here is output with de filter suggest by Deric..

>From the looks of this, you didn't modify the scan parameter in 
>/etc/lvm/lvm.conf as he did.  Personally, I don't think what he did was 
>strictly necessary, although it clearly works for him.  If you look at 
>http://www.novell.com/documentation/sles10/stor_admin/?page=/documentation/sles10/stor_admin/data/be5rvii.html
> what we recommend is changing the filter command to this:
filter = [ "a|/dev/disk/by-id/.*|", "r|.*|" ]

If you're also using LVM to manage non-multipathed devices, then you'll need to 
add those back in to the filter.  For example, if you're using this setup:
Filesystem            Size  Used Avail Use% Mounted on
/dev/dasda1           388M   96M  273M  26% /
devtmpfs              248M  112K  247M   1% /dev
tmpfs                 248M     0  248M   0% /dev/shm
/dev/mapper/vg1-home   97M  4.1M   88M   5% /home
/dev/mapper/vg1-opt    74M  4.1M   66M   6% /opt
/dev/mapper/vg1-tmp   291M   48M  229M  18% /tmp
/dev/mapper/vg1-usr   1.3G  1.1G   69M  95% /usr
/dev/mapper/vg1-var   295M   82M  198M  30% /var

# pvs
  PV          VG   Fmt  Attr PSize PFree
  /dev/dasda3 vg1  lvm2 a-   5.98G    0 

Then your filter would also need to include a scan of /dev/dasd*:
filter = [ "a|/dev/disk/by-id/.*|", "a|/dev/dasd.*/.*|", "r|.*|" ]
types = [ "device-mapper", 253 ]

Since your case seems to only be using LVM for the SCSI devices, then the first 
filter I show should be enough:
filter = [ "a|/dev/disk/by-id/.*|", "r|.*|" ]


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to