14 lines
333 B
Markdown
Raw Normal View History

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