Re: moving EC pool from HDD to SSD without downtime

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

 



Thanks Poul!

For reference to everyone finding this thread, this procedure works indeed as intended:

ceph osd getcrushmap -o crush.map
crushtool -d crush.map -o crush.txt
# edit crush rule: "step take ServerRoom class hdd" --> "step take ServerRoom class ssd"
crushtool -o crush-new.map -c crush.txt
ceph osd set norebalance
ceph osd set nobackfill
ceph osd setcrushmap -i crush-new.map
# wait for peering to finish, you will see 100% objects misplaced but all PGs active+...
ceph osd unset norebalance
ceph osd unset nobackfill

Ceph will now happily move objects while storage is fully redundant and r/w accessible.

Best regards,

=================
Frank Schilder
AIT Risø Campus
Bygning 109, rum S14
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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