[PVE-User] pve-zsync

Wolfgang Link w.link at proxmox.com
Fri Mar 10 07:53:40 CET 2017


You can't destroy datasets where snapshots exists.

zfs list -t all
will show you all datasets

and zfs destroy -R will erase all dataset what are referenced to tihs
given set.

On 03/09/2017 08:35 PM, Luis G. Coralle wrote:
> Hi.
> I was trying to sync two vm with pve-zsync between two nodes with pve 4.2
> After completing the tests, I could not remove rpool/data/vm-107-disk-1 and
> rpool/data/vm-17206-disk-1.
> How can I remove them?
> root at pve4:~# zfs list
> NAME                         USED  AVAIL  REFER  MOUNTPOINT
> rpool                        332G  2.23T   140K  /rpool
> rpool/ROOT                   194G  2.23T   140K  /rpool/ROOT
> rpool/ROOT/pve-1             194G  2.23T   194G  /
> rpool/STORAGE               49.1G  2.23T  49.1G  /rpool/STORAGE
> rpool/data                  79.5G  2.23T   140K  /rpool/data
> rpool/data/vm-101-disk-1    3.04G  2.23T  3.04G  -
> rpool/data/vm-103-disk-1    68.6G  2.23T  68.6G  -
> rpool/data/vm-107-disk-1    5.23G  2.23T  2.62G  -
> rpool/data/vm-17206-disk-1  2.62G  2.23T    93K  -
> rpool/swap                  8.50G  2.24T  99.2M  -
> root at pve4:~# zfs destroy rpool/data/vm-17206-disk-1
> cannot destroy 'rpool/data/vm-17206-disk-1': dataset already exists
> root at pve4:~# zfs destroy rpool/data/vm-107-disk-1
> cannot destroy 'rpool/data/vm-107-disk-1': dataset already exists

More information about the pve-user mailing list