In this video, we learn how about LXD Storage Pools and block storage volumes used by LXD virtual machines. You can create custom Storage Pools, using a variety of storage drivers in LXD, including ZFS, filesystem directories, LVM, and others. The default LXD Storage Pool is named "default" and uses the ZFS storage driver.
By default, LXD virtual machines use a thin-provisioned 10GiB storage volume, and only 3.9 GB of storage is used for the Linux rootfs. You can dynamically expand the rootfs partition (ie. /dev/sda2) to use the remainder of free space on the rootfs disk. CFdisk is an interactive terminal GUI utiliyt, that can be used to expand existing disk partitions.
Additional data disks can be provisioned and attached to LXD virtual machines as well. Data disks do not have to belong to the same storage pool as a virtual machine's rootfs disk.
📺 CHAPTER LIST
------------------------------
00:00 - Intro to LXD Disk Storage
01:14 - Available LXD Storage Drivers
03:15 - Visualize and Create LXD Storage Pools
06:34 - Default LXD Virtual Machine Disk Configuration
08:24 - Create Larger LXD VM Root Filesystem
09:21 - Hot-plugging LXD VM Data Disks
12:22 - Practice Tasks for LXD Storage Volumes
14:14 - Initialize LXD Engine With ZFS Storage Pool
15:26 - Create LXD Virtual Machine & Examine Storage
17:28 - Create Custom LXD Storage Pool
19:46 - Provision Data Disk on Custom LXD Storage Pool
22:14 - Attach Data Disk to LXD Virtual Machine
23:32 - Partition & Format Data Disk Inside LXD VM
26:47 - Mount Data Partition to Linux Folder
28:18 - Expand / Resize Linux Root Filesystem
Check out the Open Source Software playlist for more videos!
📺 • Open Source Software
Please follow me on these other social channels!
➡️ https://trevorsullivan.net/
➡️ https://github.com/pcgeek86
➡️ https://twitter.com/pcgeek86
➡️ null
All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.
#opensource #linux #software
10 Comments