Project

General

Profile

Actions

Bug #3662

closed

mkcephfs --mkfs is not inserting any default settings

Added by Anonymous over 11 years ago. Updated over 10 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Spent time:
Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

It was my understanding that "sudo mkcephfs -a -c ceph.conf -k ceph.keyring --mkfs" would format a device with btrfs (the default) if the ceph.conf file does not have any specific setting for mkfs or mkfs options

I have tried a variety of not defining anything. and they all fail with "No filesystem type defined".

I am filing this as a bug, because we have been told that if nothing is defined, it defaults to btrfs.

easily reproducible.

error:
No filesystem type defined!
fs was not made, nothing mounted

All variations below tested ==========
[osd.2]
host = burnupi41
osd data = /var/lib/ceph/osd/ceph-2
devs = /dev/sdd1
osd mkfs type =
  1. osd mkfs options btrfs =
  2. osd mount options btrfs = ==========
    [osd.11]
    host = burnupi42
    osd data = /var/lib/ceph/osd/ceph-11
    devs = /dev/sde1
    osd mkfs type =
    osd mkfs options btrfs =
    osd mount options btrfs = =============
    [osd.16]
    host = burnupi43
    osd data = /var/lib/ceph/osd/ceph-16
    devs = /dev/sdb1
    osd mkfs type =
    osd mkfs options =
    osd mount options = ============
    [osd.27]
    host = burnupi44
    osd data = /var/lib/ceph/osd/ceph-27
    devs = /dev/sde1
  3. osd mkfs type = btrfs
  4. osd mkfs options btrfs =
  5. osd mount options btrfs =
Actions

Also available in: Atom PDF