The Ceph documentation for adding drives shows the use of the prepare statement twice, with the same drive for the journal as shown below (where
/dev/ssd is the journal drive):
Once the prepare statement has been executed once for preparing /dev/sdb, the partitions have already been made on /dev/ssd, so preparing /dev/sdc fails.
Is the prepare statement supposed to work by destroying and recreating the appropriate number of partitions on
/dev/ssd (now 2 instead of just 1) or are we expected to manually configure the partitions ourselves and the documentation is wrong? If we manually create our own partitions on the shared journal drive, what command do we specify for preparing drives
sdc, since if we leave out the journal part (
:/dev/ssd) on each of the prepare commands, it will create two partitions on each drive instead of just one, as it expects the second partition to be used for journaling? Finally, if we manually create our own journalling partitions, should they use the XFS filesystem in production?