Tony Pyro
2009-Aug-19 19:13 UTC
[zfs-discuss] cannot restore to [snapshot]: destination already exists
I''m running into a problem trying to do "zfs receive", with data being replicated from a Solaris 10 (11/06 release) to a storage server running OS 118. Here is the error: root at lznas2:/backup# cat backup+mcc+users\@zn2---pre_messages_delete_20090430 | zfs receive backup/mcc/users cannot restore to backup/mcc/users at pre_messages_delete_20090430: destination already exists root at lznas2:/backup# (Incidentally, this web form won''t let me post a less-than redirect character, as in "zfs receive [less-than] file") It seems not to like the snapshot name, as specifying a different snapshot name does work: root at lznas2:/backup# cat backup+mcc+users\@zn2---pre_messages_delete_20090430 | zfs receive backup/mcc/users at some_other_name ...but I could find no evidence of the snapshot which "already exists": root at lznas2:/backup# zfs list -t all -r backup/mcc/users NAME USED AVAIL REFER MOUNTPOINT backup/mcc/users 2.31G 1.90T 2.29G /backup/mcc/users backup/mcc/users at zn2 0 - 2.29G - root at lznas2:/backup# root at lznas2:/backup# zfs list -t all | grep pre_messages_delete root at lznas2:/backup# I tried renaming backup/mcc/users, resending it from the production system & the fresh copy still produces the error when I try to apply that snapshot. Thanks! -- This message posted from opensolaris.org
Ian Collins
2009-Aug-21 08:32 UTC
[zfs-discuss] cannot restore to [snapshot]: destination already exists
Tony Pyro wrote:> I''m running into a problem trying to do "zfs receive", with data being replicated from a Solaris 10 (11/06 release) to a storage server running OS 118. Here is the error: > > root at lznas2:/backup# cat backup+mcc+users\@zn2---pre_messages_delete_20090430 | zfs receive backup/mcc/users > cannot restore to backup/mcc/users at pre_messages_delete_20090430: destination already exists > root at lznas2:/backup# > >How was the file created? -- Ian.
Tony Pyro
2009-Aug-24 14:10 UTC
[zfs-discuss] cannot restore to [snapshot]: destination already exists
I believe I had just redirected zfs send to a file, then ftp''ed the file. I tried that after my script had been producing the error. It had been trying to do "zfs send | socat | zfs receive" essentially. -- This message posted from opensolaris.org