New answers tagged raid
The Debian Wiki has an excellent entry describing what I required. Following this I made my own rules under /etc/udev/rules.d/20-disk-bay.rules. I have only included the first two sata port mappings as an example: # There are different DEVPATHs for major kernel versions! # Example for SATA N: # # Kernel < 3 DEVPATH # *1f.2/hostN/targetN:0:0/N:0:0:0* # # ...
This will fix it permanently: # mdadm -Es > /etc/mdadm.conf # dracut -H -f /boot/initramfs-$(uname -r).img $(uname -r)
If you create an array with: mdadm --create --name=DATA00 --level=6 --auto=part --verbose /dev/md0 --raid-devices=6 /dev/sda1 /dev/sdb1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1 and then do: mdadm --detail --scan >> /etc/mdadm/mdadm.conf you get an entry in mdadm.conf like: ARRAY /dev/md/DATA00 metadata=1.2 name=owl:DATA00 ...
Hardware RAID implementation is realy specific to a controller. In case of non serous hardwarte controller you have absolutly no warrenty to recorver your data in cas of a controller faillure. On software RAID with free softwere you can try to add the disk and a new computer, but it's not your case.
So assuming you are using mdadm you can do exactly what you suggest The only caveat is that the raid monitoring utility will generally only handle one disk at a time and normally when you have marked one as failed. Further you just need to ensure that it has completed copying the data before removing the old disks from the raid array otherwise you'll end up ...
I don't see how you can add two disks at the same time in the general case and migrate over. (I know that you can do things like that with LVM trickery if that's what you use for your RAID1.) What looks like it should work in any case is this: pull old HD2 insert new HD2 wait for RAID to handle failure of HD2 by copying old HD1 onto new HD2 pull old HD1 ...
Apparently you just created the array. The copying of files has nothing to do with it. Both disks are supposed to always contain the same data, so when you first create the array, the entire contents of the first drive has to be copied to the second to ensure they are identical. After that finishes, then writing data just writes to both drives at the same ...
Yes, there would be a problem using Ubuntu on this hardware. HP does not fully support Ubuntu on this RAID controller. Ubuntu's notes are here. Using an operating system more geared to physical hardware installation (like RHEL or CentOS) is a better option. See: Installing Ubuntu 12.04 on HP Proliant DL380e with 1TB SAS Drive
Top 50 recent answers are included