1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-30 01:33:37 +02:00
tldr/pages/linux/pvcreate.md

13 lines
323 B
Markdown

# 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/sdXY}}`
- Force the creation without any confirmation prompts:
`pvcreate {{[-f|--force]}} {{/dev/sdXY}}`