Raid 1 挂载失败

Raid 1 挂载失败

我是一名 Ubuntu 新用户,对 Linux 没什么经验。我在家里安装了 Ubuntu 16.04 LTS,以便从发生故障的 Synology 中恢复数据。

我成功配置了 2 个 raid 驱动器 - /dev/md1 - 2x4TB /dev/md2 - 2x8TB

我还设置了 LVM2 来创建两个逻辑卷,我使用“gksu nautlius”使它们可读,并在我的家庭网络上共享它们。但是,当我重新启动 Ubuntu 时,md1 无法正确安装,并成为 raid 0 设备,只有 /dev/sdb 作为单个 HDD。另一个 HDD 是 /dev/sba,不再是 /dev/md2 raid1 阵列的一部分。我已重新创建阵列两次,效果相同。

ajay@ajay-ubuntu:~$ lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT
NAME     SIZE FSTYPE            TYPE  MOUNTPOINT
sdf      7.3T linux_raid_member disk  
└─md2    7.3T LVM2_member       raid1 
sdd      1.8T linux_raid_member disk  
└─md0    3.7T ext4              raid0 /mnt/md0
sdb      3.7T linux_raid_member disk  
sdi      1.8T                   disk  
└─sdi1   1.8T ntfs              part  /media/ajay/Data
sdg    115.7G                   disk  
└─sdg1 115.7G vfat              part  /media/ajay/UBUNTU
sde      7.3T linux_raid_member disk  
└─md2    7.3T LVM2_member       raid1 
sdc      1.8T linux_raid_member disk  
└─md0    3.7T ext4              raid0 /mnt/md0
sda      3.7T                   disk  
sdh    115.1G                   disk  
├─sdh3 114.1G ext4              part  /
├─sdh1    47M vfat              part  /boot/efi
└─sdh2   954M swap              part  [SWAP]

这是我的 fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb3 during installation
UUID=0d3bc049-63de-44a2-8fc7-a7c45e337126 /               ext4    errors=remoun$
# /boot/efi was on /dev/sdb1 during installation
UUID=9BC4-0642  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sdb2 during installation
UUID=d8af452c-83ec-4510-8f1c-49347243547c none            swap    sw           $
/dev/md0 /mnt/md0 ext4 defaults,nofail,discard 0 0
# /dev/md1 /mnt/md1 ext4 defaults,nofail,discard 0 0
# /dev/md2 /mnt/md2 ext4 defaults,nofail,discard 0 0
/dev/LVMVolGroup1/media /mnt/media ext4 defaults,nofail 0 0
/dev/LVMVolGroup1/docs /mnt/docs ext4 defaults,nofail 0 0

这是我的 mdadm.conf

ARRAY /dev/md0 metadata=1.2 name=ajay-ubuntu:0 UUID=3fec1452:6d82d7e5:b2ea572a:$
ARRAY /dev/md2 metadata=1.2 name=ajay-ubuntu:2 UUID=39d1fe40:60274276:67049131:$
ARRAY /dev/md1 metadata=1.2 name=ajay-ubuntu:1 UUID=c07fed63:c47033a1:c1a24a04:$

我按照以下教程进行操作数字海洋

知道这里发生了什么事或我把哪里搞砸了吗?谢谢。

相关内容