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

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
* 4) <code>[[lvcreate]]</code>: <code>[[lvcreate]] -l 100%FREE -n LV_NAME_1 VG_NAME_1</code>
 
* 4) <code>[[lvcreate]]</code>: <code>[[lvcreate]] -l 100%FREE -n LV_NAME_1 VG_NAME_1</code>
 
* 5) <code>[[mkfs.ext4]]</code> <code>[[mkfs.ext4]] /dev/VG_NAME_1/LV_NAME_1</code>
 
* 5) <code>[[mkfs.ext4]]</code> <code>[[mkfs.ext4]] /dev/VG_NAME_1/LV_NAME_1</code>
* 6) <code>mkdir /path/to/your/new/fs</code>
+
* 6) <code>[[mkdir]] /path/to/your/new/fs</code>
 
* 7) <code>[[/etc/fstab]]</code>
 
* 7) <code>[[/etc/fstab]]</code>
  

Revision as of 07:10, 3 March 2021

Advertising: