Hi,
I got two new harddisks and used mdadm to create a mirror array:
then I added following to my /etc/mdadm/mdadm.conf:
On bootup I get told:
mdadm: only give one device per ARRAY line: /dev/md0 and /dev/sdc6
which i don't quite understand as I followed the instructions i found on http://linuxdevcenter.com/pub/a/linu...2/05/RAID.html
But then also, how do I get this mounted? I did create ext 3 partitions on those disks that i can see with QtParted (showing me three disks: /dev/sda (system) /dev/sdb & /dev/sdc).
cfdisk /dev/md0 tells me:
FATAL ERROR: Cannot read disk drive
Press any key to exit cfdisk
What's going on here? What am i missing?
Thanks!
Ron
I got two new harddisks and used mdadm to create a mirror array:
Code:
mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdb6 /dev/sdc6
Code:
# mdadm.conf # # Please refer to mdadm.conf(5) for information about this file. # # by default, scan all partitions (/proc/partitions) for MD superblocks. # alternatively, specify devices to scan, using wildcards if desired. DEVICE /dev/sdb6 /dev/sdc6 # auto-create devices with Debian standard permissions CREATE owner=reg group=reg mode=0660 auto=yes # automatically tag new arrays as belonging to the local system HOMEHOST <system> # instruct the monitoring daemon where to send mail alerts MAILADDR root # next line added by reg 09/01/2009 ARRAY /dev/md0 devices=/dev/sdb6, /dev/sdc6 # This file was auto-generated on Mon, 31 Aug 2009 20:47:31 -0700 # modified by reg 09/01/2009 # by mkconf $Id$
mdadm: only give one device per ARRAY line: /dev/md0 and /dev/sdc6
which i don't quite understand as I followed the instructions i found on http://linuxdevcenter.com/pub/a/linu...2/05/RAID.html
But then also, how do I get this mounted? I did create ext 3 partitions on those disks that i can see with QtParted (showing me three disks: /dev/sda (system) /dev/sdb & /dev/sdc).
cfdisk /dev/md0 tells me:
FATAL ERROR: Cannot read disk drive
Press any key to exit cfdisk
What's going on here? What am i missing?
Thanks!
Ron
Comment