ceph-deploy prepare doesnt mount osd

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

 



Hi

I'm running hammer 0.94.7 (centos 7) and have issues with deploying new osd's they doenst mount after initiation.

I run using this command:

ceph-deploy osd prepare ceph01-osd02:sdj:/journals/osd.38

everything seem fine but I get this in the osd log:2016-05-17 11:40:41.298846 7fe4c619b880 0 ceph version 0.94.7 (d56bdf93ced6b80b07397d57e3fa68fe68304432), process ceph-osd, pid 10061

2016-05-17 11:40:41.314300 7fe4c619b880 1 filestore(/var/lib/ceph/tmp/mnt.AMy0sO) mkfs in /var/lib/ceph/tmp/mnt.AMy0sO 2016-05-17 11:40:41.314323 7fe4c619b880 1 filestore(/var/lib/ceph/tmp/mnt.AMy0sO) mkfs fsid is already set to fc03c196-85af-4458-855b-efe4acc64cfc 2016-05-17 11:40:41.384851 7fe4c619b880 0 filestore(/var/lib/ceph/tmp/mnt.AMy0sO) backend xfs (magic 0x58465342) 2016-05-17 11:40:41.451810 7fe4c619b880 1 filestore(/var/lib/ceph/tmp/mnt.AMy0sO) leveldb db exists/created 2016-05-17 11:40:41.451860 7fe4c619b880 -1 journal FileJournal::_open: disabling aio for non-block journal. Use journal_force_aio to force use of aio anyway 2016-05-17 11:40:41.451864 7fe4c619b880 1 journal _open /var/lib/ceph/tmp/mnt.AMy0sO/journal fd 12: 0 bytes, block size 4096 bytes, directio = 1, aio = 0 2016-05-17 11:40:41.451884 7fe4c619b880 -1 journal check: ondisk fsid 00000000-0000-0000-0000-000000000000 doesn't match expected fc03c196-85af-4458-855b-efe4acc64cfc, invalid (someone else's?) journal 2016-05-17 11:40:41.452121 7fe4c619b880 1 journal close /var/lib/ceph/tmp/mnt.AMy0sO/journal 2016-05-17 11:40:41.468156 7fe4c619b880 1 journal _open /var/lib/ceph/tmp/mnt.AMy0sO/journal fd 12: 5368709120 bytes, block size 4096 bytes, directio = 1, aio = 0 2016-05-17 11:40:41.468452 7fe4c619b880 0 filestore(/var/lib/ceph/tmp/mnt.AMy0sO) mkjournal created journal on /var/lib/ceph/tmp/mnt.AMy0sO/journal 2016-05-17 11:40:41.468463 7fe4c619b880 1 filestore(/var/lib/ceph/tmp/mnt.AMy0sO) mkfs done in /var/lib/ceph/tmp/mnt.AMy0sO 2016-05-17 11:40:41.468494 7fe4c619b880 0 filestore(/var/lib/ceph/tmp/mnt.AMy0sO) backend xfs (magic 0x58465342) 2016-05-17 11:40:41.470565 7fe4c619b880 0 genericfilestorebackend(/var/lib/ceph/tmp/mnt.AMy0sO) detect_features: FIEMAP ioctl is supported and appears to work 2016-05-17 11:40:41.470581 7fe4c619b880 0 genericfilestorebackend(/var/lib/ceph/tmp/mnt.AMy0sO) detect_features: FIEMAP ioctl is disabled via 'filestore fiemap' config option 2016-05-17 11:40:41.501739 7fe4c619b880 0 genericfilestorebackend(/var/lib/ceph/tmp/mnt.AMy0sO) detect_features: syncfs(2) syscall fully supported (by glibc and kernel) 2016-05-17 11:40:41.501792 7fe4c619b880 0 xfsfilestorebackend(/var/lib/ceph/tmp/mnt.AMy0sO) detect_feature: extsize is disabled by conf 2016-05-17 11:40:41.518601 7fe4c619b880 0 filestore(/var/lib/ceph/tmp/mnt.AMy0sO) mount: enabling WRITEAHEAD journal mode: checkpoint is not enabled 2016-05-17 11:40:41.518648 7fe4c619b880 -1 journal FileJournal::_open: disabling aio for non-block journal. Use journal_force_aio to force use of aio anyway 2016-05-17 11:40:41.518649 7fe4c619b880 1 journal _open /var/lib/ceph/tmp/mnt.AMy0sO/journal fd 18: 5368709120 bytes, block size 4096 bytes, directio = 1, aio = 0 2016-05-17 11:40:41.518766 7fe4c619b880 1 journal _open /var/lib/ceph/tmp/mnt.AMy0sO/journal fd 18: 5368709120 bytes, block size 4096 bytes, directio = 1, aio = 0 2016-05-17 11:40:41.518903 7fe4c619b880 -1 filestore(/var/lib/ceph/tmp/mnt.AMy0sO) could not find -1/23c2fcde/osd_superblock/0 in index: (2) No such file or directory 2016-05-17 11:40:41.635600 7fe4c619b880 1 journal close /var/lib/ceph/tmp/mnt.AMy0sO/journal 2016-05-17 11:40:41.636342 7fe4c619b880 -1 created object store /var/lib/ceph/tmp/mnt.AMy0sO journal /var/lib/ceph/tmp/mnt.AMy0sO/journal for osd.38 fsid c0598155-517a-4541-90c4-d54f3b52d194 2016-05-17 11:40:41.636652 7fe4c619b880 -1 auth: error reading file: /var/lib/ceph/tmp/mnt.AMy0sO/keyring: can't open /var/lib/ceph/tmp/mnt.AMy0sO/keyring: (2) No such file or directory 2016-05-17 11:40:41.637006 7fe4c619b880 -1 created new key in keyring /var/lib/ceph/tmp/mnt.AMy0sO/keyring 2016-05-17 11:40:42.878639 7fa83e371880 0 ceph version 0.94.7 (d56bdf93ced6b80b07397d57e3fa68fe68304432), process ceph-osd, pid 10422 2016-05-17 11:40:42.878758 7fa83e371880 -1 ** ERROR: unable to open OSD superblock on /var/lib/ceph/osd/ceph-38: (2) No such file or directory


To get the new disk working I have to run

mount /dev/sdj1 /var/lib/ceph/osd/ceph-38

/etc/init.d/ceph start osd.38

Does anyone know what might cause the new disk not to mount as they used to previously, before I upgraded to 0.94.7

_______________________________________________
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