Re: How do I know which object takes storage space?

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

 




> 31 марта 2014 г., в 12:01, Jianing Yang <jianingy.yang@xxxxxxxxx> написал(а):
> 
> 
> Hi, all
> 
> I've deleted everything image in my only pool but still have 2350 MB
> data remains. Is there a command that help get which files/objects are
> still in use?
> 

"rados -p <pool> ls | xargs -n 1 rados -p <pool> stat" will give you the list of objects and their size.
You might simply need to scrub your OSDs to get rid of stale data.

> ,----
> |
> | ceph -w
> |     cluster 33064485-f73e-4db2-b9d6-8f4463334619
> |      health HEALTH_OK
> |      monmap e1: 3 mons at {a=10.86.32.10:6789/0,b=10.86.32.11:6789/0,c=10.86.32.12:6789/0}, election epoch 4, quorum 0,1,2 a,b,c
> |      osdmap e116: 48 osds: 48 up, 48 in
> |       pgmap v53498: 4224 pgs, 4 pools, 8 bytes data, 2 objects
> |             2350 MB used, 26786 GB / 26788 GB avail
> |                 4224 active+clean
> |
> |
> `----
> 
> Thanks very much.
> 
> 
> --
> ________________________________________
> / Debian Hint #8: If you have problems   \
> | with Debian that you can't solve by    |
> | reading the manuals and documentation, |
> | try asking on the Debian Users mailing |
> \ list (debian-user@xxxxxxxxxxxxxxxx).   /
> ----------------------------------------
>  \
>   \
>    \
>    .- <O> -.        .-====-.      ,-------.      .-=<>=-.
>   /_-\'''/-_\      / / '' \ \     |,-----.|     /__----__\
>  |/  o) (o  \|    | | ')(' | |   /,'-----'.\   |/ (')(') \|
>   \   ._.   /      \ \    / /   {_/(') (')\_}   \   __   /
>   ,>-_,,,_-<.       >'=jf='<     `.   _   .'    ,'--__--'.
> /      .      \    /        \     /'-___-'\    /    :|    \
> (_)     .     (_)  /          \   /         \  (_)   :|   (_)
> \_-----'____--/  (_)        (_) (_)_______(_)   |___:|____|
>  \___________/     |________|     \_______/     |_________|
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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