zfs receive -s Missing Resume Token

Status
Not open for further replies.

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
Any idea what I might be doing wrong here?

Code:
# uname -a
FreeBSD nas1.mcdonaldtechnology.com 11.1-STABLE FreeBSD 11.1-STABLE #0 r321665+e0c4ca60dfc(freenas/11.1-stable): Wed May 30 14:18:20 EDT 2018	 root@nemesis.tn.ixsystems.com:/freenas-11-releng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64  amd64
# zfs send -Rv vol0/jacob.mcdonald@manual-20180618 | zfs receive -Fdvs vol1
... snip ...
15:42:05   1.81T   vol0/jacob.mcdonald@auto-20170227.1402-10y									   
15:42:06   1.81T   vol0/jacob.mcdonald@auto-20170227.1402-10y									   
15:42:07   1.81T   vol0/jacob.mcdonald@auto-20170227.1402-10y									   
TIME		SENT   SNAPSHOT																		 
internal error: Invalid argument																	
warning: cannot send 'vol0/jacob.mcdonald@auto-20170313.1402-10y': signal received				 
TIME		SENT   SNAPSHOT																		 
warning: cannot send 'vol0/jacob.mcdonald@auto-20170327.1402-10y': Broken pipe
# zfs get receive_resume_token vol0/jacob.mcdonald									 
NAME				 PROPERTY			  VALUE	  SOURCE										
vol0/jacob.mcdonald  receive_resume_token  -		  -

I specified -s for resumable transfer, but the receiving dataset did not have a token to reuse after the send broke...
 

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
The token would be on the vol1 side.

Sorry, my mistake. I think I tried both sides just to make sure. The token is also not found on the receiving side:
Code:
# zfs get receive_resume_token vol1/jacob.mcdonald
NAME				 PROPERTY			  VALUE	  SOURCE
vol1/jacob.mcdonald  receive_resume_token  -		  -

Any other ideas?
 

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
I was able to send the latest snapshot without problem. I did some searching and found a couple ZFS userland bugs related to high quantity of snapshots.

It would have liked to preserve all of the snapshots, but I do have a versioned-object off-site backup for worst-case recovery, so it's not a deal-breaker.
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
The only other idea is that the token is on
zfs get receive_resume_token vol1
rather than any sub-dataset.
 
Status
Not open for further replies.
Top