Hi!
I run a Debian Etch server with two IDE disks in raid1 config. Since I've got almost no size left, I had bought two new IDE disks. Now I have same size of all four disks, 320 GB each. The two new disks are added as slave disk, /dev/hdb and /dev/hdd, since the raid1 uses /dev/hda and /dev/hdc. These new disks are not yet in use though. Not even partitioned.
I read at
http://unthought.net/Software-RAID.H...RAID.HOWTO.txt that it's no good to use slave disks in a raid1 configuration. Therefore I wonder if I add them to use as a raid10 or raid1+0 solution. Could that be doable? My problem is space in the first place, but I would like the security of mirroring.
I would appreciate any comment if this is bad thing to even try.
My setup today is as below:
monster:~# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Mon Aug 13 20:48:23 2007
Raid Level : raid1
Array Size : 497856 (486.27 MiB 509.80 MB)
Device Size : 497856 (486.27 MiB 509.80 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sat Mar 15 06:25:49 2008
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 9abf499c:64dc4841:641eba6f:09dde039
Events : 0.30
Number Major Minor RaidDevice State
0 3 1 0 active sync /dev/hda1
1 22 1 1 active sync /dev/hdc1
monster:~# mdadm --detail /dev/md1
/dev/md1:
Version : 00.90.03
Creation Time : Tue Aug 14 21:52:34 2007
Raid Level : raid1
Array Size : 309138688 (294.82 GiB 316.56 GB)
Device Size : 309138688 (294.82 GiB 316.56 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Sat Mar 15 18:45:03 2008
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : bb58765c:3dd91164:2bf158eb:3fb6ea5a
Events : 0.34
Number Major Minor RaidDevice State
0 3 3 0 active sync /dev/hda3
1 22 3 1 active sync /dev/hdc3
monster:~# mdadm --detail /dev/md2
/dev/md2:
Version : 00.90.03
Creation Time : Tue Aug 14 21:55:19 2007
Raid Level : raid1
Array Size : 2931776 (2.80 GiB 3.00 GB)
Device Size : 2931776 (2.80 GiB 3.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent
Update Time : Thu Mar 6 08:23:16 2008
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : a369f412:b0ee8f1a:ca3122fe:907a7d4e
Events : 0.18
Number Major Minor RaidDevice State
0 3 2 0 active sync /dev/hda2
1 22 2 1 active sync /dev/hdc2
monster:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 291G 271G 4.9G 99% /
tmpfs 1.9G 0 1.9G 0% /lib/init/rw
udev 10M 60K 10M 1% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/md0 471M 22M 425M 5% /boot
monster:~#