cannot ceph-osd -i 1 --mkfs - mkfs: BTRFS_IOC_SUBVOL_CREATE failed with error (22) Invalid argument
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
Signature · 22 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html