tldr/pages/linux/pvcreate.md

12 lines
232 B
Markdown
Raw Normal View History

2017-02-21 03:48:58 +00:00
# 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}}`