mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 13:41:33 +00:00
19 lines
468 B
Plaintext
19 lines
468 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 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}}`
|