我正在尝试安装来自 raid 1(在其他设备上创建)的设备,因为我需要从该磁盘复制数据。当我尝试组装新阵列时,我收到一条消息:
foo@bar# mdadm -A -R -v /dev/md23 /dev/sdb3
mdadm: looking for devices for /dev/md23
mdadm: /dev/sdb3 is identified as a member of /dev/md23, slot 32769.
mdadm: No suitable drives found for /dev/md23
这是我的检查:
foo@bar# mdadm -E /dev/sdb3
/dev/sdb3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 4bd4d90c:5ca25815:87c31c08:a6288e71
Name : DiskStation:2
Creation Time : Tue Jun 26 10:13:40 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 5851088833 (2790.02 GiB 2995.76 GB)
Array Size : 2925544256 (2790.02 GiB 2995.76 GB)
Used Dev Size : 5851088512 (2790.02 GiB 2995.76 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 6f42964f:0fbc4d3b:63179370:796cf9e3
Update Time : Thu Dec 25 21:14:04 2014
Checksum : 1d6a7257 - correct
Events : 10811864
Device Role : Active device 32769
Array State : .. ('A' == active, '.' == missing)
如何从 raid 1 阵列挂载磁盘以从中复制数据?
编辑:
当我尝试挂载 md23 时(它需要几分钟才能响应):
foo@bar# mount -o ro /dev/md23 /media/syno-1/
mount: /dev/md23: can't read superblock
答案1
您是否尝试过简单地安装磁盘?由于 raid1 是镜像,linux 可以将降级磁盘安装为单个磁盘,如果我没记错的话。
您应该以只读方式挂载,以避免出现问题:
mount -o ro /dev/sdb3 /mnt