HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

vgcreate — Create volume groups combining multiple mass-storage devices. See also: `lvm`. More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
volumecreatecommandmultipleclivgcreategroupscombining
linux

Problem

How to use the vgcreate command: Create volume groups combining multiple mass-storage devices. See also: lvm. More information: <https://manned.org/vgcreate>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/vgcreate

Revisions (0)

No revisions yet.