Found duplicate PV on EMC PowerPath with LVM


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

I just encountered the following problem whenever the contractor
changing shared storage interface from iSCSi to Fibre.

[root@host02 ~]# pvscan
  connect() failed on local socket: Connection refused
  Internal cluster locking initialisation failed.
  WARNING: Falling back to local file-based locking.
  Volume Groups with the clustered attribute will be inaccessible.
  Found duplicate PV UlXB5PMbvvXYazRccMpWfzmuSVTWBb2u: using /dev/sdb not /dev/emcpowera
  Found duplicate PV ur3SuzZM4HqsZBWNktbxuQCH3QHFfjNa: using /dev/emcpowerc not /dev/sdc
  Found duplicate PV oriPPwcCIQJESQob8qO0sZ2D2T4jE8ru: using /dev/emcpowerd not /dev/sdd
  Found duplicate PV gM1WHFoDXVdJdKx6d26ndris2nqpnyZg: using /dev/sde not /dev/emcpowerb
  Found duplicate PV UlXB5PMbvvXYazRccMpWfzmuSVTWBb2u: using /dev/sdf not /dev/sdb
  Found duplicate PV ur3SuzZM4HqsZBWNktbxuQCH3QHFfjNa: using /dev/sdg not /dev/emcpowerc
  Found duplicate PV oriPPwcCIQJESQob8qO0sZ2D2T4jE8ru: using /dev/sdh not /dev/emcpowerd
  Found duplicate PV gM1WHFoDXVdJdKx6d26ndris2nqpnyZg: using /dev/sdi not /dev/sde
  PV /dev/sdf    VG sas_vg       lvm2 [1024.00 GB / 0    free]
  PV /dev/sdg    VG sas_vg       lvm2 [1024.00 GB / 0    free]
  PV /dev/sdh    VG sas_vg       lvm2 [1024.00 GB / 0    free]
  PV /dev/sdi    VG sas_vg       lvm2 [1024.00 GB / 511.98 GB free]
  PV /dev/sda2   VG VolGroup00   lvm2 [135.84 GB / 0    free]
  Total: 5 [4.13 TB] / in use: 5 [4.13 TB] / in no VG: 0 [0   ]
[root@host02 ~]#


to fix above.. and enable for usage..

edit the /etc/lvm/lvm.conf

search for filter.

    # A filter that tells LVM2 to only use a restricted set of devices.
    # The filter consists of an array of regular expressions.  These
    # expressions can be delimited by a character of your choice, and
    # prefixed with either an 'a' (for accept) or 'r' (for reject).
    # The first expression found to match a device name determines if
    # the device will be accepted or rejected (ignored).  Devices that
    # don't match any patterns are accepted.
 
    # Be careful if there there are symbolic links or multiple filesystem
    # entries for the same device as each name is checked separately against
    # the list of patterns.  The effect is that if any name matches any 'a'
    # pattern, the device is accepted; otherwise if any name matches any 'r'
    # pattern it is rejected; otherwise it is accepted.
 
    # Don't have more than one filter line active at once: only one gets used.
 
    # Run vgscan after you change this parameter to ensure that
    # the cache file gets regenerated (see below).
    # If it doesn't do what you expect, check the output of 'vgscan -vvvv'.
 
 
    # By default we accept every block device:
    filter = [ "a/.*/" ]

change the line

filter= ["a/.*/"]

to something like.

    filter = [ "a/sda[1-9]$/" "a/emcpower.*/" "r/.*/" ]


then run the following to re-scan..

vgscan -vvvv

done.. !

