LVM usage on infrastructure machines¶
We use the Linux Volume Manager (LVM) to manage storage on our infrastructure machines.
We use a setup with thin provisioned logical volumes for more flexibility.
Creating a snapshot¶
sudo lvcreate --snapshot -L 10G -n <container>_<action>_$(date +%Y%m%d-%H%M%S) infra02/container_<container>
Field |
Meaning |
Example |
---|---|---|
|
Name of an existing container, use lvs to list existing volumes |
|
|
Something recognizable describing the reason for the snapshot |
|