直到几次重启之前,我的 500GB 硬盘运行正常。
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 225G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 8G 0 part [SWAP]
sdb 8:16 0 465.8G 0 disk
└─sdb1 8:17 0 465.8G 0 part /media/usr/HDD1
sdc 8:32 0 465.8G 0 disk
└─sdc1 8:33 0 465.8G 0 part
sdd 8:48 0 1.8T 0 disk
└─sdd1 8:49 0 1.8T 0 part /media/usr/My Passport
sde 8:64 0 465.8G 0 disk
└─sde1 8:65 0 465.8G 0 part /media/usr/extHDD
sr0 11:0 1 1024M 0 rom
sdc1 是我想要的。
然而,尝试安装它
sudo mount -t /dev/sdc1 /media/usr/HDD2
给出
mount: can't find /media/usr/HDD2 in /etc/fstab
所以我跑
blkid /dev/sdc1
得出
/dev/sdc1: PARTUUID="0000814a-01"
sudo fdisk -l 也没有提供更多信息
Disk /dev/sdc: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0000814a
Device Boot Start End Sectors Size Id Type
/dev/sdc1 63 976771119 976771057 465.8G 83 Linux
所以我迷路了。
编辑1:
ls /media/usr
HDD2 HDD1 My Passport extHDD
然后
sudo nano /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name #devices
#that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=da459b4f-512c-4fb6-926e-cdf082a9e2b6 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=f9f8c1e3-3cbf-4979-b76a-c7af70186c9f none swap sw 0 0
编辑2
sudo fsck /dev/sdc1
fsck from util-linux 2.26.2
e2fsck 1.42.12 (29-Aug-2014)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdc1
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
答案1
是的,看起来磁盘已损坏。如果之前可以正常工作,则可能可以恢复它,并且可能如 @psusi 所建议的那样,运行testdisk
可能会完成这项工作。
sudo apt-get 安装 testdisk
然后
sudo 测试磁盘 /dev/sdc1
我没有坏掉的磁盘来测试它,我也不知道它会对你造成什么影响,但它宣称自己可以检查和恢复丢失的分区,至少听起来是对的。祝你好运。