[root@host02 ~]# vgscan -vvv
        Processing: vgscan -vvv
        O_DIRECT will be used
      Setting global/locking_type to 3
      Setting global/wait_for_locks to 1
      Cluster locking selected.
  connect() failed on local socket: Connection refused
  Internal cluster locking initialisation failed.
      Setting global/fallback_to_local_locking to 1
      locking/fallback_to_local_locking not found in config: defaulting to 1
  WARNING: Falling back to local file-based locking.
  Volume Groups with the clustered attribute will be inaccessible.
      Setting global/locking_dir to /var/lock/lvm
      Locking /var/lock/lvm/P_global WB
        _do_flock /var/lock/lvm/P_global:aux WB
        _do_flock /var/lock/lvm/P_global WB
        _undo_flock /var/lock/lvm/P_global:aux
        dm version   OF   [16384]
        dm status   (253:0) OF   [16384]
        /dev/root: Skipping (regex)
        dm status   (253:1) OF   [16384]
        /dev/VolGroup00/LogVol01: Skipping (regex)
        dm status   (253:2) OF   [16384]
        /dev/sas_vg/sas_lv: Skipping (regex)
    Wiping cache of LVM-capable devices
        /dev/autofs: Not a block device
        /dev/bus/usb/001/001: Not a block device
        /dev/bus/usb/002/001: Not a block device
        /dev/bus/usb/003/001: Not a block device
        /dev/bus/usb/004/001: Not a block device
        /dev/bus/usb/005/001: Not a block device
        /dev/bus/usb/005/002: Not a block device
        /dev/bus/usb/006/001: Not a block device
        /dev/bus/usb/007/001: Not a block device
        /dev/bus/usb/007/002: Not a block device
        /dev/bus/usb/007/003: Not a block device
        /dev/cdrom: Added to device cache
        /dev/cdrom-hda: Aliased to /dev/cdrom in device cache
        /dev/cdrw: Aliased to /dev/cdrom in device cache
        /dev/cdrw-hda: Aliased to /dev/cdrom in device cache
        /dev/cdwriter: Aliased to /dev/cdrom in device cache
        /dev/cdwriter-hda: Aliased to /dev/cdrom in device cache
        /dev/console: Not a block device
        /dev/core: Not a block device
        /dev/cpu/0/cpuid: Not a block device
        /dev/cpu/0/msr: Not a block device
        /dev/cpu/1/cpuid: Not a block device
        /dev/cpu/1/msr: Not a block device
        /dev/cpu/10/cpuid: Not a block device
        /dev/cpu/10/msr: Not a block device
        /dev/cpu/11/cpuid: Not a block device
        /dev/cpu/11/msr: Not a block device
        /dev/cpu/2/cpuid: Not a block device
        /dev/cpu/2/msr: Not a block device
        /dev/cpu/3/cpuid: Not a block device
        /dev/cpu/3/msr: Not a block device
        /dev/cpu/4/cpuid: Not a block device
        /dev/cpu/4/msr: Not a block device
        /dev/cpu/5/cpuid: Not a block device
        /dev/cpu/5/msr: Not a block device
        /dev/cpu/6/cpuid: Not a block device
        /dev/cpu/6/msr: Not a block device
        /dev/cpu/7/cpuid: Not a block device
        /dev/cpu/7/msr: Not a block device
        /dev/cpu/8/cpuid: Not a block device
        /dev/cpu/8/msr: Not a block device
        /dev/cpu/9/cpuid: Not a block device
        /dev/cpu/9/msr: Not a block device
        /dev/disk/by-id/ata-MATSHITADVD-RAM_UJ8A0_YK66_019484: Aliased to /dev/cdrom in device cache
        /dev/disk/by-id/scsi-3600601604c602d008cb98dfdff0ae111: Already in device cache
        /dev/disk/by-id/scsi-3600601604c602d008db98dfdff0ae111: Already in device cache
        /dev/disk/by-id/scsi-3600601604c602d008eb98dfdff0ae111: Already in device cache
        /dev/disk/by-id/scsi-3600601604c602d008fb98dfdff0ae111: Already in device cache
        /dev/disk/by-id/scsi-3600605b003653b70164b94a015de6431: Added to device cache
        /dev/disk/by-id/scsi-3600605b003653b70164b94a015de6431-part1: Already in device cache
        /dev/disk/by-id/scsi-3600605b003653b70164b94a015de6431-part2: Already in device cache
        /dev/disk/by-label/boot: Already in device cache
        /dev/disk/by-path/ide-0:0: Aliased to /dev/cdrom in device cache
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0: Aliased to /dev/disk/by-id/scsi-3600605b003653b70164b94a015de6431 in device cache
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0-part1: Already in device cache
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0-part2: Already in device cache
        /dev/disk/by-path/pci-0000:1f:00.0-fc-0x500601613ea02089:0x0000000000000000: Already in device cache
        /dev/disk/by-path/pci-0000:1f:00.0-fc-0x500601613ea02089:0x0001000000000000: Already in device cache
        /dev/disk/by-path/pci-0000:1f:00.0-fc-0x500601613ea02089:0x0002000000000000: Already in device cache
        /dev/disk/by-path/pci-0000:1f:00.0-fc-0x500601613ea02089:0x0003000000000000: Already in device cache
        /dev/disk/by-path/pci-0000:1f:00.0-fc-0x500601693ea02089:0x0000000000000000: Already in device cache
        /dev/disk/by-path/pci-0000:1f:00.0-fc-0x500601693ea02089:0x0001000000000000: Already in device cache
        /dev/disk/by-path/pci-0000:1f:00.0-fc-0x500601693ea02089:0x0002000000000000: Already in device cache
        /dev/disk/by-path/pci-0000:1f:00.0-fc-0x500601693ea02089:0x0003000000000000: Already in device cache
        /dev/disk/by-uuid/dd6a979d-c4ad-4308-afb8-fb2c97198ccb: Already in device cache
        /dev/dvd: Aliased to /dev/cdrom in device cache
        /dev/dvd-hda: Aliased to /dev/cdrom in device cache
        /dev/dvdrw: Aliased to /dev/cdrom in device cache
        /dev/dvdrw-hda: Aliased to /dev/cdrom in device cache
        /dev/dvdwriter: Aliased to /dev/cdrom in device cache
        /dev/dvdwriter-hda: Aliased to /dev/cdrom in device cache
        /dev/emcpower: Not a block device
        /dev/emcpowera: Already in device cache
        /dev/emcpowerb: Already in device cache
        /dev/emcpowerc: Already in device cache
        /dev/emcpowerd: Already in device cache
        /dev/fd: Symbolic link to directory
        /dev/full: Not a block device
        /dev/gpmctl: Not a block device
        /dev/hda: Aliased to /dev/cdrom in device cache
        /dev/hpet: Not a block device
        /dev/initctl: Not a block device
        /dev/input/event0: Not a block device
        /dev/input/event1: Not a block device
        /dev/input/event2: Not a block device
        /dev/input/event3: Not a block device
        /dev/input/event4: Not a block device
        /dev/input/js0: Not a block device
        /dev/input/mice: Not a block device
        /dev/input/mouse0: Not a block device
        /dev/input/mouse1: Not a block device
        /dev/ipmi0: Not a block device
        /dev/js0: Not a block device
        /dev/kmsg: Not a block device
        /dev/log: Not a block device
        /dev/loop0: Added to device cache
        /dev/loop1: Added to device cache
        /dev/loop2: Added to device cache
        /dev/loop3: Added to device cache
        /dev/loop4: Added to device cache
        /dev/loop5: Added to device cache
        /dev/loop6: Added to device cache
        /dev/loop7: Added to device cache
        /dev/MAKEDEV: Not a block device
        /dev/mapper/control: Not a block device
        /dev/mapper/sas_vg-sas_lv: Already in device cache
        /dev/mapper/VolGroup00-LogVol00: Already in device cache
        /dev/mapper/VolGroup00-LogVol01: Already in device cache
        /dev/mcelog: Not a block device
        /dev/md0: Added to device cache
        /dev/mem: Not a block device
        /dev/net/tun: Not a block device
        /dev/null: Not a block device
        /dev/nvram: Not a block device
        /dev/oldmem: Not a block device
        /dev/parport0: Not a block device
        /dev/parport1: Not a block device
        /dev/parport2: Not a block device
        /dev/parport3: Not a block device
        /dev/port: Not a block device
        /dev/ppp: Not a block device
        /dev/ptmx: Not a block device
        /dev/pts/1: Not a block device
        /dev/ram: Already in device cache
        /dev/ram0: Already in device cache
        /dev/ram1: Already in device cache
        /dev/ram10: Already in device cache
        /dev/ram11: Already in device cache
        /dev/ram12: Already in device cache
        /dev/ram13: Already in device cache
        /dev/ram14: Already in device cache
        /dev/ram15: Already in device cache
        /dev/ram2: Already in device cache
        /dev/ram3: Already in device cache
        /dev/ram4: Already in device cache
        /dev/ram5: Already in device cache
        /dev/ram6: Already in device cache
        /dev/ram7: Already in device cache
        /dev/ram8: Already in device cache
        /dev/ram9: Already in device cache
        /dev/ramdisk: Already in device cache
        /dev/random: Not a block device
        /dev/rawctl: Not a block device
        /dev/root: Already in device cache
        /dev/rtc: Not a block device
        /dev/sas_vg/sas_lv: Already in device cache
        /dev/sda: Aliased to /dev/disk/by-id/scsi-3600605b003653b70164b94a015de6431 in device cache (preferred name)
        /dev/sda1: Already in device cache
        /dev/sda2: Already in device cache
        /dev/sdb: Already in device cache
        /dev/sdc: Already in device cache
        /dev/sdd: Already in device cache
        /dev/sde: Already in device cache
        /dev/sdf: Already in device cache
        /dev/sdg: Already in device cache
        /dev/sdh: Already in device cache
        /dev/sdi: Already in device cache
        /dev/sg0: Not a block device
        /dev/sg1: Not a block device
        /dev/sg2: Not a block device
        /dev/sg3: Not a block device
        /dev/sg4: Not a block device
        /dev/sg5: Not a block device
        /dev/sg6: Not a block device
        /dev/sg7: Not a block device
        /dev/sg8: Not a block device
        /dev/snapshot: Not a block device
        /dev/stderr: Not a block device
        /dev/stdin: Not a block device
        /dev/stdout: Not a block device
        /dev/systty: Not a block device
        /dev/tpm0: Not a block device
        /dev/tty: Not a block device
        /dev/tty0: Not a block device
        /dev/tty1: Not a block device
        /dev/tty10: Not a block device
        /dev/tty11: Not a block device
        /dev/tty12: Not a block device
        /dev/tty13: Not a block device
        /dev/tty14: Not a block device
        /dev/tty15: Not a block device
        /dev/tty16: Not a block device
        /dev/tty17: Not a block device
        /dev/tty18: Not a block device
        /dev/tty19: Not a block device
        /dev/tty2: Not a block device
        /dev/tty20: Not a block device
        /dev/tty21: Not a block device
        /dev/tty22: Not a block device
        /dev/tty23: Not a block device
        /dev/tty24: Not a block device
        /dev/tty25: Not a block device
        /dev/tty26: Not a block device
        /dev/tty27: Not a block device
        /dev/tty28: Not a block device
        /dev/tty29: Not a block device
        /dev/tty3: Not a block device
        /dev/tty30: Not a block device
        /dev/tty31: Not a block device
        /dev/tty32: Not a block device
        /dev/tty33: Not a block device
        /dev/tty34: Not a block device
        /dev/tty35: Not a block device
        /dev/tty36: Not a block device
        /dev/tty37: Not a block device
        /dev/tty38: Not a block device
        /dev/tty39: Not a block device
        /dev/tty4: Not a block device
        /dev/tty40: Not a block device
        /dev/tty41: Not a block device
        /dev/tty42: Not a block device
        /dev/tty43: Not a block device
        /dev/tty44: Not a block device
        /dev/tty45: Not a block device
        /dev/tty46: Not a block device
        /dev/tty47: Not a block device
        /dev/tty48: Not a block device
        /dev/tty49: Not a block device
        /dev/tty5: Not a block device
        /dev/tty50: Not a block device
        /dev/tty51: Not a block device
        /dev/tty52: Not a block device
        /dev/tty53: Not a block device
        /dev/tty54: Not a block device
        /dev/tty55: Not a block device
        /dev/tty56: Not a block device
        /dev/tty57: Not a block device
        /dev/tty58: Not a block device
        /dev/tty59: Not a block device
        /dev/tty6: Not a block device
        /dev/tty60: Not a block device
        /dev/tty61: Not a block device
        /dev/tty62: Not a block device
        /dev/tty63: Not a block device
        /dev/tty7: Not a block device
        /dev/tty8: Not a block device
        /dev/tty9: Not a block device
        /dev/ttyS0: Not a block device
        /dev/ttyS1: Not a block device
        /dev/ttyS2: Not a block device
        /dev/ttyS3: Not a block device
        /dev/urandom: Not a block device
        /dev/usbdev1.1_ep00: Not a block device
        /dev/usbdev1.1_ep81: Not a block device
        /dev/usbdev2.1_ep00: Not a block device
        /dev/usbdev2.1_ep81: Not a block device
        /dev/usbdev3.1_ep00: Not a block device
        /dev/usbdev3.1_ep81: Not a block device
        /dev/usbdev4.1_ep00: Not a block device
        /dev/usbdev4.1_ep81: Not a block device
        /dev/usbdev5.1_ep00: Not a block device
        /dev/usbdev5.1_ep81: Not a block device
        /dev/usbdev5.2_ep00: Not a block device
        /dev/usbdev5.2_ep01: Not a block device
        /dev/usbdev5.2_ep81: Not a block device
        /dev/usbdev5.2_ep82: Not a block device
        /dev/usbdev6.1_ep00: Not a block device
        /dev/usbdev6.1_ep81: Not a block device
        /dev/usbdev7.1_ep00: Not a block device
        /dev/usbdev7.1_ep81: Not a block device
        /dev/usbdev7.2_ep00: Not a block device
        /dev/usbdev7.2_ep81: Not a block device
        /dev/usbdev7.3_ep00: Not a block device
        /dev/usbdev7.3_ep81: Not a block device
        /dev/usbdev7.3_ep82: Not a block device
        /dev/usbdev7.3_ep83: Not a block device
        /dev/usbdev7.3_ep84: Not a block device
        /dev/vcs: Not a block device
        /dev/vcs2: Not a block device
        /dev/vcs3: Not a block device
        /dev/vcs4: Not a block device
        /dev/vcs5: Not a block device
        /dev/vcs6: Not a block device
        /dev/vcs7: Not a block device
        /dev/vcs8: Not a block device
        /dev/vcsa: Not a block device
        /dev/vcsa2: Not a block device
        /dev/vcsa3: Not a block device
        /dev/vcsa4: Not a block device
        /dev/vcsa5: Not a block device
        /dev/vcsa6: Not a block device
        /dev/vcsa7: Not a block device
        /dev/vcsa8: Not a block device
        /dev/VolGroup00/LogVol00: Already in device cache
        /dev/VolGroup00/LogVol01: Already in device cache
        /dev/X0R: Not a block device
        /dev/zero: Not a block device
    Wiping internal VG cache
        lvmcache: initialised VG #orphans_lvm1
        lvmcache: initialised VG #orphans_pool
        lvmcache: initialised VG #orphans_lvm2
  Reading all physical volumes.  This may take a while...
    Finding all volume groups
        /dev/ramdisk: Skipping (regex)
        /dev/cdrom: Skipping (regex)
        /dev/loop0: Skipping (sysfs)
        /dev/sda: Skipping (regex)
        /dev/md0: Skipping (regex)
        Opened /dev/emcpowera RO
      /dev/emcpowera: size is 2147483648 sectors
        /dev/emcpowera: block size is 4096 bytes
        Closed /dev/emcpowera
      /dev/emcpowera: size is 2147483648 sectors
        Opened /dev/emcpowera RO O_DIRECT
        /dev/emcpowera: block size is 4096 bytes
        Closed /dev/emcpowera
        Using /dev/emcpowera
        Opened /dev/emcpowera RO O_DIRECT
        /dev/emcpowera: block size is 4096 bytes
      /dev/emcpowera: lvm2 label detected
        lvmcache: /dev/emcpowera: now in VG #orphans_lvm2 (#orphans_lvm2)
        /dev/emcpowera: Found metadata at 13312 size 1818 (in area at 4096 size 192512) for sas_vg (yv4H6K-KV0Y-Xl1T-FO1n-8Ecy-uZGw-wme79z)
        lvmcache: /dev/emcpowera: now in VG sas_vg with 1 mdas
        lvmcache: /dev/emcpowera: setting sas_vg VGID to yv4H6KKV0YXl1TFO1n8EcyuZGwwme79z
        lvmcache: /dev/emcpowera: VG sas_vg: Set creation host to pdb02.
        Closed /dev/emcpowera
        dm status   (253:0) OF   [16384]
        /dev/root: Skipping (regex)
        /dev/ram: Skipping (regex)
        /dev/loop1: Skipping (sysfs)
        Opened /dev/sda1 RO
      /dev/sda1: size is 208782 sectors
        Closed /dev/sda1
      /dev/sda1: size is 208782 sectors
        Opened /dev/sda1 RO O_DIRECT
        /dev/sda1: block size is 1024 bytes
        Closed /dev/sda1
        Using /dev/sda1
        Opened /dev/sda1 RO O_DIRECT
        /dev/sda1: block size is 1024 bytes
      /dev/sda1: No label detected
        Closed /dev/sda1
        dm status   (253:1) OF   [16384]
        /dev/VolGroup00/LogVol01: Skipping (regex)
        /dev/ram2: Skipping (regex)
        /dev/loop2: Skipping (sysfs)
        Opened /dev/sda2 RO
      /dev/sda2: size is 284944905 sectors
        Closed /dev/sda2
      /dev/sda2: size is 284944905 sectors
        Opened /dev/sda2 RO O_DIRECT
        /dev/sda2: block size is 512 bytes
        Closed /dev/sda2
        Using /dev/sda2
        Opened /dev/sda2 RO O_DIRECT
        /dev/sda2: block size is 512 bytes
      /dev/sda2: lvm2 label detected
        lvmcache: /dev/sda2: now in VG #orphans_lvm2 (#orphans_lvm2)
        /dev/sda2: Found metadata at 6656 size 1225 (in area at 4096 size 192512) for VolGroup00 (Gk6X5k-I72t-a1KG-AWkj-zT9c-rrGt-KD49Jv)
        lvmcache: /dev/sda2: now in VG VolGroup00 with 1 mdas
        lvmcache: /dev/sda2: setting VolGroup00 VGID to Gk6X5kI72ta1KGAWkjzT9crrGtKD49Jv
        lvmcache: /dev/sda2: VG VolGroup00: Set creation host to localhost.localdomain.
        Closed /dev/sda2
        dm status   (253:2) OF   [16384]
        /dev/sas_vg/sas_lv: Skipping (regex)
        /dev/ram3: Skipping (regex)
        /dev/loop3: Skipping (sysfs)
        /dev/ram4: Skipping (regex)
        /dev/loop4: Skipping (sysfs)
        /dev/ram5: Skipping (regex)
        /dev/loop5: Skipping (sysfs)
        /dev/ram6: Skipping (regex)
        /dev/loop6: Skipping (sysfs)
        /dev/ram7: Skipping (regex)
        /dev/loop7: Skipping (sysfs)
        /dev/ram8: Skipping (regex)
        /dev/ram9: Skipping (regex)
        /dev/ram10: Skipping (regex)
        /dev/ram11: Skipping (regex)
        /dev/ram12: Skipping (regex)
        /dev/ram13: Skipping (regex)
        /dev/ram14: Skipping (regex)
        /dev/ram15: Skipping (regex)
        /dev/sdb: Skipping (regex)
        Opened /dev/emcpowerb RO
      /dev/emcpowerb: size is 2147483648 sectors
        /dev/emcpowerb: block size is 4096 bytes
        Closed /dev/emcpowerb
      /dev/emcpowerb: size is 2147483648 sectors
        Opened /dev/emcpowerb RO O_DIRECT
        /dev/emcpowerb: block size is 4096 bytes
        Closed /dev/emcpowerb
        Using /dev/emcpowerb
        Opened /dev/emcpowerb RO O_DIRECT
        /dev/emcpowerb: block size is 4096 bytes
      /dev/emcpowerb: lvm2 label detected
        lvmcache: /dev/emcpowerb: now in VG #orphans_lvm2 (#orphans_lvm2)
        /dev/emcpowerb: Found metadata at 13312 size 1818 (in area at 4096 size 192512) for sas_vg (yv4H6K-KV0Y-Xl1T-FO1n-8Ecy-uZGw-wme79z)
        lvmcache: /dev/emcpowerb: now in VG sas_vg (yv4H6KKV0YXl1TFO1n8EcyuZGwwme79z) with 1 mdas
        Closed /dev/emcpowerb
        /dev/sdc: Skipping (regex)
        Opened /dev/emcpowerc RO
      /dev/emcpowerc: size is 2147483648 sectors
        /dev/emcpowerc: block size is 4096 bytes
        Closed /dev/emcpowerc
      /dev/emcpowerc: size is 2147483648 sectors
        Opened /dev/emcpowerc RO O_DIRECT
        /dev/emcpowerc: block size is 4096 bytes
        Closed /dev/emcpowerc
        Using /dev/emcpowerc
        Opened /dev/emcpowerc RO O_DIRECT
        /dev/emcpowerc: block size is 4096 bytes
      /dev/emcpowerc: lvm2 label detected
        lvmcache: /dev/emcpowerc: now in VG #orphans_lvm2 (#orphans_lvm2)
        /dev/emcpowerc: Found metadata at 13312 size 1818 (in area at 4096 size 192512) for sas_vg (yv4H6K-KV0Y-Xl1T-FO1n-8Ecy-uZGw-wme79z)
        lvmcache: /dev/emcpowerc: now in VG sas_vg (yv4H6KKV0YXl1TFO1n8EcyuZGwwme79z) with 1 mdas
        Closed /dev/emcpowerc
        /dev/sdd: Skipping (regex)
        Opened /dev/emcpowerd RO
      /dev/emcpowerd: size is 2147483648 sectors
        /dev/emcpowerd: block size is 4096 bytes
        Closed /dev/emcpowerd
      /dev/emcpowerd: size is 2147483648 sectors
        Opened /dev/emcpowerd RO O_DIRECT
        /dev/emcpowerd: block size is 4096 bytes
        Closed /dev/emcpowerd
        Using /dev/emcpowerd
        Opened /dev/emcpowerd RO O_DIRECT
        /dev/emcpowerd: block size is 4096 bytes
      /dev/emcpowerd: lvm2 label detected
        lvmcache: /dev/emcpowerd: now in VG #orphans_lvm2 (#orphans_lvm2)
        /dev/emcpowerd: Found metadata at 13312 size 1818 (in area at 4096 size 192512) for sas_vg (yv4H6K-KV0Y-Xl1T-FO1n-8Ecy-uZGw-wme79z)
        lvmcache: /dev/emcpowerd: now in VG sas_vg (yv4H6KKV0YXl1TFO1n8EcyuZGwwme79z) with 1 mdas
        Closed /dev/emcpowerd
        /dev/sde: Skipping (regex)
        /dev/sdf: Skipping (regex)
        /dev/sdg: Skipping (regex)
        /dev/sdh: Skipping (regex)
        /dev/sdi: Skipping (regex)
    Finding volume group "VolGroup00"
      Locking /var/lock/lvm/V_VolGroup00 RB
        _do_flock /var/lock/lvm/V_VolGroup00:aux WB
        _undo_flock /var/lock/lvm/V_VolGroup00:aux
        _do_flock /var/lock/lvm/V_VolGroup00 RB
        /dev/ramdisk: Skipping (cached)
        /dev/cdrom: Skipping (cached)
        /dev/loop0: Skipping (cached)
        /dev/sda: Skipping (cached)
        /dev/md0: Skipping (cached)
        dm status   (253:0) OF   [16384]
        /dev/root: Skipping (regex)
        /dev/ram: Skipping (cached)
        /dev/loop1: Skipping (cached)
        dm status   (253:1) OF   [16384]
        /dev/VolGroup00/LogVol01: Skipping (regex)
        /dev/ram2: Skipping (cached)
        /dev/loop2: Skipping (cached)
        dm status   (253:2) OF   [16384]
        /dev/sas_vg/sas_lv: Skipping (regex)
        /dev/ram3: Skipping (cached)
        /dev/loop3: Skipping (cached)
        /dev/ram4: Skipping (cached)
        /dev/loop4: Skipping (cached)
        /dev/ram5: Skipping (cached)
        /dev/loop5: Skipping (cached)
        /dev/ram6: Skipping (cached)
        /dev/loop6: Skipping (cached)
        /dev/ram7: Skipping (cached)
        /dev/loop7: Skipping (cached)
        /dev/ram8: Skipping (cached)
        /dev/ram9: Skipping (cached)
        /dev/ram10: Skipping (cached)
        /dev/ram11: Skipping (cached)
        /dev/ram12: Skipping (cached)
        /dev/ram13: Skipping (cached)
        /dev/ram14: Skipping (cached)
        /dev/ram15: Skipping (cached)
        /dev/sdb: Skipping (cached)
        /dev/sdc: Skipping (cached)
        /dev/sdd: Skipping (cached)
        /dev/sde: Skipping (cached)
        /dev/sdf: Skipping (cached)
        /dev/sdg: Skipping (cached)
        /dev/sdh: Skipping (cached)
        /dev/sdi: Skipping (cached)
        Using cached label for /dev/sda2
        Opened /dev/sda2 RO O_DIRECT
        /dev/sda2: block size is 512 bytes
        Using cached label for /dev/sda2
        Read VolGroup00 metadata (3) from /dev/sda2 at 6656 size 1225
        /dev/sda2 0:      0   3911: LogVol00(0:0)
        /dev/sda2 1:   3911    436: LogVol01(0:0)
  Found volume group "VolGroup00" using metadata type lvm2
      Unlocking /var/lock/lvm/V_VolGroup00
        _undo_flock /var/lock/lvm/V_VolGroup00
        Closed /dev/sda2
        /dev/ramdisk: Skipping (cached)
        /dev/cdrom: Skipping (cached)
        /dev/loop0: Skipping (cached)
        /dev/sda: Skipping (cached)
        /dev/md0: Skipping (cached)
        dm status   (253:0) OF   [16384]
        /dev/root: Skipping (regex)
        /dev/ram: Skipping (cached)
        /dev/loop1: Skipping (cached)
        dm status   (253:1) OF   [16384]
        /dev/VolGroup00/LogVol01: Skipping (regex)
        /dev/ram2: Skipping (cached)
        /dev/loop2: Skipping (cached)
        dm status   (253:2) OF   [16384]
        /dev/sas_vg/sas_lv: Skipping (regex)
        /dev/ram3: Skipping (cached)
        /dev/loop3: Skipping (cached)
        /dev/ram4: Skipping (cached)
        /dev/loop4: Skipping (cached)
        /dev/ram5: Skipping (cached)
        /dev/loop5: Skipping (cached)
        /dev/ram6: Skipping (cached)
        /dev/loop6: Skipping (cached)
        /dev/ram7: Skipping (cached)
        /dev/loop7: Skipping (cached)
        /dev/ram8: Skipping (cached)
        /dev/ram9: Skipping (cached)
        /dev/ram10: Skipping (cached)
        /dev/ram11: Skipping (cached)
        /dev/ram12: Skipping (cached)
        /dev/ram13: Skipping (cached)
        /dev/ram14: Skipping (cached)
        /dev/ram15: Skipping (cached)
        /dev/sdb: Skipping (cached)
        /dev/sdc: Skipping (cached)
        /dev/sdd: Skipping (cached)
        /dev/sde: Skipping (cached)
        /dev/sdf: Skipping (cached)
        /dev/sdg: Skipping (cached)
        /dev/sdh: Skipping (cached)
        /dev/sdi: Skipping (cached)
    Finding volume group "sas_vg"
      Locking /var/lock/lvm/V_sas_vg RB
        _do_flock /var/lock/lvm/V_sas_vg:aux WB
        _undo_flock /var/lock/lvm/V_sas_vg:aux
        _do_flock /var/lock/lvm/V_sas_vg RB
        /dev/ramdisk: Skipping (cached)
        /dev/cdrom: Skipping (cached)
        /dev/loop0: Skipping (cached)
        /dev/sda: Skipping (cached)
        /dev/md0: Skipping (cached)
        dm status   (253:0) OF   [16384]
        /dev/root: Skipping (regex)
        /dev/ram: Skipping (cached)
        /dev/loop1: Skipping (cached)
        dm status   (253:1) OF   [16384]
        /dev/VolGroup00/LogVol01: Skipping (regex)
        /dev/ram2: Skipping (cached)
        /dev/loop2: Skipping (cached)
        dm status   (253:2) OF   [16384]
        /dev/sas_vg/sas_lv: Skipping (regex)
        /dev/ram3: Skipping (cached)
        /dev/loop3: Skipping (cached)
        /dev/ram4: Skipping (cached)
        /dev/loop4: Skipping (cached)
        /dev/ram5: Skipping (cached)
        /dev/loop5: Skipping (cached)
        /dev/ram6: Skipping (cached)
        /dev/loop6: Skipping (cached)
        /dev/ram7: Skipping (cached)
        /dev/loop7: Skipping (cached)
        /dev/ram8: Skipping (cached)
        /dev/ram9: Skipping (cached)
        /dev/ram10: Skipping (cached)
        /dev/ram11: Skipping (cached)
        /dev/ram12: Skipping (cached)
        /dev/ram13: Skipping (cached)
        /dev/ram14: Skipping (cached)
        /dev/ram15: Skipping (cached)
        /dev/sdb: Skipping (cached)
        /dev/sdc: Skipping (cached)
        /dev/sdd: Skipping (cached)
        /dev/sde: Skipping (cached)
        /dev/sdf: Skipping (cached)
        /dev/sdg: Skipping (cached)
        /dev/sdh: Skipping (cached)
        /dev/sdi: Skipping (cached)
        Using cached label for /dev/emcpowera
        Using cached label for /dev/emcpowerb
        Using cached label for /dev/emcpowerc
        Using cached label for /dev/emcpowerd
        Opened /dev/emcpowera RO O_DIRECT
        /dev/emcpowera: block size is 4096 bytes
        Using cached label for /dev/emcpowera
        Using cached label for /dev/emcpowerc
        Using cached label for /dev/emcpowerd
        Using cached label for /dev/emcpowerb
        Read sas_vg metadata (6) from /dev/emcpowera at 13312 size 1818
        Opened /dev/emcpowerb RO O_DIRECT
        /dev/emcpowerb: block size is 4096 bytes
        Using cached label for /dev/emcpowera
        Using cached label for /dev/emcpowerc
        Using cached label for /dev/emcpowerd
        Using cached label for /dev/emcpowerb
        Read sas_vg metadata (6) from /dev/emcpowerb at 13312 size 1818
        Opened /dev/emcpowerc RO O_DIRECT
        /dev/emcpowerc: block size is 4096 bytes
        Using cached label for /dev/emcpowera
        Using cached label for /dev/emcpowerc
        Using cached label for /dev/emcpowerd
        Using cached label for /dev/emcpowerb
        Read sas_vg metadata (6) from /dev/emcpowerc at 13312 size 1818
        Opened /dev/emcpowerd RO O_DIRECT
        /dev/emcpowerd: block size is 4096 bytes
        Using cached label for /dev/emcpowera
        Using cached label for /dev/emcpowerc
        Using cached label for /dev/emcpowerd
        Using cached label for /dev/emcpowerb
        Read sas_vg metadata (6) from /dev/emcpowerd at 13312 size 1818
        /dev/emcpowera 0:      0 262143: sas_lv(0:0)
        /dev/emcpowerc 0:      0 262143: sas_lv(262143:0)
        /dev/emcpowerd 0:      0 262143: sas_lv(524286:0)
        /dev/emcpowerb 0:      0 131075: sas_lv(786429:0)
        /dev/emcpowerb 1: 131075 131068: NULL(0:0)
  Found volume group "sas_vg" using metadata type lvm2
      Unlocking /var/lock/lvm/V_sas_vg
        _undo_flock /var/lock/lvm/V_sas_vg
        Closed /dev/emcpowera
        Closed /dev/emcpowerb
        Closed /dev/emcpowerc
        Closed /dev/emcpowerd
        /dev/ramdisk: Skipping (cached)
        /dev/cdrom: Skipping (cached)
        /dev/loop0: Skipping (cached)
        /dev/sda: Skipping (cached)
        /dev/md0: Skipping (cached)
        dm status   (253:0) OF   [16384]
        /dev/root: Skipping (regex)
        /dev/ram: Skipping (cached)
        /dev/loop1: Skipping (cached)
        dm status   (253:1) OF   [16384]
        /dev/VolGroup00/LogVol01: Skipping (regex)
        /dev/ram2: Skipping (cached)
        /dev/loop2: Skipping (cached)
        dm status   (253:2) OF   [16384]
        /dev/sas_vg/sas_lv: Skipping (regex)
        /dev/ram3: Skipping (cached)
        /dev/loop3: Skipping (cached)
        /dev/ram4: Skipping (cached)
        /dev/loop4: Skipping (cached)
        /dev/ram5: Skipping (cached)
        /dev/loop5: Skipping (cached)
        /dev/ram6: Skipping (cached)
        /dev/loop6: Skipping (cached)
        /dev/ram7: Skipping (cached)
        /dev/loop7: Skipping (cached)
        /dev/ram8: Skipping (cached)
        /dev/ram9: Skipping (cached)
        /dev/ram10: Skipping (cached)
        /dev/ram11: Skipping (cached)
        /dev/ram12: Skipping (cached)
        /dev/ram13: Skipping (cached)
        /dev/ram14: Skipping (cached)
        /dev/ram15: Skipping (cached)
        /dev/sdb: Skipping (cached)
        /dev/sdc: Skipping (cached)
        /dev/sdd: Skipping (cached)
        /dev/sde: Skipping (cached)
        /dev/sdf: Skipping (cached)
        /dev/sdg: Skipping (cached)
        /dev/sdh: Skipping (cached)
        /dev/sdi: Skipping (cached)
      Unlocking /var/lock/lvm/P_global
        _undo_flock /var/lock/lvm/P_global
        /dev/ramdisk: Skipping (cached)
        /dev/cdrom: Skipping (cached)
        /dev/loop0: Skipping (cached)
        /dev/sda: Skipping (cached)
        /dev/md0: Skipping (cached)
        dm status   (253:0) OF   [16384]
        /dev/root: Skipping (regex)
        /dev/ram: Skipping (cached)
        /dev/loop1: Skipping (cached)
        dm status   (253:1) OF   [16384]
        /dev/VolGroup00/LogVol01: Skipping (regex)
        /dev/ram2: Skipping (cached)
        /dev/loop2: Skipping (cached)
        dm status   (253:2) OF   [16384]
        /dev/sas_vg/sas_lv: Skipping (regex)
        /dev/ram3: Skipping (cached)
        /dev/loop3: Skipping (cached)
        /dev/ram4: Skipping (cached)
        /dev/loop4: Skipping (cached)
        /dev/ram5: Skipping (cached)
        /dev/loop5: Skipping (cached)
        /dev/ram6: Skipping (cached)
        /dev/loop6: Skipping (cached)
        /dev/ram7: Skipping (cached)
        /dev/loop7: Skipping (cached)
        /dev/ram8: Skipping (cached)
        /dev/ram9: Skipping (cached)
        /dev/ram10: Skipping (cached)
        /dev/ram11: Skipping (cached)
        /dev/ram12: Skipping (cached)
        /dev/ram13: Skipping (cached)
        /dev/ram14: Skipping (cached)
        /dev/ram15: Skipping (cached)
        /dev/sdb: Skipping (cached)
        /dev/sdc: Skipping (cached)
        /dev/sdd: Skipping (cached)
        /dev/sde: Skipping (cached)
        /dev/sdf: Skipping (cached)
        /dev/sdg: Skipping (cached)
        /dev/sdh: Skipping (cached)
        /dev/sdi: Skipping (cached)
[root@pdb02 ~]#

done.

result..

yay.. now can proceed..

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *