A script that creates RaidGroups with single disks for use in a ceph installation. uses the naviseccli command line interface. Make sure that the naviseccli works before running the script. it also changes the hotspare policy to not use any hotspares.
Datasheet for some interesting parts.