Additional Information for the RHCE Exam / Logical Volumes During Installation
Subtitles of the Movie
Now let's examine how you can create logical volumes during the Red Hat Enterprise Linux installation process as we've already installed Red Hat Enterprise Linux during the RHCT course, we won't go over all the details of installation, just the screens associated with logical volumes and GUI mode. While we could also address text mode, that installation option doesn't provide the same abilities to create custom logical volumes, so we stick to the GUI installation here, specifically looking at the GUI Disk Druid tool. First, to customize partitions when you get to this step, make sure the review and modify partitioning layout option is selected. When you click Next, and then accept the warning you're taken to the Disk Druid screen with a set of default options for logical volumes. By default much of the space is assigned as a volume group, and of that, most of it is assigned as a logical volume for the top-level root directory. The remaining space is assigned as swap space, and a small partition outside of logical volumes is assigned to the boot directory. Now let's try a scenario. Let's say you're told to set up a top-level root directory of 2 gigabytes and a home directory in a logical volume of 1 gigabyte. Right now we have more than enough space allocated to the top level root directory, so let's edit that out. When you click Edit, and highlight the appropriate logical volume, you're taken to the Governing Volume group. Let's edit the logical volume, and make sure it has just 2 gigabytes of space, which is also 2000 megabytes of space. click OK. Now, let's add a third logical volume, not a second logical volume, it's third because we have the root directory, swap space, and now the home directory. We want to allocate a gigabyte of space to this logical volume, which equals 1000 megabytes. click OK. You'll note that there are small differences between what we wanted and what's actually assigned when it's done on regular partitions, that's because the small differences are due to disk geometry. When it's done with logical volumes, it's because small differences are due to something called Physical Extents, a detail that you don't really need to know, just be aware that you'll see those small differences and they are penalized during the Red Hat exams. But before we get out of that editing, let's set up the next scenario and remove the physical volume associated with the second SCSI drive. We do that and let's delete the associated partition as well. Confirm, and that's deleted. Now, with the space available, let's create a new volume group of 1000 megabytes, and a new logical volume of 500 megabytes, dedicated to the VAR directory. I select New, and since we're setting up a logical volume, we set up a logical volume management file system type. Since the first SCSI drive is already allocated to logical volumes, we delete that from the allowable drive list, and I said I wanted 1000 megabytes allocated, and there it is. Note there is still a little free space available on that second SCSI drive. Now we'll be assigning 500 megabytes of space to the VAR directory. We create a logical volume with amount point 4 for the VAR directory, with 500 megabytes of space. click OK. And there it is. To review, we now have 2 gigabytes of space assigned to the logical volume for the top level root directory, a gigabyte assigned for the home directory, the same amount as before is assigned to swap space, and 500 megabytes assigned to the VAR directory. This is an excellent place to take a few minutes, or even a few hours between videos and try some different configurations. There's no way you'll know what you'll be expected to configure during the installation and configuration of your RHCE exam, so practice, practice, practice. Many snares are possible. And, don't forget the scenarios could include RAID. Remember, there are four different levels of RAID possible during the installation process for Red Hat Enterprise Linux, RAID 0, RAID 1, RAID 5, and RAID 6. We discussed that in some detail in the RHCT course.
Tutorial Information
| Course: | Red Hat Certified Engineer |
| Author: | Michael Jang |
| SKU: | 33845 |
| ISBN: | 1-934743-47-X |
| Release Date: | 2008-01-18 |
| Duration: | 6.5 hrs / 94 lessons |
| Captions: | For Online University members only |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 81,350 Video Tutorials (20,800 free)
- Video Available as Flash or QuickTime
- Over 782 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 