幫助 - 可能是壞驅動器?

幫助 - 可能是壞驅動器?

好吧,首先讓我先致歉。我被說服在 Ubuntu 中設定我的 Plex 伺服器,因為它「簡單且輕量」。然而,我對 Linux 命令的了解一般來說還不夠(我在安裝或解壓縮 .tar 檔案時遇到了麻煩 - 或者無論你用它們做什麼 - 並且我嚴重依賴 GUI)。話雖這麼說,如果我可以恢復數據,我會將其移動到備份驅動器並在 Windows 上從頭開始重建 Plex,以便在出現問題時我可以提供支援。我們如何走到這一步並不重要……我只是需要一些幫助來希望事情能夠恢復,我將採取措施防止這種情況再次發生。我也是 Reddit 新手,這篇文章的唯一目的就是這樣。

目前設定是在具有 4 個 3 TB 硬碟的 NAS 上,以及運行 Ubuntu 的 128 GB SSD。我按照 Plex 指南設定了 RAID,實際上我對執行的命令知之甚少,以至於我不能 100% 確定設定了哪些 RAID(如果有)。起初,我剛開始遇到一些緩慢的情況。我按照我的規範重新啟動,但問題仍然存在。然後我開始看到一個磁碟機出現錯誤,特別是,我無法匯入 RAID 池,因為它不可用。磁碟管理顯示該磁碟機上隨機出現了另一個 1 MB 分割區。有一次,它表示該驅動器正在以 1 KB/s 的速度重新鍍銀,並且研究表明,如果重新啟動以使其解鎖是安全的,但後來該驅動器根本不會出現。老實說,我只是感到完全不知所措,因為我不知道如何繼續對驅動器進行故障排除。在嘗試卸載磁碟機以查看分割區之前,是否必須卸載 RAID 池?任何有助於弄清楚正在發生的事情的建議或命令將不勝感激。

這是我的原始版本運行時的輸出:

name@name:~$ sudo fdisk -l
Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 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: gpt
Disk identifier: 1D7A0502-C7BB-A343-ACAF-BAC53188F757

Device          Start        End    Sectors  Size Type
/dev/sda1        2048 5860515839 5860513792  2.7T Solaris /usr & Apple ZFS
/dev/sda9  5860515840 5860532223      16384    8M Solaris reserved 1

Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 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: gpt
Disk identifier: A91EFAE9-97A3-C849-8E03-273BBD27BAB2

Device          Start        End    Sectors  Size Type
/dev/sdb1        2048 5860515839 5860513792  2.7T Solaris /usr & Apple ZFS
/dev/sdb9  5860515840 5860532223      16384    8M Solaris reserved 1

Disk /dev/sdc: 2.7 TiB, 3000592982016 bytes, 5860533168 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: gpt
Disk identifier: DF70D700-B395-714F-87F4-0A556CD508A0

Device          Start        End    Sectors  Size Type
/dev/sdc1        2048 5860515839 5860513792  2.7T Solaris /usr & Apple ZFS
/dev/sdc9  5860515840 5860532223      16384    8M Solaris reserved 1

Disk /dev/sdd: 118 GiB, 126701535232 bytes, 247463936 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: 0xbd4a320c

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sdd1       193664 247463935 247270272 117.9G  7 HPFS/NTFS/exFAT

Disk /dev/sde: 2.7 TiB, 3000592982016 bytes, 5860533168 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: gpt
Disk identifier: 20609266-DE2E-D547-A559-6A7BFA5F6A3A

Device          Start        End    Sectors  Size Type
/dev/sde1        2048 5860515839 5860513792  2.7T Solaris /usr & Apple ZFS
/dev/sde9  5860515840 5860532223      16384    8M Solaris reserved 1

Disk /dev/sdf: 111.8 GiB, 120034123776 bytes, 234441648 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: 0x48168c26

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdf1  *         2048 232441855 232439808 110.9G 83 Linux
/dev/sdf2       232443902 234440703   1996802   975M  5 Extended
/dev/sdf5       232443904 234440703   1996800   975M 82 Linux swap / Solaris

這是迄今為止我可以看到的當前狀態:

sudo fdisk -l
Disk /dev/loop0: 295.7 MiB, 310079488 bytes, 605624 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


Disk /dev/loop1: 295.6 MiB, 309968896 bytes, 605408 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


Disk /dev/loop2: 32.3 MiB, 33869824 bytes, 66152 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


Disk /dev/loop3: 32.3 MiB, 33865728 bytes, 66144 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


Disk /dev/loop4: 55.5 MiB, 58134528 bytes, 113544 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


Disk /dev/loop5: 55.4 MiB, 58130432 bytes, 113536 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


Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 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: gpt
Disk identifier: 1D7A0502-C7BB-A343-ACAF-BAC53188F757

Device          Start        End    Sectors  Size Type
/dev/sda1        2048 5860515839 5860513792  2.7T Solaris /usr & Apple ZFS
/dev/sda9  5860515840 5860532223      16384    8M Solaris reserved 1


Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 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: gpt
Disk identifier: A91EFAE9-97A3-C849-8E03-273BBD27BAB2

Device          Start        End    Sectors  Size Type
/dev/sdb1        2048 5860515839 5860513792  2.7T Solaris /usr & Apple ZFS
/dev/sdb9  5860515840 5860532223      16384    8M Solaris reserved 1


Disk /dev/sdc: 2.7 TiB, 3000592982016 bytes, 5860533168 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: gpt
Disk identifier: 20609266-DE2E-D547-A559-6A7BFA5F6A3A

Device          Start        End    Sectors  Size Type
/dev/sdc1        2048 5860515839 5860513792  2.7T Solaris /usr & Apple ZFS
/dev/sdc9  5860515840 5860532223      16384    8M Solaris reserved 1


Disk /dev/sdd: 111.8 GiB, 120034123776 bytes, 234441648 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: 0x48168c26

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdd1  *         2048 232441855 232439808 110.9G 83 Linux
/dev/sdd2       232443902 234440703   1996802   975M  5 Extended
/dev/sdd5       232443904 234440703   1996800   975M 82 Linux swap / Solaris

驅動器的 GUI 圖片確實顯示了第四個驅動器,但我相信它顯示了 /dev/sdc 並具有 1 MB 的分區,而 3 TB 的 /dev/sdc1 分區不是橙色的(如果這很重要的話) ,我認為它在某種程度上不再是主分割區,但同樣,我對Ubuntu 還不夠了解)除了8.4 MB 的/dev/sdc9 之外。

我看到了這一點,並根據更多的研究和建議,我嘗試了 GParted,但它看不到驅動器。我確實運行了一個命令,在某個時刻向我顯示了一個狀態,表示它正在重新鍍銀,但我記不清了。我嘗試安裝 TestDisk 但無法弄清楚安裝程式命令。當重新鍍銀過程似乎陷入困境時,我重新啟動。現在驅動器根本不會出現,我害怕進一步繼續,因為我不知道我在做什麼,而且我不想進一步損壞驅動器的完整性。再次感謝任何幫助。我不知道此時還能做什麼。

相關內容