Hi guys,
So we've been testing FreeBSD to act as our web server and we've been running it off a USB drive with ZFS. I have mirrored the USB drive to a HD internal to the server now I want to remove the USB and replace it with another internal HD.
I have used ZFS before (but never with FreeBSD) so I'm aware of the ZFS replace, split, and attach commands but before I move forward I want to make sure there is nothing I'm missing on the FreeBSD side.
Here's the process I plan on taking:
Is there anything else I need to do to preserve the zroot? Or and files I need to change on FreeBSD?
Thanks in advance for your advice
So we've been testing FreeBSD to act as our web server and we've been running it off a USB drive with ZFS. I have mirrored the USB drive to a HD internal to the server now I want to remove the USB and replace it with another internal HD.
I have used ZFS before (but never with FreeBSD) so I'm aware of the ZFS replace, split, and attach commands but before I move forward I want to make sure there is nothing I'm missing on the FreeBSD side.
Here's the process I plan on taking:
Code:
zpool status tank1
pool: tank1
state: ONLINE
scan: scrub repaired 224K in 0h21m with 0 errors on Fri Feb 22 19:08:02 2013
config:
NAME STATE READ WRITE CKSUM
tank1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da0s1 ONLINE 0 0 0
ada0 ONLINE 0 0 0
#zpool split tank1 tank2 da0s1
#zpool attach tank1 ada1
Is there anything else I need to do to preserve the zroot? Or and files I need to change on FreeBSD?
Thanks in advance for your advice