Hi,
I think I found a possible bug in pve-zsync. The schema is simple:
The problem is that the snapshot is not created on rpool, so it cannot be sent.
I thought first it was a zfs restriction. But "zfs snapshot rpool@test1" does create a snapshot of the pool.
I think pve-zsync is struggling with creating snapshot at the "root" level of a pool...
What is your thinking? Is a fix possible?
I think I found a possible bug in pve-zsync. The schema is simple:
- I want to create a snapshot of a pool to a dataset on another pool
- This is a local snapshot, no ssh
- Both of the pool / dataset exist
- source: rpool
- dest: test/weekly
Code:
pve-zsync sync --source rpool --dest test/weekly --name test1 --maxsnap 4 --method local
Use of uninitialized value in concatenation (.) or string at /usr/sbin/pve-zsync line 898.
COMMAND:
zfs send -- rpool@rep_test1_2016-09-08_00:20:23 | zfs recv -F -- test/weekly/
GET ERROR:
cannot receive: invalid name
The problem is that the snapshot is not created on rpool, so it cannot be sent.
I thought first it was a zfs restriction. But "zfs snapshot rpool@test1" does create a snapshot of the pool.
Code:
zfs list -t snapshot
NAME USED AVAIL REFER MOUNTPOINT
rpool@test1 0 - 96K -
I think pve-zsync is struggling with creating snapshot at the "root" level of a pool...
What is your thinking? Is a fix possible?