Changes

Jump to: navigation, search

OPS235 Lab 5

198 bytes added, 22:12, 22 January 2017
Adding subtraction symbol for lvreduce to avoid setting to 0.5G rather than reduce by 0.5G. Adding warning.
<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>
{{Admon/important|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.}}<li>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>
'''Answer the INVESTIGATION 2 observations / questions in your lab log book.'''
 
= LAB 5 SIGN-OFF (SHOW INSTRUCTOR) =

Navigation menu