Open main menu

CDOT Wiki β

Changes

OPS235 Lab 4 - Fedora17

1,357 bytes removed, 08:44, 1 February 2012
no edit summary
# Verify that the volume group is larger and has more free space.
{{Admon/note|Think!|The next part of this investigation is designed to encourage the student to research, think, and use some creativity in working around obstacles in order to solve a task. You should revisit previous Labs, but also research methods can include the Internet searches, etc...}}
<ol>
<li value="19">'''Using that additional space, create a separate filesystem for <code>/home</code>:'''
<ol type="a">
<li>Create the logical volume <code>lv_home</code> (1G ext4)</li>
<li>Find a way to move the contents of <code>/home</code> onto it.</li>
<li>Change your system configuration so that the new filesystem is mounted on <code>/home</code> from now on.</li>
</ol>
</li>
</ol>
{{Admon'''Answer the Investigation 1 observations /tip|SELinux relabelling may be required|Your system may report that the files are not present questions in the new /home filesystem when they are clearly there. This is due to the Security-Enhanced Linux system (SELinux) preventing access to the files, because the files were tampered with (moved) and are no longer recognized as home directory contentyour lab log book. You can fix this problem by restoring the file context labels so that SELinux accepts the files as valid home directory content: <code>restorecon -r /home</code>}}'''
'''Answer the Investigation 1 observations / questions in your lab log book.'''
== Investigation 2: How to Add a PV to an existing VG (Entirely by Command Line) ==
== # You are going to repeat the same steps as outlined in Investigation 2: How can I use LVM to manage storage #1, but on my f16host disk pack? =='''On your <u>f16host</u> (ifedora3 system via command line.e. "disk pack"), using your choice of # Make reference to the GUI and/or following command-line toolsresource:'''[[Logical Volume Management]] # Create a new logical partition ('''NOT a logical Verify that the volume!''') - minimum 5G, leaving at least 10G group is larger and has more free space in the extended partition.# Add that partition as a PV into the existing VG (using the commands you used in the previous investigation).# Grow the root filesystem to fill the available space.
'''Answer the Investigation 2 observations / questions in your lab log book.'''
13,420
edits