Changes

Jump to: navigation, search

OPS235 Lab 5

21 bytes added, 22:17, 22 January 2017
Fixing warning indentation
<li>Format your newly-created partition by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">mkfs -t ext4 /dev/centos_centos2/archive</span></code></b></li>
<li>Issue the '''ssm list''' command to view the new physical volume and logical volume information.</li>
</ol>
{{Admon/important|Pay attention to syntax|Note that the prefixed "+" or "-" in lvextend and lvreduce will add or subtract from the current size. Omitting these prefixes will <b>set</b> the LV size to what you specified.}}
<ol><livalue="21">Reduce the file-size by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">lvreduce -r -L -0.5G centos_centos2/archive</span></code></b></li>
<li>Issue the '''ssm list''' command to verify.</li>
<li>Increase the file-size by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">lvextend -L +1G centos_centos2/archive</span></code></b></li>

Navigation menu