Volumes
|
df ... /mnt/HC_Volume_100723816 |
|
# ls /dev/disk/by-id/*100723816 /dev/disk/by-id/scsi-0HC_Volume_100723816 |
terraform apply
...
hello_ip_addr="37.27.22.189"
volume_id="100723816" |
Desired
/dev/disk/by-id/scsi-0HC_Volume_100723816
/volume01 xfs discard,nofail,defaults 0 0 |
No. 9
Auto mounting a volume
Q: |
Follow Figure 1012, “A volume: The easy way ” adding an a auto mounted volume to an existing server. TipDue to a Cloud-init implementation quirk consider the auto mount workaround hint. |
|
Problem: Cyclic dependency helloServer <--> volume01 |
main.tf |
userData.yml.tpl |
---|---|
|
|
No. 10
Mount point's name specification
Q: |
In Auto mounting a volume the mount
point's name had been auto generated by
Cloud-init. Modify your setup and
define
|