I have two systems:
zfs1 (Sender) - A clean install of 11.1-RELEASE in a VM with ZFS
zfs2 (Receiver) - A backup server running ZFS
Both servers are running 11.1-RELEASE-p10 which is the current patch as of today.
On the VM I have installed sysutils/zxfer as the utility in which I will push the snapshot with to the backup ZFS server. My issue is that once the I push the snapshot to the backup server I cannot browse what would have been the root / mount for the VM. It shows that the data with zfs list, but no data is there when I cd into the directory.
Here are the steps I followed
On zfs1 (Sender)
I have one zpool which is zroot. Let's create a full system snapshot.
Install zxfer
On zfs2 (Receiver)
Create the dataset on the receiver (ZFS Backup Server)
zfs create tank/backup
zfs create tank/backup/zfsvm1.example.com
Let's transfer the zroot@backup snapshots from zfs1 to zfs2
On zfs1 (Sender)
It would appear that everything copied and is in the correct structure that I want
I want to look inside the "root" directory of zfs1 that is now stored on zfs2
There seems to be nothing there. 'zfs list' reports that it is indeed 432M
Let's try du and see what it reports
I also tried to mount everything just in case it just hadn't mounted.
Do any ZFS wizards know where the data is and why I can't see it?
zfs1 (Sender) - A clean install of 11.1-RELEASE in a VM with ZFS
zfs2 (Receiver) - A backup server running ZFS
Both servers are running 11.1-RELEASE-p10 which is the current patch as of today.
On the VM I have installed sysutils/zxfer as the utility in which I will push the snapshot with to the backup ZFS server. My issue is that once the I push the snapshot to the backup server I cannot browse what would have been the root / mount for the VM. It shows that the data with zfs list, but no data is there when I cd into the directory.
Here are the steps I followed
On zfs1 (Sender)
I have one zpool which is zroot. Let's create a full system snapshot.
zfs snapshot -r zroot@backup
Install zxfer
pkg install zxfer
On zfs2 (Receiver)
Create the dataset on the receiver (ZFS Backup Server)
zfs create tank/backup
zfs create tank/backup/zfsvm1.example.com
Let's transfer the zroot@backup snapshots from zfs1 to zfs2
On zfs1 (Sender)
zxfer -dFkPv -T zfs2 -R zroot tank/backup/zfsvm1.example.com
It would appear that everything copied and is in the correct structure that I want
Code:
zfs list -r tank/backup/zfsvm1.example.com
NAME USED AVAIL REFER MOUNTPOINT
tank/backup/zfsvm1.example.com 432M 886G 26.5K /tank/backup/zfsvm1.example.com
tank/backup/zfsvm1.example.com/zroot 432M 886G 26K /tank/backup/zfsvm1.example.com/zroot
tank/backup/zfsvm1.example.com/zroot/ROOT 432M 886G 23K /tank/backup/zfsvm1.example.com/zroot/ROOT
tank/backup/zfsvm1.example.com/zroot/ROOT/default 432M 886G 432M /tank/backup/zfsvm1.example.com/zroot/ROOT/default
tank/backup/zfsvm1.example.com/zroot/data 24K 886G 24K /tank/backup/zfsvm1.example.com/zroot/data
tank/backup/zfsvm1.example.com/zroot/tmp 26K 886G 26K /tank/backup/zfsvm1.example.com/zroot/tmp
tank/backup/zfsvm1.example.com/zroot/usr 92K 886G 23K /tank/backup/zfsvm1.example.com/zroot/usr
tank/backup/zfsvm1.example.com/zroot/usr/home 23K 886G 23K /tank/backup/zfsvm1.example.com/zroot/usr/home
tank/backup/zfsvm1.example.com/zroot/usr/ports 23K 886G 23K /tank/backup/zfsvm1.example.com/zroot/usr/ports
tank/backup/zfsvm1.example.com/zroot/usr/src 23K 886G 23K /tank/backup/zfsvm1.example.com/zroot/usr/src
tank/backup/zfsvm1.example.com/zroot/var 160K 886G 23K /tank/backup/zfsvm1.example.com/zroot/var
tank/backup/zfsvm1.example.com/zroot/var/audit 23K 886G 23K /tank/backup/zfsvm1.example.com/zroot/var/audit
tank/backup/zfsvm1.example.com/zroot/var/crash 23K 886G 23K /tank/backup/zfsvm1.example.com/zroot/var/crash
tank/backup/zfsvm1.example.com/zroot/var/log 44.5K 886G 44.5K /tank/backup/zfsvm1.example.com/zroot/var/log
tank/backup/zfsvm1.example.com/zroot/var/mail 23K 886G 23K /tank/backup/zfsvm1.example.com/zroot/var/mail
tank/backup/zfsvm1.example.com/zroot/var/tmp 23K 886G 23K /tank/backup/zfsvm1.example.com/zroot/var/tmp
I want to look inside the "root" directory of zfs1 that is now stored on zfs2
ls /tank/backup/zfsvm1.example.com/zroot/ROOT/default
ls: /tank/backup/zfsvm1.example.com/zroot/ROOT/default: No such file or directory
There seems to be nothing there. 'zfs list' reports that it is indeed 432M
Code:
NAME USED AVAIL REFER MOUNTPOINT
tank/backup/zfsvm1.example.com/zroot/ROOT/default 432M 886G 432M /tank/backup/zfsvm1.example.com/zroot/ROOT/default
Let's try du and see what it reports
du -sh /tank/backup/zfsvm1.example.com
50K /tank/backup/zfsvm1.example.com
I also tried to mount everything just in case it just hadn't mounted.
zfs mount -a
Do any ZFS wizards know where the data is and why I can't see it?