On Tue, Apr 3, 2018 at 6:30 PM Jeffrey Zhang < [email protected]> wrote:
> I am testing ceph Luminous, the environment is > > - centos 7.4 > - ceph luminous ( ceph offical repo) > - ceph-deploy 2.0 > - bluestore + separate wal and db > > I found the ceph osd folder `/var/lib/ceph/osd/ceph-0` is mounted > from tmpfs. But where the files in that folder come from? like `keyring`, > `whoami`? > These are generated as part of the initialization process. I don't know the exact commands involved, but the keyring for instance will draw from the results of "ceph osd new" (which is invoked by one of the ceph-volume setup commands). That and whoami are part of the basic information an OSD needs to communicate with a monitor. -Greg > > $ ls -alh /var/lib/ceph/osd/ceph-0/ > lrwxrwxrwx. 1 ceph ceph 24 Apr 3 16:49 block -> > /dev/ceph-pool/osd0.data > lrwxrwxrwx. 1 root root 22 Apr 3 16:49 block.db -> > /dev/ceph-pool/osd0-db > lrwxrwxrwx. 1 root root 23 Apr 3 16:49 block.wal -> > /dev/ceph-pool/osd0-wal > -rw-------. 1 ceph ceph 37 Apr 3 16:49 ceph_fsid > -rw-------. 1 ceph ceph 37 Apr 3 16:49 fsid > -rw-------. 1 ceph ceph 55 Apr 3 16:49 keyring > -rw-------. 1 ceph ceph 6 Apr 3 16:49 ready > -rw-------. 1 ceph ceph 10 Apr 3 16:49 type > -rw-------. 1 ceph ceph 2 Apr 3 16:49 whoami > > I guess they may be loaded from bluestore. But I can not find any clue for > this. > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
