將linux 一般分割區轉成RAID1
chenpc December 13th, 2008
Set normal partition to RAID1
Boot into Live! CD
fdisk /dev/sdb ; partition sdb3 as partition type ‘fd’
mount /dev/sda3 /mnt/gentoo
mdadm -C /dev/md0 -l 1 -n 2 missing /dev/sdb3
mkdir /mnt/raid
mount /dev/md0 /mnt/raid
rsync -avH –progress /mnt/gentoo /mnt/raid
fdisk /dev/sda ; partition sda3 as partition type ‘fd’
madm /dev/md0 -a /dev/sda3
edit fstab /mnt/raid/etc/fstab to new root partition ‘/dev/md0′
reboot and set mdadm daemon as well.
- Uncategorized
- Comments(0)