创建pv时报错:Device /dev/sdb not found (or ignored by filtering).
创建pv时报错:
[root@PC1 ~]# pvcreate /dev/sdb
Device /dev/sdb not found (or ignored by filtering).
解决:
执行命令:dd if=/dev/urandom of=/dev/sdb bs=512 count=64
[root@PC1 ~]# dd if=/dev/urandom of=/dev/sdb bs=512 count=64
记录了64+0 的读入
记录了64+0 的写出
32768字节(33 kB)已复制,0.00253014 秒,13.0 MB/秒
[root@PC1 ~]# pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created.
[root@PC1 ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sdb lvm2 --- 8.72t 8.72t