为什么我无法挂载该磁盘?

为什么我无法挂载该磁盘?

我正在尝试将外部 HDD 安装到运行 Debian Jessie 的 ARM 服务器。我删除了分区并在parted with 中创建了一个新分区mkpart primary ntfs 0% 100%。下面是sudo fdisk -l与磁盘相关的输出以及我尝试安装它时的输出。发行版和所有软件包都是最新的。我在这里做错了什么?

Disk /dev/sda: 7.3 TiB, 8001563221504 bytes, 15628053167 sectors 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: BC80D810-2ABA-4F4D-B552-B3017B3AE61A

Device     Start         End     Sectors  Size Type
/dev/sda1   2048 15628052479 15628050432  7.3T Microsoft basic data

root@odroid-jessie:~# mount -t auto /dev/sda1 /media/USBHDD1
mount: wrong fs type, bad option, bad superblock on /dev/sda,
   missing codepage or helper program, or other error

   In some cases useful info is found in syslog - try
   dmesg | tail or so.
root@odroid-jessie:~# dmesg | tail
[  378.407567] [c3] sd 2:0:0:0: [sdb] Mode Sense: 4f 00 00 00
[  378.408174] [c3] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  378.418366] [c3] sd 2:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[  378.505027] [c3]  sdb: sdb2
[  378.512752] [c3] sd 2:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[  378.520375] [c1] sd 2:0:0:0: [sdb] Attached SCSI disk
[  822.494479] [c1] sd 1:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[  822.574393] [c2]  sda: sda1
[  840.166662] [c3] sd 2:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[  840.243315] [c3]  sdb: sdb1

答案1

创建分区时,它不会添加文件系统。

您还需要添加文件系统。

mkfs.ntfs /dev/sda1(仔细检查设备,如果你弄错了,那么你将丢失数据)。

有一些分区工具可以进行分区和创建文件系统。

相关内容