Hello!
I'm trying to follow handbook instructions (chapter 18.3.3) on setting up a software RAID1 between an existing installation on SSD da6 to a same model/capacity SSD da7. Actually, da6 is using bare BSD Label partition scheme without MBR (I know, I know...). What I did so far:
I'm a little confused about how to proceed from this point. I'm not sure how I should do the partitions backup/restore since my partition scheme differs from the guide.
Any help would be very appreciated. Thanks in advance!
I'm trying to follow handbook instructions (chapter 18.3.3) on setting up a software RAID1 between an existing installation on SSD da6 to a same model/capacity SSD da7. Actually, da6 is using bare BSD Label partition scheme without MBR (I know, I know...). What I did so far:
Code:
# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 0 -> 16
# diskinfo -v da6 | head -n3
da6
512 # sectorsize
120034123776 # mediasize in bytes (112G)
# geom zero load
# gnop create -s 120034123776 gzero
# gmirror label -v gm0 gzero.nop da7
Metadata value stored on gzero.nop.
Metadata value stored on da7.
Done.
# gmirror forget gm0
# gpart show da6
=> 0 234441648 da6 BSD (112G)
0 226492416 1 freebsd-ufs (108G)
226492416 7949231 2 freebsd-swap (3.8G)
234441647 1 - free - (512B)
I'm a little confused about how to proceed from this point. I'm not sure how I should do the partitions backup/restore since my partition scheme differs from the guide.
Any help would be very appreciated. Thanks in advance!