Re: Reweight 0 - best way to backfill slowly?

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

 



And so I totally forgot to add df tree to the mail.
Here's the interesting bit from two first nodes. where osd.11 has weight but is reweighted to 0.


root@osd1:~# ceph osd df tree
ID WEIGHT    REWEIGHT SIZE   USE    AVAIL  %USE  VAR  TYPE NAME
-1 181.99997        -   109T 50848G 60878G     0    0 root default
-2  36.39999        - 37242G 16792G 20449G 45.09 0.99     host osd1
 0   3.64000  1.00000  3724G  1730G  1993G 46.48 1.02         osd.0
 1   3.64000  1.00000  3724G  1666G  2057G 44.75 0.98         osd.1
 2   3.64000  1.00000  3724G  1734G  1989G 46.57 1.02         osd.2
 3   3.64000  1.00000  3724G  1387G  2336G 37.25 0.82         osd.3
 4   3.64000  1.00000  3724G  1722G  2002G 46.24 1.01         osd.4
 6   3.64000  1.00000  3724G  1840G  1883G 49.43 1.08         osd.6
 7   3.64000  1.00000  3724G  1651G  2072G 44.34 0.97         osd.7
 8   3.64000  1.00000  3724G  1747G  1976G 46.93 1.03         osd.8
 9   3.64000  1.00000  3724G  1697G  2026G 45.58 1.00         osd.9
 5   3.64000  1.00000  3724G  1614G  2109G 43.34 0.95         osd.5
-3  36.39999        -      0      0      0     0    0     host osd2
12   3.64000  1.00000  3724G  1730G  1993G 46.46 1.02         osd.12
13   3.64000  1.00000  3724G  1745G  1978G 46.88 1.03         osd.13
14   3.64000  1.00000  3724G  1707G  2016G 45.84 1.01         osd.14
15   3.64000  1.00000  3724G  1540G  2184G 41.35 0.91         osd.15
16   3.64000  1.00000  3724G  1484G  2239G 39.86 0.87         osd.16
18   3.64000  1.00000  3724G  1928G  1796G 51.77 1.14         osd.18
20   3.64000  1.00000  3724G  1767G  1956G 47.45 1.04         osd.20
10   3.64000  1.00000  3724G  1797G  1926G 48.27 1.06         osd.10
49   3.64000  1.00000  3724G  1847G  1877G 49.60 1.09         osd.49
11   3.64000        0      0      0      0     0    0         osd.11

> 29 jan. 2018 kl. 22:40 skrev David Majchrzak <david@xxxxxxxxxx>:
> 
> Hi!
> 
> Cluster: 5 HW nodes, 10 HDDs with SSD journals, filestore, 0.94.9 hammer, debian wheezy (scheduled to upgrade once this is fixed).
> 
> I have a replaced HDD that another admin set to reweight 0 instead of weight 0 (I can't remember the reason).
> What would be the best way to slowly backfill it? Usually I'm using weight and slowly growing it to max size.
> 
> I guess if I just set reweight to 1.0, it will backfill as fast as I let it, that is max 1 backfill / osd but it will probably disrupt client io (this being on hammer).
> 
> And if I set the weight on it to 0, the node will get less weight, and will start moving data around everywhere right?
> 
> Can I use reweight the same way as weight here, slowly increasing it up to 1.0 by increments of say 0.01?
> 
> Kind Regards,
> David Majchrzak
> 
> _______________________________________________
> 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