I'm currently upgrading to Infernalis and the chown stage is taking a log
time on my OSD nodes. I've come up with this little one liner to run the
chown's in parallel

 

find /var/lib/ceph/osd -maxdepth 1 -mindepth 1 -print | xargs -P12 -n1 chown
-R ceph:ceph

 

NOTE: You still need to make sure the other directory's in the /var/lib/ceph
folder are updated separately but this should speed up the process for
machines with larger number of disks.

 

Nick




_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to