Hi, Oliver, It's very kind of you, thanks. But I still have some questios, Why ceph-mon can auto-start when the host reboot when I deploy it with root, while it can not when I deploy it use non-root? Mybe this is a "Trouble" as you say below? You say "With the hammer release you are using, you should / have to stick to the user root. Everything else might cause trouble." You mean root is the best practice? Is there any document about this, or some details? Best Regards, yang ------------------ Original ------------------ From: "Oliver Dzombic";<info@xxxxxxxxxxxxxxxxx>; Date: Thu, Mar 24, 2016 11:11 AM To: "ceph-users"<ceph-users@xxxxxxxxxxxxxx>; Subject: Re: root and non-root user for ceph/ceph-deploy Hi Yang, ceph is working with udev. There is nothing in /etc/fstab. ---- If you are using root, you have rights on everything. If you are not using root, you have not. If you run ceph-deploy as root, all commands on the target host will be executed as root. If you run ceph-deploy as non root, all commands on the target host will be executed as this non root user ( with its rights ). So its just natural that you have different results, if you access with a user which has rights on everything and can do everything, compared to a user who has not this rights. With the hammer release you are using, you should / have to stick to the user root. Everything else might cause trouble. -- Mit freundlichen Gruessen / Best regards Oliver Dzombic IP-Interactive mailto:info@xxxxxxxxxxxxxxxxx Anschrift: IP Interactive UG ( haftungsbeschraenkt ) Zum Sonnenberg 1-3 63571 Gelnhausen HRB 93402 beim Amtsgericht Hanau Geschäftsführung: Oliver Dzombic Steuer Nr.: 35 236 3622 1 UST ID: DE274086107 Am 24.03.2016 um 04:04 schrieb yang: > Anyone who can help me? > > > ------------------ Original ------------------ > From: "yang";<justyuyang@xxxxxxxxxxx>; > Date: Wed, Mar 23, 2016 11:30 AM > To: "ceph-users"<ceph-users@xxxxxxxx>; > Subject: root and non-root user for ceph/ceph-deploy > > Hi, everyone, > > In my ceph cluster, first I deploy my ceph using ceph-deploy with user root, I don't set up any thing after it's setup, > to my surprise, the cluster can auto-start after my host reboot, all thing is ok, mon is running and OSDs of device is mounted itself and also running properly. But I can NOT find any ceph/OSD info in /etc/fstab! > > My question is, where ceph stores the cluster info? Why it can auto-start after machine reboot? > > However, when I deploy with another user (not root), everything is changed. mon can not auto-start and OSD is not mounted and not running any more. > > And, after I umount the OSD, re-deploy the cluster, the old OSD is still display in my new cluster. > > My another question is, what's the difference between root and non-root user for ceph/ceph-deploy? > > ceph version 0.94.5 (9764da52395923e0b32908d83a9f7304401fee43) > > yang, > Thanks very much. > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com