I have small problems with adding raid on SME: I have 2 disk of 1TB in RAID1, so far no problem it works.
I plugged in 2 other discs 1.5TB and performing manipulation on the web page newbee:
"How to increase size of filesystem root (/) with 2 disk RAID 1"
Partitioning of the 2 discs sdc1 and sdd1 goes well, then
I type
sfdisk -d /dev/sdc |sfdisk /dev/sdd This gives me:
Verify that no other uses disk right now ...
OK
Disk /dev/sdd: 182401 cylindres, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End # cyls # blocks Id System
/ dev/sdd1 0 + 182400 182401 to 1465136001 fd Linux raid autodetect
/ dev/sdd2 0 - 0 0 0 Empty
/ dev/sdd3 0 - 0 0 0 Empty
/ dev/sdd4 0 - 0 0 0 Empty
New location:
Units = sectors of 512 bytes, counting from 0
Periph Boot Start End # sectors Id System
/ dev/sdd1 63 2930272064 2930272002 fd Linux raid autodetect
/ dev/sdd2 0 - 0 0 Empty
/ dev/sdd3 0 - 0 0 Empty
/ dev/sdd4 0 - 0 0 Empty
WARNING: no primary partition marked bootable (active)
It does not matter for LILO, but in a DOS MBR which shall commence not that hard.
Successfully writing the new partition table
Re-reading the partition table...
If you create or edit a DOS partition, /dev/foo7, for example, then
use dd(1) to zero the first 512 bytes:
dd if=/dev/zero of=/dev/foo7 bs=512 count=1
when I type the following line in the console:
mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdd1
it said:
mdadm: Cannot open /dev/sdc1: Device or resource busy
mdadm: Cannot open /dev/sdd1: Device or resource busy
mdadm: create aborted
Bookmarks