我拥有这外置高清。
当我sudo fdisk -l
我得到了这个输出:
zach@tux:~/code/bing$ sudo fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 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
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 409639 204819+ ee GPT
Partition 1 does not start on physical sector boundary.
/dev/sda2 * 409640 96523335 48056848 af HFS / HFS+
/dev/sda3 96523336 97792871 634768 af HFS / HFS+
/dev/sda4 97794048 490233855 196219904 83 Linux
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 5001.0 GB, 5000981077504 bytes
255 heads, 63 sectors/track, 608001 cylinders, total 9767541167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disk identifier: 0x105c1e3d
Device Boot Start End Blocks Id System
/dev/sdb1 1 33 16+ ee GPT
Partition 1 does not start on physical sector boundary.
/dev/sdb2 34 262177 131072 da Non-FS data
Partition 2 does not start on physical sector boundary.
/dev/sdb3 * 266240 1177604095 588668928 da Non-FS data
我最初安装的ntfs
是文件系统,但在处理了大约一百万个文件后,它开始出现故障。重启电脑后,驱动器上的所有内容都丢失了。然后我切换到,ext4
但在(我认为)安全重启后,我通过硬盘驱动器添加了一个文件,sudo mv file /mount/my_disk
这是我设置它的地方。然后我去检查磁盘上是否有其他文件,磁盘上唯一存在的就是我移动到上面的文件。也就是说,我又丢失了文件。然后我用 parted 检查磁盘是否正常,但我收到了以下消息:
Error: File system has an incompatible feature enabled.
Compatible features are has_journal, dir_index, filetype, sparse_super and
large_file.
Use tune2fs or debugfs to remove features.
使用 parted进行设置ext4
非常困难,因为 parted 不支持,ext4
所以我不得不结合使用 parted 和其他工具。
我只想要一个可以处理大量小文件的快速 5TB 外置硬盘。我该怎么办?有没有没有 GPT 的硬盘可以买来用普通工具设置?为什么一切仍然如此困难?我知道我现在对丢失文件感到沮丧(再次),但这太荒谬了。