Ext4 as a default is a bad choice, as we don't perform enough QA with
it. To use XFS as the default for ceph-disk-prepare, we need to depend
on xfsprogs.
btrfs-tools is already recommended, so no change there. If you set
osd_fs_type=btrfs, and don't have the package installed, you'll just
get an error message.
Signed-off-by: Tommi Virtanen <tv@inktank.com>
Package: ceph
Architecture: linux-any
-Depends: ${shlibs:Depends}, ${misc:Depends}, sdparm | hdparm, binutils, ceph-common, uuid-runtime, python
+Depends: ${shlibs:Depends}, ${misc:Depends}, sdparm | hdparm, binutils, ceph-common, uuid-runtime, python, xfsprogs
Recommends: ceph-mds, librados2, librbd1, btrfs-tools, gdisk
Description: distributed storage and file system
Ceph is a distributed storage system designed to provide excellent
return fsid
-# TODO depend on xfsprogs?
-# TODO switch default to xfs once xfsprogs is guaranteed.
-# TODO depend on btrfs-tools?
-DEFAULT_FS_TYPE = 'ext4'
+DEFAULT_FS_TYPE = 'xfs'
MOUNT_OPTIONS = dict(
btrfs='noatime,user_subvol_rm_allowed',