mdadm: cannot open /dev/sdb: No such file or directory
程序员文章站
2022-07-15 22:20:14
...
部署磁盘阵列时
输入命令:
mdadm -Cv /dev/md0 -a yes -n 4 -l 10 /dev/sdb /dev/sdc /dev/sdd /dev/sde
后出现mdadm: cannot open /dev/sdb: No such file or directory
这是什么原因呢?因为在虚拟机中添加完硬盘后,需要重启才能识别这些硬盘设备。
所有解决方法很简单,重启下服务器就行了。
推荐阅读
-
linux系统安装VMware(详细解决"Cannot open /dev/vmmon: No such file or directory"问题)
-
VMWare 15 Error on Ubuntu 18.4 - Could not open /dev/vmmon: No such file or directory
-
can't open /dev/ttys0: No such file or directory
-
mdadm: cannot open /dev/sdb: No such file or directory
-
Tensorflow:ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
-
libiconv.so.2 cannot open shared object file: No such file or directory
-
libmatio.so.2: cannot open shared object file: No such file or directory
-
libevent-2.0.so.5: cannot open shared object file: No such file or directory
-
报错:libmysqlclient.so.18: cannot open shared object file: No such file or directory.
-
libcudart.so.9.2: cannot open shared object file: No such file or directory