SOLVED How can I access files backed up with zfs send

NASbox

Guru
Joined
May 8, 2012
Messages
650
I have attempted to make a backup of a dataset with zfs send. The backup BACKUP03/TANK/library appears to contain over 4 TB of data (just like the source dataset TANK/library). When I do an ls -la on /BACKUP03/TANK/library no files are shown.

Has the dataset BACKUP03/TANK/library been corrupted or do I need to do something to access the data?

Code:
#>zfs list -t all -r BACKUP03/TANK/library
NAME                                                      USED  AVAIL  REFER  MOUNTPOINT
BACKUP03/TANK/library                                    4.34T  1.65T  4.34T  /BACKUP03/TANK/library
BACKUP03/TANK/library@__BKP03_7XXXXXXC__20180423_011627  2.06M      -  4.29T  -
BACKUP03/TANK/library@__BKP03_7XXXXXXC__20190124_044551   280K      -  4.33T  -
BACKUP03/TANK/library@__BKP03_7XXXXXXC__20190325_144917      0      -  4.34T  -

#>zfs list TANK/library
NAME           USED  AVAIL  REFER  MOUNTPOINT
TANK/library  4.32T  12.8T  4.31T  /mnt/TANK/library


#>ls -la /BACKUP03/TANK/library
total 9
drwxr-xr-x   2 root    wheel    2 May 11  2012 .
drwxrwxr-x  39 backup  backup  42 Mar 15 03:13 ..
 
Last edited:

Meyers

Patron
Joined
Nov 16, 2016
Messages
211
This seems to happen when you first replicate a dataset. Maybe try:

Code:
zfs umount BACKUP03/TANK/library

zfs mount BACKUP03/TANK/library
 

NASbox

Guru
Joined
May 8, 2012
Messages
650
This seems to happen when you first replicate a dataset. Maybe try:

Code:
zfs umount BACKUP03/TANK/library

zfs mount BACKUP03/TANK/library

Thanks, that seemed to do it.
 
Top