I would just disable barriers and enable them afterwards(+sync), should be a 
breeze then.

Jan

> On 10 Nov 2015, at 12:58, Nick Fisk <n...@fisk.me.uk> wrote:
> 
> 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
> ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com 
> <http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to