我有一个 3TB WD 驱动器,它有一个 ZFS 池,另一个驱动器构成一个 6TB 分区。另一个驱动器发生故障并损坏了该驱动器上的数据,我正在尝试恢复该驱动器,而不是数据,只是恢复驱动器。
我尝试使用 GParted 在其上创建一个新分区,但失败了,我不断收到输入/输出错误。
sudo parted -l
Error: /dev/sdg: unrecognised disk label
Model: WD Ext HDD 1021 (scsi)
Disk /dev/sdg: 2199GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
sudo fdisk -l /dev/sdg
fdisk: cannot open /dev/sdg: Input/output error
sudo smartctl --info /dev/sdg
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.7.10-1-MANJARO] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Green
Device Model: WDC WD30EZRX-00MMMB0
Serial Number: WD-WMAWZ0331282
LU WWN Device Id: 5 0014ee 25c42a0b6
Firmware Version: 80.00A80
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 1.5 Gb/s)
Local Time is: Tue Feb 14 19:26:16 2017 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
运行智能检查驱动器的简短测试:
sudo smartctl -t short /dev/sdg
sudo smartctl -H /dev/sdg
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.7.10-1-MANJARO] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
sudo parted /dev/sdg
GNU Parted 3.2
Using /dev/sdg
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
Error: Input/output error during read on /dev/sdg
Retry/Ignore/Cancel?
答案1
我跑过去dmesg
,然后插入驱动器。我看到一些有关低电压的警告。那是因为我将硬盘驱动器插入树莓派,但它没有足够的电量来旋转磁盘。
不确定电源不足是否是您的问题,但它对fdisk
我产生了相同的“输入/输出错误”。读数dmesg
将有助于诊断您的问题。