about summary refs log tree commit diff stats
path: root/tools/lvm.html
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lvm.html')
-rw-r--r--tools/lvm.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/tools/lvm.html b/tools/lvm.html
index 898a8d3..a61ca8a 100644
--- a/tools/lvm.html
+++ b/tools/lvm.html
@@ -40,17 +40,19 @@
 
         <h2 id="lvmpart">1. LVM Partition</h2>
 
-        <p>Create a LVM partition, fdisk should
-        show something like this;</p>
+        <p>There is no need to create a partition with fdisk or parted
+        if all device will be used for lvm, just <a href="#pv">pvcreate</a>
+        against the device (pvcreate /dev/sda).</p>
+
+        <p>Create a LVM partition with parted;</p>
 
         <pre>
-        # parted /dev/sda
+        parted --script ${DEV} \
+                unit mib \
+                mkpart primary 1000 4000 \
+                set 1 lvm on
         </pre>
 
-        <p>I use defaults unless to define system partition last sector,
-        where in this example is size, +80G</p>
-
-
         <h2 id="pv">2. Create physical volume</h2>
 
         <pre>