We''ve been using ZFS for about two years now and make a lot of use of
zfs
send/receive to send our data from one X4500 to another. This has been
working well for the past 18 months that we''ve been doing the sends.
I recently upgraded the receiving thumper to Solaris 10 u8 and since then,
I''ve been having no end of problems. We were asked to upgrade to
attempt to
resolve a driver issue we''ve been having with the X4500s and I also
upgraded the zfs version running on the system.
The last snapshot received was named thumperpool/mnt at 200911301000 and since
then we''ve been completely unable to receive any snapshots -- even if
I''ve
literally just snapshotted, removed back to the previous snapshot, and then
tried to receive that same snapshot.
Here''s a demo of the behaviour we''re seeing:
117 root at thumper2:~> cat 1000_1100 | zfs receive -v thumperpool
receiving incremental stream of vlepool/mnt at 200911301100 into thumperpool at
200911301100
cannot receive incremental stream: destination thumperpool has been modified
since most recent snapshot
If I modify any data on the system, snapshot it, rollback the system, and
attempt to receive the snapshot back, I get the same:
122 root at thumper2:/thumperpool/mnt> zfs list | tail
thumperpool/mnt at 200911291700 131M - 1.77T -
thumperpool/mnt at 200911292200 114M - 1.77T -
thumperpool/mnt at 200911300000 85.2M - 1.77T -
thumperpool/mnt at 200911300100 87.2M - 1.77T -
thumperpool/mnt at 200911300300 102M - 1.77T -
thumperpool/mnt at 200911300400 81.0M - 1.77T -
thumperpool/mnt at 200911300500 83.3M - 1.77T -
thumperpool/mnt at 200911300700 86.7M - 1.77T -
thumperpool/mnt at 200911300900 102M - 1.77T -
thumperpool/mnt at 200911301000 0 - 1.77T -
123 root at thumper2:/thumperpool/mnt> dd if=/dev/zero of=mymodification
bs=512 count=100
100+0 records in
100+0 records out
124 root at thumper2:/thumperpool/mnt> zfs list | tail
thumperpool/mnt at 200911291700 131M - 1.77T -
thumperpool/mnt at 200911292200 114M - 1.77T -
thumperpool/mnt at 200911300000 85.2M - 1.77T -
thumperpool/mnt at 200911300100 87.2M - 1.77T -
thumperpool/mnt at 200911300300 102M - 1.77T -
thumperpool/mnt at 200911300400 81.0M - 1.77T -
thumperpool/mnt at 200911300500 83.3M - 1.77T -
thumperpool/mnt at 200911300700 86.7M - 1.77T -
thumperpool/mnt at 200911300900 102M - 1.77T -
thumperpool/mnt at 200911301000 73.1K - 1.77T -
125 root at thumper2:/thumperpool/mnt> zfs snapshot thumperpool/mnt at
fail_demo
126 root at thumper2:/thumperpool/mnt> zfs list | tail
thumperpool/mnt at 200911292200 114M - 1.77T -
thumperpool/mnt at 200911300000 85.2M - 1.77T -
thumperpool/mnt at 200911300100 87.2M - 1.77T -
thumperpool/mnt at 200911300300 102M - 1.77T -
thumperpool/mnt at 200911300400 81.0M - 1.77T -
thumperpool/mnt at 200911300500 83.3M - 1.77T -
thumperpool/mnt at 200911300700 86.7M - 1.77T -
thumperpool/mnt at 200911300900 102M - 1.77T -
thumperpool/mnt at 200911301000 73.1K - 1.77T -
thumperpool/mnt at fail_demo 0 - 1.77T -
127 root at thumper2:/thumperpool/mnt> zfs send -i thumperpool/mnt at
200911301000 thumperpool/mnt at fail_demo > /tmp/fail_demo
128 root at thumper2:/thumperpool/mnt> zfs rollback thumperpool/mnt at
200911301000
cannot rollback to ''thumperpool/mnt at 200911301000'': more
recent snapshots exist
use ''-r'' to force deletion of the following snapshots:
thumperpool/mnt at fail_demo
129 root at thumper2:/thumperpool/mnt> zfs rollback -r thumperpool/mnt at
200911301000
130 root at thumper2:/thumperpool/mnt> zfs list | tail
thumperpool/mnt at 200911291700 131M - 1.77T -
thumperpool/mnt at 200911292200 114M - 1.77T -
thumperpool/mnt at 200911300000 85.2M - 1.77T -
thumperpool/mnt at 200911300100 87.2M - 1.77T -
thumperpool/mnt at 200911300300 102M - 1.77T -
thumperpool/mnt at 200911300400 81.0M - 1.77T -
thumperpool/mnt at 200911300500 83.3M - 1.77T -
thumperpool/mnt at 200911300700 86.7M - 1.77T -
thumperpool/mnt at 200911300900 102M - 1.77T -
thumperpool/mnt at 200911301000 0 - 1.77T -
131 root at thumper2:/thumperpool/mnt> cat /tmp/fail_demo | zfs receive
thumperpool -v
too many arguments
usage:
receive [-vnF] <filesystem|volume|snapshot>
receive [-vnF] -d <filesystem>
For the property list, run: zfs set|get
For the delegated permission list, run: zfs allow|unallow
132 root at thumper2:/thumperpool/mnt> cat /tmp/fail_demo | zfs receive -v
thumperpool
receiving incremental stream of thumperpool/mnt at fail_demo into thumperpool at
fail_demo
cannot receive incremental stream: destination thumperpool has been modified
since most recent snapshot
133 root at thumper2:/thumperpool/mnt> cat /tmp/fail_demo | zfs receive -vF
thumperpool
receiving incremental stream of thumperpool/mnt at fail_demo into thumperpool at
fail_demo
cannot receive incremental stream: most recent snapshot of thumperpool does not
match incremental source
--
Systems Developer
e: andrew.nicols at luns.net.uk
im: a.nicols at jabber.lancs.ac.uk
t: +44 (0)1524 5 10147
Lancaster University Network Services is a limited company registered in
England and Wales. Registered number: 04311892. Registered office:
University House, Lancaster University, Lancaster, LA1 4YW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL:
<http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20091210/0e95b661/attachment.bin>