- root@yoda:~# grep drbd /etc/lvm/lvm.conf
- filter = [ "a|drbd[0-9].*|", "a|md[0-9].*|", "r|.*|" ]
- root@yoda:~# vgscan
- Reading all physical volumes. This may take a while...
- Found volume group "yoda" using metadata type lvm2
- root@yoda:~# ls -l /dev/drbd0
- brw-rw---- 1 root disk 147, 0 15 jul 12.59 /dev/drbd0
- root@yoda:~# pvcreate /dev/drbd0
- Device /dev/drbd0 not found (or ignored by filtering).
- root@yoda:~# pvdisplay
- --- Physical volume ---
- PV Name /dev/md0
- VG Name yoda
- PV Size 3,64 TiB / not usable 0
- Allocatable yes
- PE Size 4,00 MiB
- Total PE 953866
- Free PE 682186
- Allocated PE 271680
- PV UUID SGxNtC-J2sj-x1GF-DqsT-nrjv-QoaW-V2GjVK
SHARE
TWEET
lvm filter
a guest
Jul 15th, 2012
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

