snippetbashTip
pvcreate — Initialize a disk or partition for use as a physical volume. See also: `lvm`. More information: <htt
Viewed 0 times
commanddiskpartitionuseforclipvcreateinitialize
linux
Problem
How to use the
pvcreate command: Initialize a disk or partition for use as a physical volume. See also: lvm. More information: <https://manned.org/pvcreate>.Solution
pvcreate — Initialize a disk or partition for use as a physical volume. See also: lvm. More information: <https://manned.org/pvcreate>.Initialize the
/dev/sda1 volume for use by LVM:sudo pvcreate {{/dev/sdXY}}Force the creation without any confirmation prompts:
sudo pvcreate {{[-f|--force]}} {{/dev/sdXY}}Code Snippets
Initialize the `/dev/sda1` volume for use by LVM
sudo pvcreate {{/dev/sdXY}}Force the creation without any confirmation prompts
sudo pvcreate {{[-f|--force]}} {{/dev/sdXY}}Context
tldr-pages: linux/pvcreate
Revisions (0)
No revisions yet.