一台機器將磁碟識別為損壞,但在另一台機器上工作正常

一台機器將磁碟識別為損壞,但在另一台機器上工作正常

我有一個 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 端口,但沒有任何區別。知道為什麼它在一台機器上運行而不是在另一台機器上運行嗎?

相關內容