tldr/pages/linux/vgcreate.md

14 lines
402 B
Markdown
Raw Normal View History

2017-02-21 03:48:35 +00:00
# vgcreate
> Create volume groups combining multiple mass-storage devices.
> See also: `lvm`.
> More information: <https://man7.org/linux/man-pages/man8/vgcreate.8.html>.
2017-02-21 03:48:35 +00:00
- Create a new volume group called vg1 using the `/dev/sda1` device:
2017-02-21 03:48:35 +00:00
`vgcreate {{vg1}} {{/dev/sda1}}`
- Create a new volume group called vg1 using multiple devices:
`vgcreate {{vg1}} {{/dev/sda1}} {{/dev/sdb1}} {{/dev/sdc1}}`