tldr/pages/linux/pvcreate.md
2017-05-02 13:48:58 +01:00

12 lines
277 B
Markdown

# pvcreate
> Initialize a physical volume (disk or partition) for use by the Logical Volume Manager (LVM).
- Initialize the `/dev/sda1` volume for use by LVM:
`pvcreate {{/dev/sda1}}`
- Force the creation without any confirmation prompts:
`pvcreate --force {{/dev/sda1}}`