如何打破 RAID-1 并从辅助部分启动?

如何打破 RAID-1 并从辅助部分启动?

我有 2 个硬盘,分区相同,并且它们之间有 RAID-1。我想打破镜像(这样没问题),然后从镜像的次要一侧启动无需使用 Live-CD(这很重要)。另外,我没有服务器的物理访问权限。

我尝试使用辅助分区 (/dev/sdb*) 创建新阵列并设置 grub 和 /etc/mdadm.conf,但不起作用。我想我漏掉了一些东西。

Following is my partitioning (for sda, sdb is the same):
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00029482

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         256     2048000   fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2   *         256         287      256000   fd  Linux raid autodetect
Partition 2 does not end on cylinder boundary.
/dev/sda3             287        3591    26534912   fd  Linux raid autodetect
/dev/sda4            3591        7833    34074624    5  Extended
/dev/sda5            3591        3846     2048000   fd  Linux raid autodetect
/dev/sda6            3846        4101     2048000   fd  Linux raid autodetect
/dev/sda7            4101        4356     2048000   fd  Linux raid autodetect
/dev/sda8            4356        4611     2048000   fd  Linux raid autodetect
/dev/sda9            4611        4866     2048000   fd  Linux raid autodetect
/dev/sda10           4866        5121     2048000   fd  Linux raid autodetect
/dev/sda11           5122        5377     2048000   fd  Linux raid autodetect
/dev/sda12           5377        5632     2048000   fd  Linux raid autodetect
/dev/sda13           5632        7283    13266944   fd  Linux raid autodetect
/dev/sda14           7284        7833     4413440   fd  Linux raid autodetect

相关内容