LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vgcreate

Create LVM volume groups

TLDR

Create volume group with single device
$ sudo vgcreate volume_group /dev/sda1
copy
Create with multiple devices
$ sudo vgcreate volume_group /dev/sda1 /dev/sdb1
copy

SYNOPSIS

vgcreate [OPTIONS] VolumeGroupName PhysicalVolume...

DESCRIPTION

vgcreate creates a new volume group by combining one or more physical volumes. Volume groups are the storage pools from which logical volumes are allocated, providing flexible storage management.

PARAMETERS

-s, --physicalextentsize size

Physical extent size for the volume group
-p, --maxphysicalvolumes count
Maximum number of physical volumes
-l, --maxlogicalvolumes count
Maximum number of logical volumes
-A, --autobackup y|n
Automatically backup metadata
--clustered y|n
Create a clustered volume group

INSTALL

sudo apt install lvm2
copy
sudo dnf install lvm2
copy
sudo pacman -S lvm2
copy
sudo apk add lvm2
copy
sudo zypper install lvm2
copy
nix profile install nixpkgs#lvm2
copy

CAVEATS

Physical volumes must be initialized with pvcreate first. Volume group names must be unique on the system. Adding devices to a volume group creates a single storage pool for logical volume creation.

HISTORY

vgcreate is part of LVM2, the Linux Logical Volume Manager.

SEE ALSO

lvm(8), pvcreate(8), lvcreate(8), vgextend(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid