summaryrefslogtreecommitdiff
path: root/man/pvcreate.8.des
diff options
context:
space:
mode:
Diffstat (limited to 'man/pvcreate.8.des')
-rw-r--r--man/pvcreate.8.des18
1 files changed, 18 insertions, 0 deletions
diff --git a/man/pvcreate.8.des b/man/pvcreate.8.des
new file mode 100644
index 000000000..3dfddbcb7
--- /dev/null
+++ b/man/pvcreate.8.des
@@ -0,0 +1,18 @@
+pvcreate initializes a PV so that it is recognized as belonging to LVM,
+and allows the PV to be used in a VG. A PV can be a disk partition, whole
+disk, meta device, or loopback file.
+
+For DOS disk partitions, the partition id should be set to 0x8e using
+.BR fdisk (8),
+.BR cfdisk (8),
+or a equivalent. For GUID Partition Table (GPT), the id is
+E6D6D379-F507-44C2-A23C-238F2A3DF928. For
+whole disk devices only
+the partition table must be erased, which will effectively destroy all
+data on that disk. This can be done by zeroing the first sector with:
+
+.BI "dd if=/dev/zero of=" PhysicalVolume " bs=512 count=1"
+
+Use \fBvgcreate\fP(8) to create a new VG on the PV, or \fBvgextend\fP(8)
+to add the PV to existing VG.
+