SOLVED Error when trying to use zfs send to move data.

Status
Not open for further replies.

ChinookTx

Dabbler
Joined
Feb 11, 2016
Messages
29
I'm trying to move a dataset from one volume to another. I created a manual recursive snapshot. I'm now getting an error when issuing the zfs move command:

Code:
[root@freenas] /# zfs send -vR Volume3/Music@manual-20160421 | zfs receive -vF Volume1
full send of Volume3/Music@manual-20160421 estimated size is 29.4G
total estimated size is 29.4G
TIME        SENT   SNAPSHOT
cannot unmount '/var/db/system': Device busy
warning: cannot send 'Volume3/Music@manual-20160421': signal received


Anything I am doing wrong?

Code:
[root@freenas] /# zfs list
NAME                                                       USED  AVAIL  REFER  MOUNTPOINT
Volume1                                                   1.93T  3.17T   372K  /mnt/Volume1
...
Volume3                                                    989G   809G   104K  /mnt/Volume3
Volume3/Music                                             28.9G   809G  28.9G  /mnt/Volume3/Music
...
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Can you give us the whole zfs list. my guess is your system dataset is under Volume1, and the receive is trying to overwrite it.
 

ChinookTx

Dabbler
Joined
Feb 11, 2016
Messages
29
Code:
[root@freenas] ~# zfs list
NAME                                                       USED  AVAIL  REFER  MOUNTPOINT
Volume1                                                   1.93T  3.17T   372K  /mnt/Volume1
Volume1/.system                                            237M  3.17T   174K  legacy
Volume1/.system/configs-0dc2ca1e7fa9464d8c4d7c4fd81f6855  14.1M  3.17T  14.1M  legacy
Volume1/.system/configs-241bf4dd02d1413596a7e0d91081dbbf   604K  3.17T   604K  legacy
Volume1/.system/configs-4fbef5c472fe4bc7b1b21c7f8739b229  48.1M  3.17T  48.1M  legacy
Volume1/.system/cores                                     92.2M  3.17T  92.2M  legacy
Volume1/.system/rrd-0dc2ca1e7fa9464d8c4d7c4fd81f6855       140K  3.17T   140K  legacy
Volume1/.system/rrd-241bf4dd02d1413596a7e0d91081dbbf       140K  3.17T   140K  legacy
Volume1/.system/rrd-4fbef5c472fe4bc7b1b21c7f8739b229       186K  3.17T   186K  legacy
Volume1/.system/samba4                                    51.3M  3.17T  51.3M  legacy
Volume1/.system/syslog-0dc2ca1e7fa9464d8c4d7c4fd81f6855   9.71M  3.17T  9.71M  legacy
Volume1/.system/syslog-241bf4dd02d1413596a7e0d91081dbbf    703K  3.17T   703K  legacy
Volume1/.system/syslog-4fbef5c472fe4bc7b1b21c7f8739b229   19.2M  3.17T  19.2M  legacy
Volume1/Marie                                             1.93T  3.17T  1.93T  /mnt/Volume1/Marie
Volume1/jails                                              140K  3.17T   140K  /mnt/Volume1/jails
Volume2                                                    762G  1.01T    96K  /mnt/Volume2
Volume2/iSCSIVol2                                          762G  1.10T   667G  -
Volume3                                                    989G   809G   104K  /mnt/Volume3
Volume3/Marie                                              398G   809G   398G  /mnt/Volume3/Marie
Volume3/Music                                             28.9G   809G  28.9G  /mnt/Volume3/Music
Volume3/Pictures                                          15.3G   809G  15.3G  /mnt/Volume3/Pictures
Volume3/Software                                          45.9G   809G  22.1G  /mnt/Volume3/Software
Volume3/Software/OS_ISOs                                  23.8G   809G  23.8G  /mnt/Volume3/Software/OS_ISOs
Volume3/Videos                                             498G   809G   498G  /mnt/Volume3/Videos
Volume3/jails                                             1.94G   809G   120K  /mnt/Volume3/jails
Volume3/jails/.warden-template-pluginjail                  469M   809G   469M  /mnt/Volume3/jails/.warden-template-pluginjail
Volume3/jails/.warden-template-pluginjail-9.3-x64          449M   809G   449M  /mnt/Volume3/jails/.warden-template-pluginjail-9.3-x64
Volume3/jails/plexmediaserver_1                           1.04G   809G  1.50G  /mnt/Volume3/jails/plexmediaserver_1
Volume3/tftp                                               944K   809G   944K  /mnt/Volume3/tftp
freenas-boot                                              1.04G  14.3G    31K  none
freenas-boot/ROOT                                         1.02G  14.3G    25K  none
freenas-boot/ROOT/9.10-STABLE-201604140622                9.12M  14.3G   506M  /
freenas-boot/ROOT/9.10-STABLE-201604181743                1.01G  14.3G   468M  /
freenas-boot/ROOT/Initial-Install                            1K  14.3G   493M  legacy
freenas-boot/ROOT/default                                   47K  14.3G   494M  legacy
freenas-boot/grub                                         19.0M  14.3G  6.33M  legacy
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Yep, that's it. So, a question. Do you intend to completely destroy Volume1/.system, Marie and Jails? Because that's what would have happened if the .system dataset wasn't on Volume1. Or did you want Volume3/Music to go into Volume1/Music?
 

ChinookTx

Dabbler
Joined
Feb 11, 2016
Messages
29
Cr@p... no, I don't want to destroy Volume1, I'd be shot and killed on the spot!!! I want volume3/music to go in volume1/music. Do I need to create the dataset "Music" first on Volume1?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874

ChinookTx

Dabbler
Joined
Feb 11, 2016
Messages
29
Whew... that was a close call... :-/ Can you say "lucky"???

Thanks for your help depasseg. It's happily copying now (and hopefully not destroying 2TB of my wife's archives!).
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Fwew! Glad it's working. :smile:
 
Status
Not open for further replies.
Top