Re: Real disk usage of clone images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The "rbd du" command will calculate how much space a clone is using,
as well as individual snapshots.

$ rbd du my-pool
NAME     PROVISIONED  USED
clone@1          10G  512M
clone@2          10G   64M
clone            10G  512M
parent@1         10G    1G
parent           10G     0
<TOTAL>          20G 2.06G

On Sat, Oct 7, 2017 at 3:33 AM, Josy <josy@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> Not sure if this is a good/valid question.
>
> I have deployed a lot of VMs in a ceph cluster that were cloned from an
> original rbd image.
> I want to see how much of the original image is a new VM (cloned image)
> using. Is there any command to get such details?
>
> ==================
>
> $ rbd info cvm/f6d058e73ab4a0e1262b3140731b4980-1
> rbd image 'f6d058e73ab4a0e1262b3140731b4980-1':
>         size 61440 MB in 15360 objects
>         order 22 (4096 kB objects)
>         block_name_prefix: rbd_data.a2f03d1b58ba
>         format: 2
>         features: layering
>         flags:
>         create_timestamp: Fri Oct  6 19:20:53 2017
>         parent:
> ostemplates/windows-81-x64-20171004@snap_windows-81-x64-20171004
>         overlap: 50000 MB
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



-- 
Jason
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux