Page Navigation: | |
---|---|
|
Confidence Level TBD This article has not been reviewed for accuracy, timeliness, or completeness. Check that this information is valid before acting on it. |
---|
In OpenStack Console
Create a volume
200-300GB
In OpenStack, go to Volumes
Volume name - mstarch-dev-verdi-work-dir
Volume Source - No source, empty volume
Type - no volume type
Size(GB) - 250
Availability Zone - Any Availability Zone
Attach
Manage Volume Attachments – attach it to an instance. (Can't give it a device name. It will be /dev/vdc)
Login to instance
cat /proc/partitions
Format it
sudo fdisk dev/vdb
(Or can use mkfs if you are using the whole thing)
sudo mkfs.xfs /dev/vdb
sudo vi /etc/fstab
Add the following line
/dev/vdb /data/ xfs defaults 0 0
sudo mount -a