hello everyone,
recently, I have a doubt about ceph osd journal.
I use ceph-deploy to add new osd which the version is 1.4.0. And my ceph version is 0.80.5
the /dev/sdb is a sata disk,and the /dev/sdk is a ssd disk, the sdk1 partition size is 50G.
ceph-deploy osd prepare host1:/dev/sdb1:/dev/sdk1
ceph-deploy osd activate host1:/dev/sdb1:/dev/sdk1
After I done this two command,the new osd is begin to work.
In my ceph.conf, I don't set the osd journal path and the osd journal size,they are default.
then I use command "ceph --admin-daemon /var/run/ceph/ceph-osd.*.asok config show | grep osd_journal_size " to check the osd socket file.
I get the result :"osd_journal_size":"5120"。
That means the journal size is 5GB, the ceph-deploy don't set the journal full of my ssd disk.
OK! then I restart this osd, and get the osd log:
...
...
2015-03-06 11:51:30.451245 7fd6c39df7a0 0 filestore(/var/lib/ceph/osd/ceph-11) mount: WRITEAHEAD journal mode explicitly enabled in conf
2015-03-06 11:51:30.454400 7fd6c39df7a0 1 journal _open /var/lib/ceph/osd/ceph-11/journal fd 21: 53687091200 bytes, block size 4096 bytes, directio = 1, aio = 0
2015-03-06 11:51:30.454551 7fd6c39df7a0 1 journal _open /var/lib/ceph/osd/ceph-11/journal fd 21: 53687091200 bytes, block size 4096 bytes, directio = 1, aio = 0
2015-03-06 11:51:30.505709 7fd6c39df7a0 0 <cls> cls/hello/cls_hello.cc:271: loading cls_hello
...
This means the journal size is 50GB, the ceph-deploy set the journal full of my ssd disk.
So...which is correct?
And when I set the osd_journal_size after I used ceph-deploy to add a new osd, whether this set begin to work ??
Thanks very much!
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com