mkcephfs error

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

 



Hi,


I am deploying a 3 node ceph storagollowing thee cluster for my company, following the webinar: http://www.youtube.com/watch?v=R3gnLrsZSno


I am stuck at formating the osd's and making them ready to mount the directories. Below is the error thrown back:

root@ceph-node1:~# mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyring --mkfs

unrecognized option '--mkfs'

usage: /sbin/mkcephfs -a -c ceph.conf [-k adminkeyring] [--mkbtrfs]

   to generate a new ceph cluster on all nodes; for advanced usage see man page

   ** be careful, this WILL clobber old data; check your ceph.conf carefully **


Changing the --mkfs flag to --mkbtrfs results in the error below:

root@ceph-node1:~# mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyring --mkbtrfs

temp dir is /tmp/mkcephfs.By7pV0aY0W

preparing monmap in /tmp/mkcephfs.By7pV0aY0W/monmap

/usr/bin/monmaptool --create --clobber --add a 192.168.56.21:6789 --add b 192.168.56.22:6789 --add c 192.168.56.23:6789 --print /tmp/mkcephfs.By7pV0aY0W/monmap

/usr/bin/monmaptool: monmap file /tmp/mkcephfs.By7pV0aY0W/monmap

/usr/bin/monmaptool: generated fsid de3258d8-1a1f-427d-91ca-cbc679f75305

epoch 0

fsid de3258d8-1a1f-427d-91ca-cbc679f75305

last_changed 2014-10-15 09:35:41.950988

created 2014-10-15 09:35:41.950988

0: 192.168.56.21:6789/0 mon.a

1: 192.168.56.22:6789/0 mon.b

2: 192.168.56.23:6789/0 mon.c

/usr/bin/monmaptool: writing epoch 0 to /tmp/mkcephfs.By7pV0aY0W/monmap (3 monitors)

=== osd.0 ===

no btrfs devs defined for osd.0

2014-10-15 09:35:42.183383 7f9a06bca780 must specify '--osd-data="" data path

2014-10-15 09:35:42.192312 7f9a06bca780 usage: ceph-osd -i osdid [--osd-data="" [--osd-journal=path] [--mkfs] [--mkjournal] [--convert-filestore]

2014-10-15 09:35:42.192602 7f9a06bca780    --debug_osd N   set debug level (e.g. 10)

--conf/-c        Read configuration from the given configuration file

-d               Run in foreground, log to stderr.

-f               Run in foreground, log to usual location.

--id/-i          set ID portion of my name

--name/-n        set name (TYPE.ID)

--version        show version and quit


   --debug_ms N

        set message debug level (e.g. 1)

failed: '/sbin/mkcephfs -d /tmp/mkcephfs.By7pV0aY0W --init-daemon osd.0'



Please help


Regards,
Sakhi Hadebe
Engineer: South African National Research Network (SANReN)Competency Area, Meraka, CSIR

Tel:   +27 12 841 2308
Fax:   +27 12 841 4223
Cell:  +27 71 331 9622
Email: shadebe@xxxxxxxxxx



--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.


This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.


Please consider the environment before printing this email.

_______________________________________________
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