HP (Hewlett-Packard) t2808-90006 Computer Accessories User Manual


 
Configuring your Environment for Software RAID
Creating Volume Groups and Configuring VG Exclusive Activation on the MD Mirror
Chapter 3 75
Found duplicate PV 9w3TIxKZ6lFRqWUmQm9tlV5nsdUkTi4i: using
/dev/sde not /dev/sdf
With this error, you cannot create a new volume group on /dev/md0. As a
result, you must create a filter for LVM. To create a filter, add the
following line in the /etc/lvm/lvm.conf file:
filter = [ "r|/dev/cdrom|","r|/dev/hpdev/md0_mirror0|",
"r|/dev/hpdev/md0_mirror1|" ]
where /dev/hpdev/md0_mirror0 and /dev/hpdev/md0_mirror1 are the
persistent device names of the devices /dev/sde and /dev/sdf
respectively.
NOTE When adding the filter, ensure that you use the persistent names of all
the devices used in the mirrors.
This prevents these mirror devices from being scanned or used for logical
volumes. You have to reload LVM with /etc/init.d/lvm
force-reload.
Once you add the filter to the /etc/lvm/lvm.conf file, create the logical
volume infrastructure on the MD mirror device as you would on a single
disk. For more information on creating volume groups and logical
volumes, see the latest edition of the Managing HP Serviceguard 11.16
for Linux at http://docs.hp.com/en/ha.html#Serviceguard for
Linux