Exoscale - Extend disk space¶
Create block storage¶
- Login into Exoscale
- Got to Compute > Block Storage
- Create a new entry in the same zone as the server
- Add a label
namewith value$ALIAS.mint-system.com - Attach it to the server
- Get disk path from
/dev/disk/by-id/$DISK_ID - Format the disk
sudo mkfs.ext4 /dev/vdb
Mount block storage¶
- Create a mount point
- Mount the disk
- Add
/etc/fstabentry
Mount block storage with Ansible¶
- In Ansible create a fstab entry:
fstab_mounts:
- path: /mnt/sdb
src: /dev/disk/by-id/$DISK_ID
opts: discard,nofail,defaults
state: mounted
fstype: ext4
- Mount the fstab:
Backlinks
đź”— Exoscale