Hello.
I have this:
I want to attach a new device to existing and create a mirroring pool. How can I right do it?
I understand that I can attch /dev/ada0 to /dev/ada1p4, but how can I make the entire disk mirrored?
https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror
This way for new devices. I have FreeBSD on /dev/ada1. Probably, the right way is to install a new system on fresh devices and move data to it. Thank you.
I have this:
Code:
# zpool status -v
pool: zroot
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
ada1p4 ONLINE 0 0 0
errors: No known data errors
#
Code:
# ls /dev/ada*
/dev/ada0 /dev/ada1 /dev/ada1p1 /dev/ada1p2 /dev/ada1p3 /dev/ada1p4
#
I understand that I can attch /dev/ada0 to /dev/ada1p4, but how can I make the entire disk mirrored?
https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror
This way for new devices. I have FreeBSD on /dev/ada1. Probably, the right way is to install a new system on fresh devices and move data to it. Thank you.