Re: Upgrading 2K OSDs from Hammer to Jewel. Our experience

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

 



On 03/13/2017 02:02 PM, Christoph Adomeit wrote:

Christoph,

Thanks for the detailed upgrade report.

We have another scenario: We have allready upgraded to jewel 10.2.6 but
we are still running all our monitors and osd daemons as root using the
setuser match path directive.

What would be the recommended way to have all daemons running as ceph:ceph user ?

Could we chown -R the monitor and osd data directories under /var/lib/ceph one by one while keeping up service ?

Yes. To minimize the down time, you can do the chown twice. Once before restarting the daemons, while they are running with root user permissions. Then stop the daemons, do the chown again, but then only on the changed files (find /var/lib/ceph/ ! -uid 64045 -print0|xargs -0 chown ceph:ceph) and start the Ceph daemons with setuser and setgroup set to ceph



--
With regards,

Richard Arends.
Snow BV / http://snow.nl

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux