On Thu, Mar 12, 2015 at 1:39 AM, Michel Jansens <[email protected]> wrote:
> You should use "zfs send -Rp zones@snap |zfs receive -Fu tempzones“ to > send all data with the right structure ( including clones of images). > Just before switching to the new/temporary storage, you stop all VMs and > do a last incremental send/receive (If you do a few incrementals before, > you can limit the downtime). > > Then you reboot and select the ‘no install’ option in GRUB ( login:root > pw:root ). > zpool import oldzones zones #import/rename zones to oldzones: > zpool import tempzones zones #import/rename tempzones to zones: > reboot > I thought I'd resurrect this thread because I finally go around to working on this. I tried to follow this workflow, but it ended up breaking the SmartOS box (not permanently). What I did was create a temporary zpool called tempzones with two large SATA HDDs connected to my motherboard SATA ports. I then snap-shotted my primary zones zpool and zfs sent it to the temporary zpool as specified by Michael. The zfs send completed successfully, but when then SmartOS was acting strange. I rebooted and box seemed to boot into the temporary zpool or something along these lines -- I'm not entirely sure. My primary zpool is on a SAS RAID card, so perhaps the my box is favoring the local SATA ports of something? I wouldn't have thought SmartOS would book into a pool names "tempzones," but I think it did. This step from above seems to be sending the snapshot right into the temporary zpool: zfs send -Rp zones@snap |zfs receive -Fu tempzones Would it be better for me to zfs send my primary zpool snapshot to a snapshot on the temporary zpool instead of right into the pool itself? Thanks. Greg ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
