ZFS Snapshot send/receive problem

Hi,
I think I misunderstanding something about sending and receiving snapshots, and I need explanation or guide.

I have zfs storage like below:

Code:
zroot/jails/vm/dane                        95528628       120   95528508     0%    /jails/vm/dane
zroot/jails/vm/dane/FolderyPrzekierowane   95528696       188   95528508     0%    /jails/vm/dane/FolderyPrzekierowane
zroot/jails/vm/dane/Wspolny                95528604        96   95528508     0%    /jails/vm/dane/Wspolny
zroot/jails/vm/dane/ProjektyDT             95693264    164756   95528508     0%    /jails/vm/dane/ProjektyDT

I creating snapshot like below:
zfs snapshot -r zroot/jails/vm@test

and sending / receiving snapshot like below
zfs send -R zroot/jails/vm@test | zfs receive -F zroot/jails/vm2

After that I have:

Code:
zroot/jails/vm/dane                        95528628       120   95528508     0%    /jails/vm/dane
zroot/jails/vm/dane/FolderyPrzekierowane   95528696       188   95528508     0%    /jails/vm/dane/FolderyPrzekierowane
zroot/jails/vm/dane/Wspolny                95528604        96   95528508     0%    /jails/vm/dane/Wspolny
zroot/jails/vm/dane/ProjektyDT             95693264    164756   95528508     0%    /jails/vm/dane/ProjektyDT

zroot/jails/vm2                            96578252   1049796   95528456     1%    /jails/vm2

I have zroot/jails/vm2 without child data sets, it's not mounted - why ?
Where I'm wrong ?
 
Also keep in mind that you don't have to import the backups into a new ZFS pool, you can also easily save them as separate files (can save storage space). This can be a feasible solution, also because the snapshots themselves are always accessible through the hidden .zfs directory in the root of your ZFS datasets.
 
Usually zfs send has two main meanings: to create a copy on file (therefore with redirection) or a replica.
In the second case you usually use something external to the machine (otherwise you would use a mirror), for example an iSCSI disk of a NAS, rather than an external zfs target (a cloud server via ssh tunnel).
In those cases it is possible to obtain the result similar to rsync, but much faster and much more surely (in addition to transferring the snapshots as well).
What exactly do you want to do?
 
Back
Top