一台机器将磁盘识别为损坏,但在另一台机器上工作正常

一台机器将磁盘识别为损坏,但在另一台机器上工作正常

我有一个 Western Digital USB 硬盘驱动器,通常将其连接到 Raspberry Pi。今天我注意到驱动器不再安装,并且在系统日志中没有看到任何解释原因的内容。当我跑去sudo mount /dev/sdc /media/pi/media-2/重新安装它时,我得到:

mount: wrong fs type, bad option, bad superblock on /dev/sdc,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

sudo fsck /dev/sdc给了

fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
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/sdc

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>

Found a gpt partition table in /dev/sdc

当我将它连接到运行 Ubuntu 18.04 的笔记本电脑时,它安装得很好并fsck返回:

fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
media-2: clean, 1175/122093568 files, 422501325/488369920 blocks

在 pi 上,我尝试将其连接到每个 USB 端口,但没有任何区别。知道为什么它在一台机器上运行而不是在另一台机器上运行吗?

相关内容