delete all pool,but the data is still exist.

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

 



hi,
   i delete all pool by this script

arr=( $(rados lspools) )
for key in "${!arr[@]}"; do
ceph osd pool delete ${arr[$key]} ${arr[$key]}  --yes-i-really-really-mean-it
done

the output of ceph df after delete all pool,it seems this is no pool any more,but still 251M usaged disk space.
[root@ceph03 ~]# ceph df
GLOBAL:
    SIZE       AVAIL      RAW USED     %RAW USED 
    92093M     91842M         251M          0.27 
POOLS:
    NAME     ID     USED     %USED     MAX AVAIL     OBJECTS 
[root@ceph03 ~]# 


and the output of ceph osd df 
[root@ceph03 ~]# ceph osd df
ID WEIGHT  REWEIGHT SIZE   USE    AVAIL  %USE VAR  PGS 
 0 0.01459  1.00000 15348M 44384k 15305M 0.28 1.03   0 
 3 0.01459  1.00000 15348M 41936k 15308M 0.27 0.98   0 
 1 0.01459  1.00000 15348M 44144k 15305M 0.28 1.03   0 
 4 0.01459  1.00000 15348M 41724k 15308M 0.27 0.97   0 
 2 0.01459  1.00000 15348M 45492k 15304M 0.29 1.06   0 
 5 0.01459  1.00000 15348M 39724k 15310M 0.25 0.93   0 
              TOTAL 92093M   251M 91842M 0.27   

so,why the data is still on the osd? dose it disapear after some time(eq. 10 min)? or the gc thread will process this?
_______________________________________________
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