All of lore.kernel.org
 help / color / mirror / Atom feed
From: Smart Weblications GmbH - Florian Wiessner <f.wiessner@smart-weblications.de>
To: ceph-devel <ceph-devel@vger.kernel.org>
Subject: cannot ceph-osd -i 1 --mkfs - mkfs: BTRFS_IOC_SUBVOL_CREATE failed with error (22) Invalid argument
Date: Sun, 26 Aug 2012 23:44:53 +0200	[thread overview]
Message-ID: <503A98D5.8010908@smart-weblications.de> (raw)

Hi List,

i try to recreate osd on ext4 after a crash:

node02:/data/ceph_backend# ceph --version
ceph version 0.51 (commit:c03ca95d235c9a072dcd8a77ad5274a52e93ae30)

node02:/data/ceph_backend# ceph-osd -c /etc/ceph/ceph.conf -i 1 --mkfs --monmap
/tmp/monmap  --mkkey
2012-08-26 23:43:24.572064 f733e710 -1 filestore(/data/ceph_backend/osd) mkfs:
BTRFS_IOC_SUBVOL_CREATE failed with error (22) Invalid argument
2012-08-26 23:43:24.572088 f733e710 -1 OSD::mkfs: FileStore::mkfs failed with
error -22
2012-08-26 23:43:24.572104 f733e710 -1  ** ERROR: error creating empty object
store in /data/ceph_backend/osd: (22) Invalid argument



[global]
       pid file = /var/run/ceph/$name.pid
#       debug ms = 1
        auth supported = cephx
        keyring = /etc/ceph/keyring
       osd journal = /data/ceph_backend/ceph.journal
       osd_journal_size = 512
       filestore journal writeahead = true
#       filestore journal parallel = true
        filestore_xattr_use_omap = 1
        mds max = 5
 filestore btrfs snap = false
 filestore btrfs trans =false

[mon]
       mon data = /data/ceph_backend/mon
[mon.0]
       host = node01
       mon addr = xxx.xxx.xxx.xxx:6789
[mon.1]
       host =node02
       mon addr = xxx.xxx.xxx.xxx:6789
[mon.2]
       host = node03
       mon addr = xxx.xxx.xxx.xxx:6789


[mds]
        keyring = /etc/ceph/keyring.$name
#       mds dir max commit size 32

[mds.0]
       host = node01
[mds.1]
       host = node02
[osd]
       sudo = true
       osd data = /data/ceph_backend/osd
        keyring = /etc/ceph/keyring.$name



[osd.0]
       host = node01
 btrfs devs =

       osd data = /data/ceph_backend/osd
        keyring = /etc/ceph/keyring.$name

[osd.1]
       host = node02
        btrfs devs =
       osd data = /data/ceph_backend/osd
        keyring = /etc/ceph/keyring.$name

-- 

Mit freundlichen Grüßen,

Florian Wiessner

Smart Weblications GmbH
Martinsberger Str. 1
D-95119 Naila

fon.: +49 9282 9638 200
fax.: +49 9282 9638 205
24/7: +49 900 144 000 00 - 0,99 EUR/Min*
http://www.smart-weblications.de

--
Sitz der Gesellschaft: Naila
Geschäftsführer: Florian Wiessner
HRB-Nr.: HRB 3840 Amtsgericht Hof
*aus dem dt. Festnetz, ggf. abweichende Preise aus dem Mobilfunknetz
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2012-08-26 21:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503A98D5.8010908@smart-weblications.de \
    --to=f.wiessner@smart-weblications.de \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.