Files
cheatsheet-tldr/tldr/linux/vgcreate
2025-11-21 00:20:25 +00:00

19 lines
458 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# vgcreate
> Create volume groups combining multiple mass-storage devices.
> See also: `lvm`.
> More information: <https://manned.org/vgcreate>.
- Create a new volume group using the specified device:
`sudo vgcreate {{volume_group}} {{/dev/sdXY}}`
- Create a new volume group using multiple devices:
`sudo vgcreate {{volume_group}} {{/dev/sdXY}} {{/dev/sdXZ}}`