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 MySQL data. XFS is the generally recommended filesystem:

mkfs -t xfs /dev/drbd0

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/mysql

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

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

loading table of contents...