Better output of ceph df

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

 



Hi list,
      I tried to understand the output of "CEPH DF" , finally I got it but it's really confusing  in the POOLS section, so I sent out the mail and see if any good suggestion to make it better.

Here is an example from my cluster
	GLOBAL:
   		 SIZE      AVAIL     RAW USED     %%RAW USED 
    		8153G     5962G        2191G          26.88 
	POOLS:
   		 NAME           ID   USED     %%USED     MAX AVAIL     SIZE 
   		 base_tier      1         960G        11.77        2647G      245793 
   		 cache_tier     2      134G       1.65          212G       34526

Currently, the 
	USED	=  how many data in particular pool , so my base_tier has 960G data and cache_tier has 134G data
 	%%USED = USED /GLOBAL.SIZE,    this is really strange, users are likely to think the %%USED should be USED/ POOL.CAPACITY
	%%MAX_AVAIL = how many available space in particular pool ,calculated by max( osdi.avail / osdi. weight)
	OBJECTS = how many objects in the pool

I think it would be better to have 
	POOLS:
   		 NAME           ID        SIZE 		OBJECTS 	USED	%%USED	MAX_AVAIL	
   		 base_tier      1      7878G		245793                 960G      12.29   		   2647G     	 
   		 cache_tier     2      346G		34526		134G       38.72          	212G       
   


What do you think? Any impact to other tools?
						Xiaoxi
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux