Sodamhan.com

TL;DR

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:

pvcreate /dev/sda1

  • Force the creation without any confirmation prompts:

pvcreate --force /dev/sda1

This document was created using the contents of the tldr project.