我在 HP Z800 上有一个 RAID 5 阵列,包含 4 个 2TB 磁盘。一个磁盘发生故障,我将其换成了新磁盘。
我进入 BIOS Intel Storage Matrix Utility 并将阵列设置为使用新磁盘重建。该实用程序表示这将在操作系统中完成。
启动 Ubuntu 后dmraid -s
显示状态为 nosync。dmsetup status
显示同步比率正在增加,最终(9-10 小时后)完成同步。dmraid -s
显示状态正常。
因此,假设一切正常,我重新启动了,Ubuntu 无法正常挂载 raid 阵列,大概是因为卷名已更改,/dev/mapper/isw_xxx_Storage 中的 xxx。
/dev/mapper 中没有显示分区,只有卷/dev/mapper/isw_jbbicjigc_Storage
尝试挂载卷失败(显然),所以我尝试使用kpartx
$ sudo kpartx -a /dev/mapper/isw_jbbicjigc_Storage
Warning: Disk has a valid GPT signature but invalid PMBR.
Assuming this disk is *not* a GPT disk anymore.
Use gpt kernel option to override. Use GNU Parted to correct disk.
从这里我真的不知道该去哪里。我不想重新格式化所有内容并丢失我的数据,但如果这是唯一的选择,那就只能这么做了。
以下是一些相关命令的输出:
$ sudo dmraid -s
*** Group superset isw_jbbicjigc
--> Active Subset
name : isw_jbbicjigc_Storage
size : 11721073920
stride : 128
type : raid5_la
status : ok
subsets: 0
devs : 4
spares : 0
$ sudo dmsetup status
isw_jbbicjigc_Storage: 0 11721073920 raid raid5_la 4 AAAA 3907024640/3907024640 idle 0
$ lspci -v
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA Controller [RAID mode]
Subsystem: Hewlett-Packard Company Device 130b
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 93
I/O ports at c100 [size=8]
I/O ports at c110 [size=4]
I/O ports at c108 [size=8]
I/O ports at c114 [size=4]
I/O ports at c0c0 [size=32]
Memory at e3404000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci
$ sudo fdisk -l
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sde: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 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 identifier: 0x000ad848
Device Boot Start End Blocks Id System
/dev/sde1 2048 117229567 58613760 83 Linux
WARNING: GPT (GUID Partition Table) detected on '/dev/mapper/isw_jbbicjigc_Storage'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/mapper/isw_jbbicjigc_Storage: 6001.2 GB, 6001189847040 bytes
255 heads, 63 sectors/track, 729603 cylinders, total 11721073920 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 65536 bytes / 196608 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/isw_jbbicjigc_Storage doesn't contain a valid partition table
对于下一步该尝试什么,任何想法都将不胜感激。
答案1
作为最后的可能选择,我会避免重新格式化驱动器。
我的 RAID5 4 驱动器 iOmega 设备也发生了类似的情况,在更换并恢复故障驱动器后,内容无法查看。
- 使用 FTP 后门查看数据并将数据传输到另一个大型外部硬盘。您可以了解如何使用文件传输协议以及如何单独尝试此操作。
- 将 NAS 驱动器重新格式化为 RAID10 或 RAID01。这将使您免于将来遇到类似的麻烦,并可以无忧无虑地更换驱动器。
- 将数据传输回新格式化的 RAID10 设备。
- 如果步骤 1 不成功,祝你好运。
- 如果这不起作用并且信息很有价值,请向数据恢复专家支付约 2000 美元或继续在线搜索。