Hi, all,

Environment: S10U3 running as VMWare Workstation 6 guest; Fedora 7 is
the VMWare host, 1 GB RAM

I'm creating a solution in which I need to be able to save off state on
one host, then restore it on another. I'm using ZFS snapshots with ZFS
receive and it's all working fine, except for some strange behavior when
I perform multiple rollbacks and receives.

Here's what I'm seeing:

- On the first host (a VMWare virtual machine, actually), I create an
initial snapshot
- I modify the state of the ZFS file system
- I create a second snapshot
- I perform a zfs send with the -i argument between the two snapshots.
Size of incremental diffs file is around 1.3 GB.
- On the second host (also a VMWare virtual machine, which is a copy of
the first host), I perform zfs receive
- The receive performs correctly in around 3 to 3 1/2 minutes, and at
the end of it, the state of the second host is identical to the state of
the first host

Now, when I perform the following steps:

- Restore the state of the second host to the initial state (using zfs
rollback -r snapshotname)
- Run zfs receive for a second time on the second host

Now the second host appears to lock up. I wait half an hour and the zfs
receive command has not completed. I try to terminate the command with
cntl-c and I get no response.

But if I take the following action:

- Open a second terminal window on the second host
- Power off the second host (reboot might be enough here but since it's
VMWare, poweroff is easy enough)
- Restart the second host
- Restore the state of the second host to the initial state (using zfs
rollback -r snapshotname)
- Run zfs receive on the second host

Now the state of the second host is restored correctly. The zfs receive
takes around 3 to 3/12 minutes.

So, is there something I need to do/run on S10 that will let me run zfs
receive for the second time without having to restart the OS?

Thanks,

David

-- 
David Goldsmith
Course Developer
Sun Identity Management Suite
Sun Learning Services
Voice: (415) 375-8236 (inside Sun: x81217)
E-mail: [EMAIL PROTECTED]
Blog: http://blogs.sun.com/openroad

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to