Skip to contentSkip to conversation

ceph-deploy: how to change filesystem type from xfs to btrfs using --fs-type option

DISCUSSION Isaac Otsiabah 1 participant 1 message May 23, 2013

lore
Share & tools
lore
#0 lore raw

Hello, the link at http://ceph.com/docs/master/rados/deployment/ceph-deploy-osd/ say that you can use

--fs-type

option to change the default filesystem from xfs to either btrfs or ext4 but when i tried the following syntax, they all failed:

1)

[root@g1 wkd]# ceph-deploy osd prepare --fs-type btrfs gluster3:sdd:/dev/sdb1
usage: ceph-deploy [-h] [-v | -q] [-n] [--overwrite-conf] [--cluster NAME] COMMAND ...
ceph-deploy: error: unrecognized arguments: --fs-type

2)
[root@g1 wkd]# ceph-deploy --fs-type btrfs osd prepare  gluster3:sdd:/dev/sdb1
usage: ceph-deploy [-h] [-v | -q] [-n] [--overwrite-conf] [--cluster NAME] COMMAND ...
ceph-deploy:
error: argument COMMAND: invalid choice: 'btrfs' (choose from
'purgedata', 'mds', 'forgetkeys', 'purge', 'admin', 'mon', 'install', 'gatherkeys', 'new', 'disk', 'config', 'osd', 'uninstall')

3)
[root@g1 wkd]# ceph-deploy osd create --fs-type btrfs gluster3:sdd:/dev/sdb1
usage: ceph-deploy [-h] [-v | -q] [-n] [--overwrite-conf] [--cluster NAME] COMMAND ...
ceph-deploy: error: unrecognized arguments: --fs-type

4)

[root@g1 wkd]# ceph-deploy --fs-type btrfs osd create gluster3:sdd:/dev/sdb1
usage: ceph-deploy [-h] [-v | -q] [-n] [--overwrite-conf] [--cluster NAME] COMMAND ...
ceph-deploy:
error: argument COMMAND: invalid choice: 'btrfs' (choose from
'purgedata', 'mds', 'forgetkeys', 'purge', 'admin', 'mon', 'install', 'gatherkeys', 'new', 'disk', 'config', 'osd', 'uninstall')

Is the --fs-type option working? if yes, then what is the proper syntax? Thanks

Isaac

--
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