pvcreate issue

[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:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)
ittechlabLinux SupportAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ittechlabLinux SupportAuthor Commented:
[root@lnx02 ~]# pvcreate -vvv   /dev/sdb
        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_locks to 1
      Setting global/locking_dir to /run/lock/lvm
        Preparing SELinux context for /run/lock/lvm to system_u:object_r:lvm_lock_t:s0.
        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-B7mI-JLUEGO
      Setting vgid to 6LQQhv-fxqF-1AUo-yA6v-BBX2-7uM5-uss9Uk
      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-3600605b003058b40202b41943d41dde9: Aliased to /dev/sda in device cache (8:0)
        /dev/disk/by-id/wwn-0x600605b003058b40202b41943d41dde9: Aliased to /dev/sda in device cache (8:0)
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0: Aliased to /dev/sda in device cache (8:0)
        /dev/sda1: Added to device cache (8:1)
        /dev/disk/by-id/scsi-3600605b003058b40202b41943d41dde9-part1: Aliased to /dev/sda1 in device cache (8:1)
        /dev/disk/by-id/wwn-0x600605b003058b40202b41943d41dde9-part1: Aliased to /dev/sda1 in device cache (8:1)
        /dev/disk/by-partlabel/EFI\x20System\x20Partition: Aliased to /dev/sda1 in device cache (8:1)
        /dev/disk/by-partuuid/bfa38a60-aebb-4230-95a7-eb72f66dfe97: Aliased to /dev/sda1 in device cache (8:1)
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0-part1: Aliased to /dev/sda1 in device cache (8:1)
        /dev/disk/by-uuid/4D75-006B: Aliased to /dev/sda1 in device cache (8:1)
        /dev/sda2: Added to device cache (8:2)
        /dev/disk/by-id/scsi-3600605b003058b40202b41943d41dde9-part2: Aliased to /dev/sda2 in device cache (8:2)
        /dev/disk/by-id/wwn-0x600605b003058b40202b41943d41dde9-part2: Aliased to /dev/sda2 in device cache (8:2)
        /dev/disk/by-partuuid/1e6054ca-f2c6-4605-bb73-386e62ce3df4: Aliased to /dev/sda2 in device cache (8:2)
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0-part2: Aliased to /dev/sda2 in device cache (8:2)
        /dev/disk/by-uuid/32016e4c-e163-493e-b04c-71d0b10283ff: Aliased to /dev/sda2 in device cache (8:2)
        /dev/sda3: Added to device cache (8:3)
        /dev/disk/by-id/lvm-pv-uuid-v4oqZD-5T0Q-ovsZ-wdRE-rwKq-B7mI-JLUEGO: Aliased to /dev/sda3 in device cache (8:3)
        /dev/disk/by-id/scsi-3600605b003058b40202b41943d41dde9-part3: Aliased to /dev/sda3 in device cache (8:3)
        /dev/disk/by-id/wwn-0x600605b003058b40202b41943d41dde9-part3: Aliased to /dev/sda3 in device cache (8:3)
        /dev/disk/by-partuuid/0bd93058-cb30-4e8f-b0cc-9e05576e3ed2: Aliased to /dev/sda3 in device cache (8:3)
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0-part3: Aliased to /dev/sda3 in device cache (8:3)
        /dev/sdb: Added to device cache (8:16)
        /dev/disk/by-id/scsi-3600605b003058b40202b429c4cfae0a9: Aliased to /dev/sdb in device cache (8:16)
        /dev/disk/by-id/wwn-0x600605b003058b40202b429c4cfae0a9: Aliased to /dev/sdb in device cache (8:16)
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:1:0: Aliased to /dev/sdb in device cache (8:16)
        /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-MATSHITADVD-RAM_UJ8A0_YK66_007078: Aliased to /dev/cdrom in device cache (11:0)
        /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0: Aliased to /dev/cdrom in device cache (11:0)
        /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-centos-swap: Aliased to /dev/centos/swap in device cache (253:0)
        /dev/disk/by-id/dm-uuid-LVM-6LQQhvfxqF1AUoyA6vBBX27uM5uss9Ukig7HppHdOcSaazijd3B4DnDnXb3f7cVT: Aliased to /dev/centos/swap in device cache (253:0)
        /dev/disk/by-uuid/6e6355de-8452-4eb4-b60d-13d41b2ba2a7: Aliased to /dev/centos/swap in device cache (253:0)
        /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-centos-root: Aliased to /dev/centos/root in device cache (253:1)
        /dev/disk/by-id/dm-uuid-LVM-6LQQhvfxqF1AUoyA6vBBX27uM5uss9UkZeIi11nZGXoERV1YuxoIdtI8r6XjFOGV: Aliased to /dev/centos/root in device cache (253:1)
        /dev/disk/by-uuid/b84c17df-e000-4045-92f1-ae8aaea5d420: Aliased to /dev/centos/root in device cache (253:1)
        /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-centos-home: Aliased to /dev/centos/home in device cache (253:2)
        /dev/disk/by-id/dm-uuid-LVM-6LQQhvfxqF1AUoyA6vBBX27uM5uss9Uke2m1Atgx2fxglhM4wxabvNDclyra7yCJ: Aliased to /dev/centos/home in device cache (253:2)
        /dev/disk/by-uuid/d1ec3031-e4e3-4ce3-8fc3-dd421d9c023b: Aliased to /dev/centos/home in device cache (253:2)
        /dev/mapper/centos-home: Aliased to /dev/centos/home in device cache (253:2)
        lvmcache has no info for vgname "centos" with VGID 6LQQhvfxqF1AUoyA6vBBX27uM5uss9Uk.
        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 6LQQhvfxqF1AUoyA6vBBX27uM5uss9Uk.
      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_t:s0.
        _do_flock /run/lock/lvm/P_orphans:aux WB
        _do_flock /run/lock/lvm/P_orphans WB
        _undo_flock /run/lock/lvm/P_orphans:aux
        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-3600605b003058b40202b41943d41dde9: Already in device cache
        /dev/disk/by-id/wwn-0x600605b003058b40202b41943d41dde9: Already in device cache
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0: Already in device cache
        /dev/sda1: Already in device cache
        /dev/disk/by-id/scsi-3600605b003058b40202b41943d41dde9-part1: Already in device cache
        /dev/disk/by-id/wwn-0x600605b003058b40202b41943d41dde9-part1: Already in device cache
        /dev/disk/by-partlabel/EFI\x20System\x20Partition: Already in device cache
        /dev/disk/by-partuuid/bfa38a60-aebb-4230-95a7-eb72f66dfe97: Already 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-uuid/4D75-006B: Already in device cache
        /dev/sda2: Already in device cache
        /dev/disk/by-id/scsi-3600605b003058b40202b41943d41dde9-part2: Already in device cache
        /dev/disk/by-id/wwn-0x600605b003058b40202b41943d41dde9-part2: Already in device cache
        /dev/disk/by-partuuid/1e6054ca-f2c6-4605-bb73-386e62ce3df4: 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-uuid/32016e4c-e163-493e-b04c-71d0b10283ff: Already in device cache
        /dev/sda3: Already in device cache
        /dev/disk/by-id/lvm-pv-uuid-v4oqZD-5T0Q-ovsZ-wdRE-rwKq-B7mI-JLUEGO: Already in device cache
        /dev/disk/by-id/scsi-3600605b003058b40202b41943d41dde9-part3: Already in device cache
        /dev/disk/by-id/wwn-0x600605b003058b40202b41943d41dde9-part3: Already in device cache
        /dev/disk/by-partuuid/0bd93058-cb30-4e8f-b0cc-9e05576e3ed2: Already in device cache
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0-part3: Already in device cache
        /dev/sdb: Already in device cache
        /dev/disk/by-id/scsi-3600605b003058b40202b429c4cfae0a9: Already in device cache
        /dev/disk/by-id/wwn-0x600605b003058b40202b429c4cfae0a9: Already in device cache
        /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:1:0: Already in device cache
        /dev/sr0: Already in device cache
        /dev/cdrom: Already in device cache
        /dev/disk/by-id/ata-MATSHITADVD-RAM_UJ8A0_YK66_007078: Already in device cache
        /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0: Already in device cache
        /dev/dm-0: Already in device cache
        /dev/centos/swap: Already in device cache
        /dev/disk/by-id/dm-name-centos-swap: Already in device cache
        /dev/disk/by-id/dm-uuid-LVM-6LQQhvfxqF1AUoyA6vBBX27uM5uss9Ukig7HppHdOcSaazijd3B4DnDnXb3f7cVT: Already in device cache
        /dev/disk/by-uuid/6e6355de-8452-4eb4-b60d-13d41b2ba2a7: Already in device cache
        /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-centos-root: Already in device cache
        /dev/disk/by-id/dm-uuid-LVM-6LQQhvfxqF1AUoyA6vBBX27uM5uss9UkZeIi11nZGXoERV1YuxoIdtI8r6XjFOGV: Already in device cache
        /dev/disk/by-uuid/b84c17df-e000-4045-92f1-ae8aaea5d420: Already in device cache
        /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-centos-home: Already in device cache
        /dev/disk/by-id/dm-uuid-LVM-6LQQhvfxqF1AUoyA6vBBX27uM5uss9Uke2m1Atgx2fxglhM4wxabvNDclyra7yCJ: Already in device cache
        /dev/disk/by-uuid/d1ec3031-e4e3-4ce3-8fc3-dd421d9c023b: Already in device cache
        /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-B7mI-JLUEGO
      Setting vgid to 6LQQhv-fxqF-1AUo-yA6v-BBX2-7uM5-uss9Uk
      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 6LQQhvfxqF1AUoyA6vBBX27uM5uss9Uk.
        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 6LQQhvfxqF1AUoyA6vBBX27uM5uss9Uk.
      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_t:s0.
        _do_flock /run/lock/lvm/V_centos:aux WB
        _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 6LQQhvfxqF1AUoyA6vBBX27uM5uss9Uk
        Asking lvmetad for VG 6LQQhv-fxqF-1AUo-yA6v-BBX2-7uM5-uss9Uk centos
      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-B7mI-JLUEGO
      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 6LQQhvfxqF1AUoyA6vBBX27uM5uss9Uk.
        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 6LQQhvfxqF1AUoyA6vBBX27uM5uss9Uk.
        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
0
gheistCommented:
It should be SDB1 i.e. partition
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ittechlabLinux SupportAuthor Commented:
can we not specify the /dev/sdb as a whole disk? I have done it before.
0
gheistCommented:
Has not worked in last 10 years.
1
Scott SilvaNetwork AdministratorCommented:
Adding to gheists comment when you CAN get it to create it creates unreliable and inconsistent results, and all kinds of recovery and repair issues...
1
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.