Let's hope I haven't broke it
Nov. 24th, 2014 11:43 amJust replaced two old 500Gb disks with two 500Gb SSDs ( Crucial CT512MX100 ). Now these disks were my "internal" disks, being used for root+boot.
So disconnected disk 2; this caused "fail" and mirror break. Remove disk. Install SSD, partition, re-attach to mirror. Hmm, old disk was sdg, this shows as sdp. This left a stale /dev/sdg1 in my mirror config that I couldn't remove at all. Ah, let's reboot. OK, now it's back as sdg and mdstat looks good.
Disconnect disk 1 (sd1); again a fail and mirror break. Remove disk... oh, wait, no. I can't physically remove it! The memory chips are too tall and are blocking the path! Grr... oh well, let's leave that there, but unplugged. Install second SSD; good this shows as sda. Partition, add to mirror. OK, good!
grub-install --recheck /dev/sda
grub-install /dev/sdg
And I think that's it! With luck this will work.
Although... odd! The two disks report different geometries. I wonder if one is because it's on the internal adapter and the other is on a plugin card...
So disconnected disk 2; this caused "fail" and mirror break. Remove disk. Install SSD, partition, re-attach to mirror. Hmm, old disk was sdg, this shows as sdp. This left a stale /dev/sdg1 in my mirror config that I couldn't remove at all. Ah, let's reboot. OK, now it's back as sdg and mdstat looks good.
Disconnect disk 1 (sd1); again a fail and mirror break. Remove disk... oh, wait, no. I can't physically remove it! The memory chips are too tall and are blocking the path! Grr... oh well, let's leave that there, but unplugged. Install second SSD; good this shows as sda. Partition, add to mirror. OK, good!
grub-install --recheck /dev/sda
grub-install /dev/sdg
And I think that's it! With luck this will work.
Although... odd! The two disks report different geometries. I wonder if one is because it's on the internal adapter and the other is on a plugin card...
Disk /dev/sda: 512.1 GB, 512110190592 bytes 255 heads, 63 sectors/track, 62260 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/sdg: 512.1 GB, 512110190592 bytes 26 heads, 26 sectors/track, 1479608 cylinders Units = cylinders of 676 * 512 = 346112 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes