Re: ceph osd reweight (doing -1 or actually -0.0001)

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

 



 
Makes me also wonder what is actually being used by ceph? And thus which 
one is wrong 'ceph osd reweight' output or 'ceph osd df' output. 

-----Original Message-----
From: Marc Roos 
Sent: woensdag 25 april 2018 11:58
To: ceph-users
Subject:  ceph osd reweight (doing -1 or actually -0.0001)


Is there some logic behind why ceph is doing this -1, or is this some 
coding error?

0.80000 gives 0.79999, and 0.80001 gives 0.80000

(ceph 12.2.4)


[@~]# ceph osd reweight 11 0.80000
reweighted osd.11 to 0.8 (cccc)

[@~]# ceph osd df
ID CLASS WEIGHT  REWEIGHT SIZE   USE    AVAIL  %USE  VAR  PGS
11   hdd 3.00000  0.79999  2794G  2503G   290G 89.59 1.33  38



[@~]# ceph osd reweight 11 0.80001
reweighted osd.11 to 0.80001 (cccd)

[@~]# ceph osd df
ID CLASS WEIGHT  REWEIGHT SIZE   USE    AVAIL  %USE  VAR  PGS
11   hdd 3.00000  0.80000  2794G  2503G   290G 89.59 1.33  38




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


  Powered by Linux