Re: [ceph-users] how the files in /var/lib/ceph/osd/ceph-0 are generated

2018-04-07 Thread Alfredo Deza
On Fri, Apr 6, 2018 at 10:27 PM, Jeffrey Zhang wrote: > Yes, I am using ceph-volume. > > And i found where the keyring comes from. > > bluestore will save all the information at the starting of disk > (BDEV_LABEL_BLOCK_SIZE=4096) > this area is used for saving

Re: [ceph-users] how the files in /var/lib/ceph/osd/ceph-0 are generated

2018-04-06 Thread Jeffrey Zhang
​​ Yes, I am using ceph-volume. And i found where the keyring comes from. bluestore will save all the information at the starting of disk (BDEV_LABEL_BLOCK_SIZE=4096) this area is used for saving labels, including keyring, whoami etc. these can be read through ceph-bluestore-tool show-lable $

Re: [ceph-users] how the files in /var/lib/ceph/osd/ceph-0 are generated

2018-04-06 Thread David Turner
Likely the differences you're seeing of /dev/sdb1 and tmpfs have to do with how ceph-disk vs ceph-volume manage the OSDs and what their defaults are. ceph-disk will create partitions on devices while ceph-volume configures LVM on the block device. Also with bluestore you do not have a standard

Re: [ceph-users] how the files in /var/lib/ceph/osd/ceph-0 are generated

2018-04-04 Thread Gregory Farnum
On Tue, Apr 3, 2018 at 6:30 PM Jeffrey Zhang < zhang.lei.fly+ceph-us...@gmail.com> 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

Re: [ceph-users] how the files in /var/lib/ceph/osd/ceph-0 are generated

2018-04-03 Thread Jeffrey Zhang
Btw, I am using ceph-volume. I just test ceph-disk. In this case, the ceph-0 folder is mounted from /dev/sdb1. So tmpfs only happens when using ceph-volume? how it works? On Wed, Apr 4, 2018 at 9:29 AM, Jeffrey Zhang < zhang.lei.fly+ceph-us...@gmail.com> wrote: > I am testing ceph Luminous,

[ceph-users] how the files in /var/lib/ceph/osd/ceph-0 are generated

2018-04-03 Thread Jeffrey Zhang
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`,