Re: need help in a recovering ceph

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

 



On Mon, Nov 28, 2011 at 8:54 AM, Maxim Mikheev <mikhmv@xxxxxxxxxxxxxxx> wrote:
> I understand you Greg. I hope you have a good Thanksgiving.
>
> I did:
> root@s2-8core:~# ceph osd reweight-by-utilization
> 2011-11-28 11:38:40.201428 mon <- [osd,reweight-by-utilization]
> 2011-11-28 11:38:40.209388 mon.0 -> 'SUCCESSFUL reweight-by-utilization:
> average_util: 0.386560, overload_util: 0.463872. overloaded osds: 2
> [1.000000 -> 0.406347], ' (0)
>
> How can I initiate transfer data for balancing?
>
> root@s2-8core:~# ceph -w
> 2011-11-28 11:40:19.634094    pg v385135: 594 pgs: 594 active+clean; 254 GB
> data, 522 GB used, 673 GB / 1351 GB avail
> 2011-11-28 11:40:19.635551   mds e182: 1/1/1 up {0=a=up:active}
> 2011-11-28 11:40:19.635592   osd e465: 3 osds: 3 up, 3 in full
> 2011-11-28 11:40:19.635665   log 2011-11-28 09:22:55.618408 osd.2
> 192.168.2.12:6800/1097 476 : [INF] 1.1f scrub ok
> 2011-11-28 11:40:19.635759   mon e1: 1 mons at {a=192.168.2.11:6789/0}
>
> Monitor didn't show any transfer activity after changing weights.

Hmmm. It looks like we need to rework the OSDs so they subscribe to
map updates when full. Try running "rados -p data bench 10 write". It
will fail, but let it go for a few seconds and it should cause all the
OSDs to update their maps and begin shuffling data.

> And another question:
> How can I change mon_osd_full_ratio?
> I tried this:
> root@s2-8core:~# ceph mon injectargs 'mon_osd_full_ratio = 96'
> 2011-11-28 11:53:11.070059 mon <- [mon,injectargs,mon_osd_full_ratio = 96]
> 2011-11-28 11:53:11.070383 mon.0 -> 'unknown command injectargs' (-22)
either:
ceph mon injectargs --mon_osd_full_ratio 96
or
ceph mon injectargs "mon osd full ratio = 96"
should work.
:)
-Greg
--
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