В системе на /dev/da0 система. Поставил второй диск /dev/da1 (на нем создал разделы почти как на da0)
Можно ли на работающей системе сделать на /dev/da1 зеркало, дождаться синхронизации, отаттачить /dev/da0, выключть машину, вытянуть /dev/da0, загрузиться и убрать зеркало :) Хочется обойтись без загрузок с LiveCDgpart list
Geom name: da0
modified: false
state: OK
fwheads: 255
fwsectors: 32
last: 124978519
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da0p1
Mediasize: 524288 (512K)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 20480
Mode: r0w0e0
efimedia: HD(1,GPT,06868afa-1299-11e8-8b31-0018fe7a25c6,0x28,0x400)
rawuuid: 06868afa-1299-11e8-8b31-0018fe7a25c6
rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
label: gptboot0
length: 524288
offset: 20480
type: freebsd-boot
index: 1
end: 1063
start: 40
2. Name: da0p2
Mediasize: 2147483648 (2.0G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 1048576
Mode: r1w1e0
efimedia: HD(2,GPT,068f4f3c-1299-11e8-8b31-0018fe7a25c6,0x800,0x400000)
rawuuid: 068f4f3c-1299-11e8-8b31-0018fe7a25c6
rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
label: swap0
length: 2147483648
offset: 1048576
type: freebsd-swap
index: 2
end: 4196351
start: 2048
3. Name: da0p3
Mediasize: 61839769600 (58G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 2148532224
Mode: r1w1e1
efimedia: HD(3,GPT,069664f9-1299-11e8-8b31-0018fe7a25c6,0x400800,0x732f800)
rawuuid: 069664f9-1299-11e8-8b31-0018fe7a25c6
rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
label: zfs0
length: 61839769600
offset: 2148532224
type: freebsd-zfs
index: 3
end: 124977151
start: 4196352
Consumers:
1. Name: da0
Mediasize: 63989022720 (60G)
Sectorsize: 512
Mode: r2w2e3
Geom name: da1
modified: false
state: OK
fwheads: 255
fwsectors: 32
last: 143305879
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da1p1
Mediasize: 524288 (512K)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 20480
Mode: r0w0e0
efimedia: HD(1,GPT,88c6fcf8-cbff-11ea-9146-0018fe7a25c6,0x28,0x400)
rawuuid: 88c6fcf8-cbff-11ea-9146-0018fe7a25c6
rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
label: (null)
length: 524288
offset: 20480
type: freebsd-boot
index: 1
end: 1063
start: 40
2. Name: da1p2
Mediasize: 2147483648 (2.0G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 544768
Mode: r0w0e0
efimedia: HD(2,GPT,97548b08-cbff-11ea-9146-0018fe7a25c6,0x428,0x400000)
rawuuid: 97548b08-cbff-11ea-9146-0018fe7a25c6
rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
label: (null)
length: 2147483648
offset: 544768
type: freebsd-swap
index: 2
end: 4195367
start: 1064
3. Name: da1p3
Mediasize: 70866960384 (66G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 2148028416
Mode: r0w0e0
efimedia: HD(3,GPT,aa786c2d-cbff-11ea-9146-0018fe7a25c6,0x400428,0x8400000)
rawuuid: aa786c2d-cbff-11ea-9146-0018fe7a25c6
rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
label: (null)
length: 70866960384
offset: 2148028416
type: freebsd-zfs
index: 3
end: 142607399
start: 4195368
Consumers:
1. Name: da1
Mediasize: 73372631040 (68G)
Sectorsize: 512
Mode: r0w0e0
zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTR OOT
zroot 57,5G 12,9G 44,6G - - 36% 22% 1.00x ONLINE -