1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/pvcreate.md
2017-02-21 09:18:58 +05:30

11 lines
232 B
Markdown

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