OSD activation issue

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

 



Hello all,

 

I am getting some issues when activating OSD’s on my Red Hat 6.4 Ceph cluster.  I am using the quick start mechanism so mounted a new xfs filesystem  and ran the “osd prepare” command.

 

The prepare seemed to be successful as per the log output below:

 

[ceph_deploy.cli][INFO  ] Invoked (1.2.7): /usr/bin/ceph-deploy osd prepare ldtdsr02se19:/osd2

[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks ldtdsr02se19:/osd2:

[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo

[ceph_deploy.osd][INFO  ] Distro info: RedHatEnterpriseServer 6.4 Santiago

[ceph_deploy.osd][DEBUG ] Deploying osd to ldtdsr02se19

[ldtdsr02se19][INFO  ] write cluster configuration to /etc/ceph/{cluster}.conf

[ldtdsr02se19][INFO  ] keyring file does not exist, creating one at: /var/lib/ceph/bootstrap-osd/ceph.keyring

[ldtdsr02se19][INFO  ] create mon keyring file

[ldtdsr02se19][INFO  ] Running command: udevadm trigger --subsystem-match=block --action="">

[ceph_deploy.osd][DEBUG ] Preparing host ldtdsr02se19 disk /osd2 journal None activate False

[ldtdsr02se19][INFO  ] Running command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /osd2

[ceph_deploy.osd][DEBUG ] Host ldtdsr02se19 is now ready for osd use.

 

When I ran the activate, however, I got the following:

 

[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo

[ceph_deploy.osd][INFO  ] Distro info: RedHatEnterpriseServer 6.4 Santiago

[ceph_deploy.osd][DEBUG ] activating host ldtdsr02se19 disk /osd2

[ceph_deploy.osd][DEBUG ] will use init type: sysvinit

[ldtdsr02se19][INFO  ] Running command: ceph-disk-activate --mark-init sysvinit --mount /osd2

[ldtdsr02se19][INFO  ] === osd.1 ===

[ldtdsr02se19][INFO  ] Starting Ceph osd.1 on ldtdsr02se19...

[ldtdsr02se19][INFO  ] starting osd.1 at :/0 osd_data /var/lib/ceph/osd/ceph-1 /var/lib/ceph/osd/ceph-1/journal

[ldtdsr02se19][ERROR ] got latest monmap

[ldtdsr02se19][ERROR ] 2013-10-29 10:45:26.373347 7fbaa1b597a0 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of aio anyway

[ldtdsr02se19][ERROR ] 2013-10-29 10:45:26.403218 7fbaa1b597a0 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of aio anyway

[ldtdsr02se19][ERROR ] 2013-10-29 10:45:26.405363 7fbaa1b597a0 -1 filestore(/osd2) could not find 23c2fcde/osd_superblock/0//-1 in index: (2) No such file or directory

[ldtdsr02se19][ERROR ] 2013-10-29 10:45:26.461080 7fbaa1b597a0 -1 created object store /osd2 journal /osd2/journal for osd.1 fsid 148d95d1-a069-491d-8780-1bcbbefe624a

[ldtdsr02se19][ERROR ] 2013-10-29 10:45:26.461177 7fbaa1b597a0 -1 auth: error reading file: /osd2/keyring: can't open /osd2/keyring: (2) No such file or directory

[ldtdsr02se19][ERROR ] 2013-10-29 10:45:26.461306 7fbaa1b597a0 -1 created new key in keyring /osd2/keyring

[ldtdsr02se19][ERROR ] added key for osd.1

[ldtdsr02se19][ERROR ] create-or-move updating item name 'osd.1' weight 0.1 at location {host=ldtdsr02se19,root=default} to crush map

 

At this point, ceph-deploy just hung.  After waiting for many minutes, I had to kill it manually.   Looking at the OSD directory though, there is a lot of information that has been added there and when I do a “ceph health” it comes back as “HEALTH_OK”.

 

Is it really OK?

 

Thanks

 

_______________________________________________

This message is for information purposes only, it is not a recommendation, advice, offer or solicitation to buy or sell a product or service nor an official confirmation of any transaction. It is directed at persons who are professionals and is not intended for retail customer use. Intended for recipient only. This message is subject to the terms at: www.barclays.com/emaildisclaimer.

For important disclosures, please see: www.barclays.com/salesandtradingdisclaimer regarding market commentary from Barclays Sales and/or Trading, who are active market participants; and in respect of Barclays Research, including disclosures relating to specific issuers, please see http://publicresearch.barclays.com.

_______________________________________________

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux