Difference between revisions of "Add a new disk using LVM"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* 2) <code>[[pvcreate]]</code>: <code>[[pvcreate]] [[/dev/]]sdXXXX</code>
 
* 2) <code>[[pvcreate]]</code>: <code>[[pvcreate]] [[/dev/]]sdXXXX</code>
 
* 3) <code>[[vgcreate]]</code>: <code>[[vgcreate]] VG_NAME_1 [[/dev/]]sdXXXX</code>
 
* 3) <code>[[vgcreate]]</code>: <code>[[vgcreate]] VG_NAME_1 [[/dev/]]sdXXXX</code>
* 4) <code>[[lvcreate]]</code>
+
* 4) <code>[[lvcreate]]</code>: <code>lvcreate -l 100%FREE -n LV_NAME_1 VG_NAME_1</code>
 
* 5) <code>[[mkfs.ext4]]</code>
 
* 5) <code>[[mkfs.ext4]]</code>
 
* 6) ....
 
* 6) ....

Revision as of 07:07, 3 March 2021

Advertising: