Am 10.08.2012 17:54, schrieb Sage Weil: > On Thu, 9 Aug 2012, Danny Kukawka wrote: >> Remove btrfs specific keys and replace them by more generic >> keys to be able to replace btrfs with e.g. xfs or ext4 easily. >> >> Add new key to define the osd fs type: 'fstype', which can get >> defined in the [osd] section for all OSDs. >> >> Replace: >> - 'btrfs devs' -> 'devs' >> - 'btrfs path' -> 'fs path' >> - 'btrfs options' -> 'fs options' >> - mkcephfs: replace --mkbtrfs with --mkfs >> - init-ceph: replace --btrfs with --fsmount, --nobtrfs >> with --nofsmount, --btrfsumount with --fsumount >> >> Update documentation, manpage and example config files. > > Maybe this should keep the old options as well, so that --mkbtrfs is an > alias for --mkfs --btrfs... I can add this to the patch, no problem! > Tommi, is this kind of invocation compatible with your notion of what > mkcephfs 2.0 should be? If we can jump to the target interface and > rewrite the implementation in terms of the new tools that would capture > the best of both worlds. If you can point me to some documentation how the target interface works, I could take a look at adapting mkcephfs to the new tools as soon as the new interface/workflow is ready. Danny
Attachment:
signature.asc
Description: OpenPGP digital signature