Core dump while getting a volume real size with a python script

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

 



Hi all,

I'm trying to get the real disk usage of a Cinder volume converting this bash commands to python:
http://cephnotes.ksperis.com/blog/2013/08/28/rbd-image-real-size

I wrote a small test function which has already worked in many cases but it stops with a core dump while trying to calculate the real size of a particular volume.

This is the function:
http://paste.openstack.org/show/477563/

this is the error I get:
http://paste.openstack.org/show/477567/

and these are the related rbd info:
 http://paste.openstack.org/show/477568/

Can anyone help me to debug the problem?

Thanks
Giuseppe
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux