pertheusual
April 20th, 2012, 08:23 AM
I'm running into some weirdness with mdadm that I was hoping someone might be able to help me with. I replaced old drives with new ones and expanded the device, and after rebooting the md device is smaller than it was originally.
Basically, have 2 1TB drives in raid1. I get two new 3TB drives to upgrade my storage.
1. Installed 2 new drives
2. Added them as spares in the array
3. Failed over each drive and allowed time to resync between each.
4. At this point, all is well, 'mdadm --detail /dev/md0' registers old drives as faulty spares
5. Ran 'mdadm /dev/md0 --remove failed' twice
6. --detail now shows only two new drives, md size ~1TB
7. Ran 'mdadm --grow /dev/md0 --size=max'
8. --detail now shows size of ~3TB
9. Reboot
10. --details now shows size of ~750GB
I'm at a bit of a loss, any thoughts?
Basically, have 2 1TB drives in raid1. I get two new 3TB drives to upgrade my storage.
1. Installed 2 new drives
2. Added them as spares in the array
3. Failed over each drive and allowed time to resync between each.
4. At this point, all is well, 'mdadm --detail /dev/md0' registers old drives as faulty spares
5. Ran 'mdadm /dev/md0 --remove failed' twice
6. --detail now shows only two new drives, md size ~1TB
7. Ran 'mdadm --grow /dev/md0 --size=max'
8. --detail now shows size of ~3TB
9. Reboot
10. --details now shows size of ~750GB
I'm at a bit of a loss, any thoughts?