I want to mirror 2 SSD drives. Yesterday I managed to convert my system to ahci, so instead of /dev/ad4 and /dev/ad6 the drives are now /dev/ada0 and /dev/ada1.
So, I followed the handbook, but substituted the device name:
Likewise, I substituted ada0 with gm0 in /etc/fstab.
Unfortunately, the system will not boot. My root device was /dev/ada0p2 and (if I'm correct) should now be /dev/gm0p2. It appears I'm wrong, but what should the root device be?
So, I followed the handbook, but substituted the device name:
# gmirror label -vb round-robin gm0 /dev/ada0
Likewise, I substituted ada0 with gm0 in /etc/fstab.
Unfortunately, the system will not boot. My root device was /dev/ada0p2 and (if I'm correct) should now be /dev/gm0p2. It appears I'm wrong, but what should the root device be?
Code:
mountroot> ?
List of GEOM managed disk devices:
mirror/gm0 ada1 ada0 da5 da4 da3 da2 da1 acd0
Loader variables:
vfs.root.mountfrom=ufs:/dev/mirror/gm0p2
vfs.root.mountfrom.options=rw