Inhaltsverzeichnis

Software-RAID

mdadm --examine --scan
mdadm --assemble --scan
mount /dev/md/... /c

LVM

mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sd[abc]3
watch -n .1 cat /proc/mdstat
mdadm --misc --detail /dev/md[012] | less
pvcreate /dev/md0
vgcreate VolGroupArray /dev/md0
lvcreate -L 20G VolGroupArray -n lvroot
lvcreate -L 15G VolGroupArray -n lvvar
lvcreate -l +100%FREE VolGroupArray -n lvhome
mdadm --examine --scan > /mnt/etc/mdadm.conf
mdadm --assemble /dev/md1 /dev/sdg1

SW-RAID Daten retten

mknod /dev/md0 b 9 0
mdadm --assemble --force /dev/md0 /dev/sda1
mount /dev/md0 /c
umount /c
mdadm --stop /dev/md0

alternativ: dm-raid (fake raid)

dmraid -ay -v