Device /dev/sdb excluded by a filter.
/dev/sdb: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54 /dev/sdb: 8 bytes were erased at offset 0x3a3817d5c00 (gpt): 45 46 49 20 50 41 52 54 /dev/sdb: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa /dev/sdb: calling ioctl to re-read partition table: Success
Physical volume "/dev/sdb" successfully created.
wipefs: error: /dev/sdb: probing initialization failed: Device or resource busy
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 0 60G 0 disk ├─sdb1 8:17 0 20G 0 part │ └─myVG-myLV 253:2 0 60G 0 lvm └─sdb2 8:18 0 40G 0 part └─myVG-myLV 253:2 0 60G 0 lvm
/dev/sdb: 2 bytes were erased at offset 0x000001fe (dos): 55 aa /dev/sdb: calling ioclt to re-read partition table: Device or resource busy
The device for pvcreate was previously an LVM PV, and there are still entries in the device-mapper table for this device.Let's try to know more :
Name Maj Min Stat Open Targ Event UUID
myVG-myLV 253 2 L--w 0 2 0 LVM-fMb6Ufb0Pa3W129dkBZYmz4Czy1dAYAmJ8cYIlbDMV318FyMBD5HgBPGCfv7jHEC
(nothing)
Name Maj Min Stat Open Targ Event UUID
(lists other devices but myVG-myLV is gone)
Physical volume "/dev/sdb" successfully created.