创建分区时出现“警告,无法写入超级块”。我的磁盘有问题吗?

创建分区时出现“警告,无法写入超级块”。我的磁盘有问题吗?

我正在使用 Gparted 创建分区,以便在 4x4TB 驱动器之间设置 RAID5。我成功地使用 gparted 设置了 3 个驱动器,没有任何问题,但最后一个驱动器却出现了许多问题。每次我在创建分区表后尝试创建分区时,都会抛出错误(在两个磁盘和 gparted 中)。以下是我收到的确切错误:


GParted 0.30.0 --enable-libparted-dmraid --enable-online-resize

Libparted 3.2
Create Primary Partition #1 (ext4, 3.64 TiB) on /dev/sdd  00:00:14    ( ERROR )

create empty partition  00:00:00    ( SUCCESS )

path: /dev/sdd1 (partition)
start: 2048
end: 7814035455
size: 7814033408 (3.64 TiB)
clear old filesystem signatures in /dev/sdd1  00:00:00    ( SUCCESS )

write 512.00 KiB of zeros at byte offset 0  00:00:00    ( SUCCESS )
write 4.00 KiB of zeros at byte offset 67108864  00:00:00    ( SUCCESS )
write 4.00 KiB of zeros at byte offset 274877906944  00:00:00    ( SUCCESS )
write 512.00 KiB of zeros at byte offset 4000784580608  00:00:00    ( SUCCESS )
write 4.00 KiB of zeros at byte offset 4000785039360  00:00:00    ( SUCCESS )
write 8.00 KiB of zeros at byte offset 4000785096704  00:00:00    ( SUCCESS )
flush operating system cache of /dev/sdd  00:00:00    ( SUCCESS )
set partition type on /dev/sdd1  00:00:00    ( SUCCESS )

new partition type: ext4
create new ext4 filesystem  00:00:14    ( ERROR )

mkfs.ext4 -F -O ^64bit -L '' '/dev/sdd1'  00:00:14    ( ERROR )

64-bit filesystem support is not enabled. The larger fields afforded by this feature enable full-strength checksumming. Pass -O 64bit to rectify.
Creating filesystem with 976754176 4k blocks and 244195328 inodes
Filesystem UUID: 8644ed3d-e649-471b-9389-8cae17ea67db
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544

Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information:
mke2fs 1.44.1 (24-Mar-2018)

Warning, had trouble writing out superblocks.

========================================

此后,磁盘无法读取,直到我重新启动计算机。我尝试了 SMART 测试,没有显示任何错误,并且已经尝试创建此分区约 3 次。有人有什么建议吗?或者我应该就此打住并提出更换驱动器的请求?

谢谢。

答案1

@heynnema 评论中说到点子上了。可以确认它对我有用。

解决方案是将其格式化为不同的分区类型(在我的情况下是 NTFS)。注意,您需要在那之后应用更改。然后删除 NTFS 分区并将其格式化为 ext4。

答案2

您不必总是删除并重新创建分区。您可以简单地将其重新格式化为 ntfs。就我而言,格式化为 ext4 时出现错误:

sudo mkfs -t ext4 /dev/sdc1
mke2fs 1.44.1 (24-Mar-2018)
Creating filesystem with 15359984 4k blocks and 3842048 inodes
Filesystem UUID: d0d152dd-d78e-4c06-98c1-6dcb44328a09
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
    4096000, 7962624, 11239424

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (65536 blocks): done
Writing superblocks and filesystem accounting information:   0/469
Warning, had trouble writing out superblocks.

因此我重新格式化了分区:

sudo mkfs -t ntfs /dev/sdc1
Cluster size has been automatically set to 4096 bytes.
Initializing device with zeroes: 100% - Done.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.

这需要很长时间,请耐心等待:)。

相关内容