创建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

posted on 2023-05-02 09:05  越野兔  阅读(436)  评论(0编辑  收藏  举报

导航