![错误:无法统计设备 devsdb - 没有这样的文件或目录](https://linux22.com/image/923480/%E9%94%99%E8%AF%AF%EF%BC%9A%E6%97%A0%E6%B3%95%E7%BB%9F%E8%AE%A1%E8%AE%BE%E5%A4%87%20devsdb%20-%20%E6%B2%A1%E6%9C%89%E8%BF%99%E6%A0%B7%E7%9A%84%E6%96%87%E4%BB%B6%E6%88%96%E7%9B%AE%E5%BD%95.png)
首次设置 ubuntu 服务器。它加载正常,但当我尝试对 2.7T 驱动器进行分区时,它给出了以下错误:
fdisk: cannot open devsda: No such file or directory
root@devinserver:/home/devin# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 89.1M 1 loop /snap/core/8268
loop1 7:1 0 120.4M 1 loop /snap/docker/423
loop2 7:2 0 218.4M 1 loop /snap/nextcloud/20007
loop3 7:3 0 55M 1 loop /snap/core18/1705
loop4 7:4 0 3.5M 1 loop /snap/stress-ng/2474
loop5 7:5 0 93.8M 1 loop /snap/core/8935
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
└─sda2 8:2 0 111.3G 0 part /
sdb 8:16 0 2.7T 0 disk
sr0 11:0 1 1024M 0 rom
# parted \dev\sdb mklabel gpt
Error: Could not stat device devsdb - No such file or directory.
Retry/Cancel? ^C
# fdisk \dev\sdb
Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
fdisk: cannot open devsdb: No such file or directory