fdisk: cannot open /dev/vdb1: No such file or directory
时间: 2023-08-17 18:16:22 浏览: 1473
根据引用\[1\]中的命令和引用\[2\]中的步骤,您遇到的错误"fdisk: cannot open /dev/vdb1: No such file or directory"可能是由于/dev/vdb1设备文件不存在导致的。请确保您输入的设备文件路径是正确的,并且该设备已经正确地被创建和分区。您可以使用命令"fdisk -l"来检查设备是否成功分区。如果设备文件不存在,您可以尝试重新创建分区并确保正确地指定设备文件路径。另外,根据引用\[3\]中的说明,如果您希望挂载的设备文件在系统重启后仍然有效,您需要将挂载信息写入到/etc/fstab配置文件中。请确保您在配置文件中正确地指定了设备文件路径和挂载点。
#### 引用[.reference_title]
- *1* [服务器硬件及RAID配置实战](https://blog.csdn.net/qq_44870887/article/details/118093994)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [挂载磁盘 fdisk mkfs 及问题Could not stat xxx --- No such file or directory](https://blog.csdn.net/qq_34208660/article/details/115961982)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [添加硬盘设备](https://blog.csdn.net/wo18237095579/article/details/80366782)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文