Create a logical volume
medium risk
Creates LVs, snapshots and thin volumes.
| Flag | Meaning |
|---|---|
-L | Size |
-l | Extents or % |
-n | Name |
-s | Snapshot |
lvcreate -L 20G -n data vg020 GB volume · explain & risk-check →lvcreate -s -n snap -L 5G vg0/dataSnapshot · explain & risk-check →Reference text is hand-written and may be incomplete — check man lvcreate for your version. Test destructive commands on a non-production system first.