Atom feed of this document
  
 

 Creating a file system

Once the DRBD resource is running and in the primary role (and potentially still in the process of running the initial device synchronization), you may proceed with creating the filesystem for RabbitMQ data. XFS is generally the recommended filesystem:

mkfs -t xfs /dev/drbd1

You may also use the alternate device path for the DRBD device, which may be easier to remember as it includes the self-explanatory resource name:

mkfs -t xfs /dev/drbd/by-res/rabbitmq

Once completed, you may safely return the device to the secondary role. Any ongoing device synchronization will continue in the background:

drbdadm secondary rabbitmq
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...