[PVE-User] Snapshot size

Uwe Sauter uwe.sauter.de at gmail.com
Thu Sep 21 13:37:31 CEST 2017


Thanks, that's it.

Am 21.09.2017 um 13:20 schrieb Yannis Milios:
> Here is an example for vm102 on rbdpool1:
> 
> root at pve3:~# rbd du -p rbdpool1 vm-102-disk-1
> 
> warning: fast-diff map is not enabled for vm-102-disk-1. operation may be slow.
> 
> NAME                               PROVISIONED   USED 
> vm-102-disk-1 at snap1      12288M           11852M 
> vm-102-disk-1 at snap2      12288M            204M 
> vm-102-disk-1 at snap3      12288M            536M 
> vm-102-disk-1                    12288M           45056k 
> <TOTAL>                           12288M           12636M 
> 
> 
> On Thu, Sep 21, 2017 at 8:30 AM, Uwe Sauter <uwe.sauter.de at gmail.com <mailto:uwe.sauter.de at gmail.com>> wrote:
> 
>     Hi,
> 
>     thanks, but I forgot to mention that all my VMs have Ceph as backend and thus snapshots can't be handled as "local".
> 
>     Regards,
> 
>             Uwe
> 
> 
>     Am 21.09.2017 um 09:06 schrieb nmachkova at verdnatura.es <mailto:nmachkova at verdnatura.es>:
>     > El 2017-09-19 07:32, Uwe Sauter escribió:
>     >> Hi,
>     >>
>     >> suppose I have several snapshots of a VM:
>     >>
>     >> Snap1
>     >> └── Snap2
>     >>     └── Snap3
>     >>         └── Snap4
>     >>             └── Snap5
>     >>
>     >> Is there a way to determine the size of each snapshot?
>     >>
>     >> Regards,
>     >>
>     >>     Uwe
>     >> _______________________________________________
>     >> pve-user mailing list
>     >> pve-user at pve.proxmox.com <mailto:pve-user at pve.proxmox.com>
>     >> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user <https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user>
>     >
>     > Try this at relevant node. The following is output for containers 300,301,302
>     >
>     > # zfs list -t snapshot
>     > NAME                                                      USED  AVAIL  REFER  MOUNTPOINT
>     > ctpool/subvol-300-disk-1 at bind9                           58.4M      -   453M  -
>     > ctpool/subvol-300-disk-1 at dhcp                            57.1M      -   455M  -
>     > ctpool/subvol-301-disk-1 at junto10y20                      2.61M      -   505M  -
>     > ctpool/subvol-301-disk-1 at sharednetwork                   3.86M      -   509M  -
>     > ctpool/subvol-301-disk-1 at junto10a30                      4.63M      -   519M  -
>     > ctpool/subvol-302-disk-1 at junto10y20                      1.79M      -   451M  -
>     > ctpool/subvol-302-disk-1 at sharednetwork                   3.33M      -   454M  -
>     >
>     > deNada ;-)
> 
>     _______________________________________________
>     pve-user mailing list
>     pve-user at pve.proxmox.com <mailto:pve-user at pve.proxmox.com>
>     https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user <https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user>
> 
> 




More information about the pve-user mailing list