[root@lnx02 ~]# pvcreate /dev/sdb
Device /dev/sdb not found (or ignored by filtering).
[root@lnx02 ~]# cat /etc/*-release
CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:ce
ntos:7"
HOME_URL="
https://www.centos.org/"
BUG_REPORT_URL="
https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="C
entOS-7"
CENTOS_MANTISBT_PROJECT_VE
RSION="7"
REDHAT_SUPPORT_PRODUCT="ce
ntos"
REDHAT_SUPPORT_PRODUCT_VER
SION="7"
CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)
DEGRADED MODE. Incomplete RAID LVs will be processed.
Setting activation/monitoring to 1
Processing: pvcreate -vvv /dev/sdb
Command pid: 14307
system ID:
O_DIRECT will be used
Setting global/locking_type to 1
Setting global/wait_for_locks to 1
File-based locking selected.
Setting global/prioritise_write_lo
Setting global/locking_dir to /run/lock/lvm
Preparing SELinux context for /run/lock/lvm to system_u:object_r:lvm_lock
Resetting SELinux context to default value.
Setting global/use_lvmlockd to 0
Sending lvmetad get_global_info
Setting response to OK
Setting token to filter:3239235440
Setting daemon_pid to 698
Setting response to OK
Setting global_disable to 0
Asking lvmetad for complete list of known PVs
Setting response to OK
Setting response to OK
Setting response to OK
Setting id to v4oqZD-5T0Q-ovsZ-wdRE-rwKq
Setting vgid to 6LQQhv-fxqF-1AUo-yA6v-BBX2
Setting vgname to centos
Setting format to lvm2
Setting device to 2051
Setting dev_size to 145261330432
Setting label_sector to 1
Setting ext_flags to 0
Setting ext_version to 1
/dev/sda: Added to device cache (8:0)
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-path/pci-0000
/dev/sda1: Added to device cache (8:1)
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-partlabel/EFI
/dev/disk/by-partuuid/bfa3
/dev/disk/by-path/pci-0000
/dev/disk/by-uuid/4D75-006
/dev/sda2: Added to device cache (8:2)
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-partuuid/1e60
/dev/disk/by-path/pci-0000
/dev/disk/by-uuid/32016e4c
/dev/sda3: Added to device cache (8:3)
/dev/disk/by-id/lvm-pv-uui
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-partuuid/0bd9
/dev/disk/by-path/pci-0000
/dev/sdb: Added to device cache (8:16)
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-path/pci-0000
/dev/sr0: Added to device cache (11:0)
/dev/cdrom: Aliased to /dev/sr0 in device cache (preferred name) (11:0)
/dev/disk/by-id/ata-MATSHI
/dev/disk/by-path/pci-0000
/dev/dm-0: Added to device cache (253:0)
/dev/centos/swap: Aliased to /dev/dm-0 in device cache (preferred name) (253:0)
/dev/disk/by-id/dm-name-ce
/dev/disk/by-id/dm-uuid-LV
/dev/disk/by-uuid/6e6355de
/dev/mapper/centos-swap: Aliased to /dev/centos/swap in device cache (253:0)
/dev/dm-1: Added to device cache (253:1)
/dev/centos/root: Aliased to /dev/dm-1 in device cache (preferred name) (253:1)
/dev/disk/by-id/dm-name-ce
/dev/disk/by-id/dm-uuid-LV
/dev/disk/by-uuid/b84c17df
/dev/mapper/centos-root: Aliased to /dev/centos/root in device cache (253:1)
/dev/dm-2: Added to device cache (253:2)
/dev/centos/home: Aliased to /dev/dm-2 in device cache (preferred name) (253:2)
/dev/disk/by-id/dm-name-ce
/dev/disk/by-id/dm-uuid-LV
/dev/disk/by-uuid/d1ec3031
/dev/mapper/centos-home: Aliased to /dev/centos/home in device cache (253:2)
lvmcache has no info for vgname "centos" with VGID 6LQQhvfxqF1AUoyA6vBBX27uM5
lvmcache has no info for vgname "centos".
lvmcache /dev/sda3: now in VG centos with 0 mda(s).
lvmcache /dev/sda3: VG centos: set VGID to 6LQQhvfxqF1AUoyA6vBBX27uM5
Setting size to 1044480
Setting start to 4096
Setting ignore to 0
metadata/pvmetadataignore not found in config: defaulting to 0
metadata/pvmetadatasize not found in config: defaulting to 255
metadata/pvmetadatacopies not found in config: defaulting to 1
report/output_format not found in config: defaulting to basic
log/report_command_log not found in config: defaulting to 0
Wiping internal VG cache
lvmcache has no info for vgname "#orphans_lvm1" with VGID #orphans_lvm1.
lvmcache has no info for vgname "#orphans_lvm1".
lvmcache initialised VG #orphans_lvm1.
lvmcache has no info for vgname "#orphans_pool" with VGID #orphans_pool.
lvmcache has no info for vgname "#orphans_pool".
lvmcache initialised VG #orphans_pool.
lvmcache has no info for vgname "#orphans_lvm2" with VGID #orphans_lvm2.
lvmcache has no info for vgname "#orphans_lvm2".
lvmcache initialised VG #orphans_lvm2.
Locking /run/lock/lvm/P_orphans WB
Preparing SELinux context for /run/lock/lvm/P_orphans to system_u:object_r:lvm_lock
_do_flock /run/lock/lvm/P_orphans:au
_do_flock /run/lock/lvm/P_orphans WB
_undo_flock /run/lock/lvm/P_orphans:au
Resetting SELinux context to default value.
lvmcache has no info for vgname "#orphans".
Wiping cache of LVM-capable devices
/dev/sda: Already in device cache
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-path/pci-0000
/dev/sda1: Already in device cache
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-partlabel/EFI
/dev/disk/by-partuuid/bfa3
/dev/disk/by-path/pci-0000
/dev/disk/by-uuid/4D75-006
/dev/sda2: Already in device cache
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-partuuid/1e60
/dev/disk/by-path/pci-0000
/dev/disk/by-uuid/32016e4c
/dev/sda3: Already in device cache
/dev/disk/by-id/lvm-pv-uui
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-partuuid/0bd9
/dev/disk/by-path/pci-0000
/dev/sdb: Already in device cache
/dev/disk/by-id/scsi-36006
/dev/disk/by-id/wwn-0x6006
/dev/disk/by-path/pci-0000
/dev/sr0: Already in device cache
/dev/cdrom: Already in device cache
/dev/disk/by-id/ata-MATSHI
/dev/disk/by-path/pci-0000
/dev/dm-0: Already in device cache
/dev/centos/swap: Already in device cache
/dev/disk/by-id/dm-name-ce
/dev/disk/by-id/dm-uuid-LV
/dev/disk/by-uuid/6e6355de
/dev/mapper/centos-swap: Already in device cache
/dev/dm-1: Already in device cache
/dev/centos/root: Already in device cache
/dev/disk/by-id/dm-name-ce
/dev/disk/by-id/dm-uuid-LV
/dev/disk/by-uuid/b84c17df
/dev/mapper/centos-root: Already in device cache
/dev/dm-2: Already in device cache
/dev/centos/home: Already in device cache
/dev/disk/by-id/dm-name-ce
/dev/disk/by-id/dm-uuid-LV
/dev/disk/by-uuid/d1ec3031
/dev/mapper/centos-home: Already in device cache
Opened /dev/sdb RO O_DIRECT
/dev/sdb: size is 1140621312 sectors
Closed /dev/sdb
Opened /dev/sdb RO O_DIRECT
/dev/sdb: block size is 4096 bytes
/dev/sdb: physical block size is 512 bytes
Closed /dev/sdb
/dev/sdb: Skipping: Partition table signature found
Processing each PV
Asking lvmetad for complete list of known VG ids/names
Setting response to OK
Setting response to OK
Setting response to OK
Setting name to centos
Getting list of all devices
Asking lvmetad for complete list of known PVs
Setting response to OK
Setting response to OK
Setting response to OK
Setting id to v4oqZD-5T0Q-ovsZ-wdRE-rwKq
Setting vgid to 6LQQhv-fxqF-1AUo-yA6v-BBX2
Setting vgname to centos
Setting format to lvm2
Setting device to 2051
Setting dev_size to 145261330432
Setting label_sector to 1
Setting ext_flags to 0
Setting ext_version to 1
lvmcache has no info for vgname "centos" with VGID 6LQQhvfxqF1AUoyA6vBBX27uM5
lvmcache has no info for vgname "centos".
lvmcache /dev/sda3: now in VG centos with 0 mda(s).
lvmcache /dev/sda3: VG centos: set VGID to 6LQQhvfxqF1AUoyA6vBBX27uM5
Setting size to 1044480
Setting start to 4096
Setting ignore to 0
Opened /dev/sda RO O_DIRECT
/dev/sda: size is 285149696 sectors
Closed /dev/sda
Opened /dev/sda RO O_DIRECT
/dev/sda: block size is 4096 bytes
/dev/sda: physical block size is 512 bytes
Closed /dev/sda
/dev/sda: Skipping: Partition table signature found
/dev/cdrom: Skipping: Unrecognised LVM device type 11
dm version [ opencount flush ] [16384] (*1)
dm status (253:0) [ noopencount noflush ] [16384] (*1)
Opened /dev/centos/swap RO O_DIRECT
/dev/centos/swap: size is 8388608 sectors
Closed /dev/centos/swap
Opened /dev/centos/swap RO O_DIRECT
/dev/centos/swap: block size is 4096 bytes
/dev/centos/swap: physical block size is 512 bytes
Closed /dev/centos/swap
/dev/centos/swap: using cached size 8388608 sectors
Opened /dev/centos/swap RO O_DIRECT
/dev/centos/swap: block size is 4096 bytes
/dev/centos/swap: physical block size is 512 bytes
Closed /dev/centos/swap
dm status (253:0) [ noopencount noflush ] [16384] (*1)
Using /dev/centos/swap
Opened /dev/sda1 RO O_DIRECT
/dev/sda1: size is 409600 sectors
Closed /dev/sda1
/dev/sda1: Device is a partition, using primary device sda for mpath component detection
/dev/sda1: using cached size 409600 sectors
Opened /dev/sda1 RO O_DIRECT
/dev/sda1: block size is 512 bytes
/dev/sda1: physical block size is 512 bytes
Closed /dev/sda1
Using /dev/sda1
dm status (253:1) [ noopencount noflush ] [16384] (*1)
Opened /dev/centos/root RO O_DIRECT
/dev/centos/root: size is 104857600 sectors
Closed /dev/centos/root
Opened /dev/centos/root RO O_DIRECT
/dev/centos/root: block size is 512 bytes
/dev/centos/root: physical block size is 512 bytes
Closed /dev/centos/root
/dev/centos/root: using cached size 104857600 sectors
Opened /dev/centos/root RO O_DIRECT
/dev/centos/root: block size is 512 bytes
/dev/centos/root: physical block size is 512 bytes
Closed /dev/centos/root
dm status (253:1) [ noopencount noflush ] [16384] (*1)
Using /dev/centos/root
Opened /dev/sda2 RO O_DIRECT
/dev/sda2: size is 1024000 sectors
Closed /dev/sda2
/dev/sda2: Device is a partition, using primary device sda for mpath component detection
/dev/sda2: using cached size 1024000 sectors
Opened /dev/sda2 RO O_DIRECT
/dev/sda2: block size is 512 bytes
/dev/sda2: physical block size is 512 bytes
Closed /dev/sda2
Using /dev/sda2
dm status (253:2) [ noopencount noflush ] [16384] (*1)
Opened /dev/centos/home RO O_DIRECT
/dev/centos/home: size is 170459136 sectors
Closed /dev/centos/home
Opened /dev/centos/home RO O_DIRECT
/dev/centos/home: block size is 512 bytes
/dev/centos/home: physical block size is 512 bytes
Closed /dev/centos/home
/dev/centos/home: using cached size 170459136 sectors
Opened /dev/centos/home RO O_DIRECT
/dev/centos/home: block size is 512 bytes
/dev/centos/home: physical block size is 512 bytes
Closed /dev/centos/home
dm status (253:2) [ noopencount noflush ] [16384] (*1)
Using /dev/centos/home
Opened /dev/sda3 RO O_DIRECT
/dev/sda3: size is 283713536 sectors
Closed /dev/sda3
/dev/sda3: Device is a partition, using primary device sda for mpath component detection
/dev/sda3: using cached size 283713536 sectors
Opened /dev/sda3 RO O_DIRECT
/dev/sda3: block size is 4096 bytes
/dev/sda3: physical block size is 512 bytes
Closed /dev/sda3
Using /dev/sda3
Opened /dev/sdb RO O_DIRECT
/dev/sdb: using cached size 1140621312 sectors
Closed /dev/sdb
Opened /dev/sdb RO O_DIRECT
/dev/sdb: block size is 4096 bytes
/dev/sdb: physical block size is 512 bytes
Closed /dev/sdb
/dev/sdb: Skipping: Partition table signature found
Processing PVs in VG centos
Locking /run/lock/lvm/V_centos RB
Preparing SELinux context for /run/lock/lvm/V_centos to system_u:object_r:lvm_lock
_do_flock /run/lock/lvm/V_centos:aux
_undo_flock /run/lock/lvm/V_centos:aux
_do_flock /run/lock/lvm/V_centos RB
Resetting SELinux context to default value.
Reading VG centos 6LQQhvfxqF1AUoyA6vBBX27uM5
Asking lvmetad for VG 6LQQhv-fxqF-1AUo-yA6v-BBX2
Setting response to OK
Setting response to OK
Setting response to OK
Setting name to centos
Setting metadata/format to lvm2
Setting id to v4oqZD-5T0Q-ovsZ-wdRE-rwKq
Setting format to lvm2
Setting device to 2051
Setting dev_size to 283713536
Setting label_sector to 1
Setting ext_flags to 0
Setting ext_version to 1
lvmcache /dev/sda3: now in VG #orphans_lvm2 (#orphans_lvm2) with 1 mda(s).
Setting size to 1044480
Setting start to 4096
Setting ignore to 0
Allocated VG centos at 0x7faf8cdb1c30.
Importing logical volume centos/swap.
Importing logical volume centos/home.
Importing logical volume centos/root.
lvmcache has no info for vgname "centos" with VGID 6LQQhvfxqF1AUoyA6vBBX27uM5
lvmcache has no info for vgname "centos".
lvmcache /dev/sda3: now in VG centos with 1 mda(s).
lvmcache /dev/sda3: VG centos: set VGID to 6LQQhvfxqF1AUoyA6vBBX27uM5
lvmcache /dev/sda3: VG centos: set system_id to .
Sending lvmetad vg_clear_outdated_pvs
Setting response to OK
Setting response to OK
Setting response to OK
/dev/sda3: using cached size 283713536 sectors
/dev/sda3 0: 0 1024: swap(0:0)
/dev/sda3 1: 1024 20808: home(0:0)
/dev/sda3 2: 21832 12800: root(0:0)
Allocated VG centos at 0x7faf8cdcd5e0.
Importing logical volume centos/swap.
Importing logical volume centos/home.
Importing logical volume centos/root.
Processing PV /dev/sda3 in VG centos.
Unlock: Memlock counters: locked:0 critical:0 daemon:0 suspended:0
Syncing device names
Unlocking /run/lock/lvm/V_centos
_undo_flock /run/lock/lvm/V_centos
Freeing VG centos at 0x7faf8cdcd5e0.
Freeing VG centos at 0x7faf8cdb1c30.
Processing PVs in VG #orphans_lvm1
Locking #orphans_lvm1 already done
Reading VG #orphans_lvm1 <no vgid>
Processing PVs in VG #orphans_pool
Locking #orphans_pool already done
Reading VG #orphans_pool <no vgid>
Processing PVs in VG #orphans_lvm2
Locking #orphans_lvm2 already done
Reading VG #orphans_lvm2 <no vgid>
Processing devices that are not PVs
Processing device /dev/centos/swap.
Processing device /dev/sda1.
Processing device /dev/centos/root.
Processing device /dev/sda2.
Processing device /dev/centos/home.
Device /dev/sdb not found (or ignored by filtering).
No devices to process.
Unlocking /run/lock/lvm/P_orphans
_undo_flock /run/lock/lvm/P_orphans
lvmcache has no info for vgname "#orphans".
Setting global/notify_dbus to 1
Completed: pvcreate -vvv /dev/sdb