mirror of https://github.com/CrimsonTome/tldr.git
14 lines
402 B
Markdown
14 lines
402 B
Markdown
# vgcreate
|
|
|
|
> Create volume groups combining multiple mass-storage devices.
|
|
> See also: `lvm`.
|
|
> More information: <https://man7.org/linux/man-pages/man8/vgcreate.8.html>.
|
|
|
|
- Create a new volume group called vg1 using the `/dev/sda1` device:
|
|
|
|
`vgcreate {{vg1}} {{/dev/sda1}}`
|
|
|
|
- Create a new volume group called vg1 using multiple devices:
|
|
|
|
`vgcreate {{vg1}} {{/dev/sda1}} {{/dev/sdb1}} {{/dev/sdc1}}`
|