2025-03-14 21:59:59 -06:00
|
|
|
# vgcreate
|
|
|
|
|
|
|
|
|
|
> Create volume groups combining multiple mass-storage devices.
|
|
|
|
|
> See also: `lvm`.
|
|
|
|
|
> More information: <https://manned.org/vgcreate>.
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Create a new volume group using the specified device:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgcreate {{volume_group}} {{/dev/sdXY}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Create a new volume group using multiple devices:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2026-07-08 16:22:34 -06:00
|
|
|
`sudo vgcreate {{volume_group}} {{/dev/sdXY /dev/sdXZ ...}}`
|
|
|
|
|
|
|
|
|
|
- Create a new volume group with custom physical extent size:
|
|
|
|
|
|
|
|
|
|
`sudo vgcreate {{-s|--physicalextentsize}} {{8M}} {{volume_group}} {{/dev/sdXY /dev/sdXZ ...}}`
|