Re: Ceph consultants?

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

 



Try using 'ceph-deploy osd create' instead of 'ceph-deploy osd prepare' and 'ceph-deploy osd activate' when using an entire disk for an OSD. That will create a journal partition and co-locate your journal on the same disk with the OSD, but that's fine for an initial dev setup.


Steve Taylor | Senior Software Engineer | StorageCraft Technology Corporation
380 Data Drive Suite 300 | Draper | Utah | 84020
Office: 801.871.2799 |


If you are not the intended recipient of this message or received it erroneously, please notify the sender and delete it, together with any attachments, and be advised that any dissemination or copying of this message is prohibited.


-----Original Message-----
From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Tracy Reed
Sent: Wednesday, October 5, 2016 3:12 PM
To: Peter Maloney <peter.maloney@xxxxxxxxxxxxxxxxxxxx>
Cc: ceph-users@xxxxxxxxxxxxxx
Subject: Re: Ceph consultants?

On Wed, Oct 05, 2016 at 01:17:52PM PDT, Peter Maloney spake thusly:
> What do you need help with specifically? Setting up ceph isn't very
> complicated... just fixing it when things go wrong should be. What
> type of scale are you working with, and do you already have hardware?
> Or is the problem more to do with integrating it with clients?

Hi Peter,

I agree, setting up Ceph isn't very complicated. I posted to the list on
10/03/16 with the initial problem I have run into under the subject "Can't activate OSD". Please refer to that thread as it has logs, details of my setup, etc.

I started working on this about a month ago then spent several days on it and a few hours with a couple different people on IRC. Nobody has been able to figure out how to get my OSD activated. I took a couple weeks off and now I'm back at it as I really need to get this going soon.

Basically, I'm following the quickstart guide at http://docs.ceph.com/docs/jewel/start/quick-ceph-deploy/ and when I run the command to activate the OSDs like so:

ceph-deploy osd activate ceph02:/dev/sdc ceph03:/dev/sdc

I get this in the ceph-deploy log:

[2016-10-03 15:16:10,193][ceph_deploy.osd][INFO  ] Distro info: CentOS Linux 7.2.1511 Core
[2016-10-03 15:16:10,193][ceph_deploy.osd][DEBUG ] activating host ceph03 disk /dev/sdc
[2016-10-03 15:16:10,193][ceph_deploy.osd][DEBUG ] will use init type: systemd
[2016-10-03 15:16:10,194][ceph03][DEBUG ] find the location of an executable
[2016-10-03 15:16:10,200][ceph03][INFO  ] Running command: sudo /usr/sbin/ceph-disk -v activate --mark-init systemd --mount /dev/sdc
[2016-10-03 15:16:10,377][ceph03][WARNING] main_activate: path = /dev/sdc
[2016-10-03 15:21:10,380][ceph03][WARNING] No data was received after 300 seconds, disconnecting...
[2016-10-03 15:21:15,387][ceph03][INFO  ] checking OSD status...
[2016-10-03 15:21:15,401][ceph03][DEBUG ] find the location of an executable
[2016-10-03 15:21:15,472][ceph03][INFO  ] Running command: sudo /bin/ceph --cluster=ceph osd stat --format=json
[2016-10-03 15:21:15,698][ceph03][INFO  ] Running command: sudo systemctl enable ceph.target

More details in other thread.

Where am I going wrong here?

Thanks!

--
Tracy Reed

_______________________________________________
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