#. Initialize the OSD data directory. ::
ssh {new-osd-host}
- sudo ceph-osd -i {osd-num} --mkfs --mkkey
+ sudo ceph-osd -i {osd-num} --mkfs --mkkey --osd-uuid [{uuid}]
The directory must be empty before you can run ``ceph-osd`` with the
``--mkkey`` option. In addition, the ceph-osd tool requires specification
``ceph-{osd-num}`` in the path is the ``$cluster-$id``. If your
cluster name differs from ``ceph``, use your cluster name instead.::
- sudo ceph auth add osd.{osd-num} osd 'allow *' mon 'allow rwx' -i /var/lib/ceph/osd/ceph-{osd-num}/keyring
+ sudo ceph auth add osd.{osd-num} osd 'allow *' mon 'allow profile osd' -i /var/lib/ceph/osd/ceph-{osd-num}/keyring
#. Add your Ceph Node to the CRUSH map. ::