13,420
edits
Changes
no edit summary
{{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. 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/tip|SELinux relabelling may be required|Your system may report that the files are not present 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 content. 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>}}