We will be undergoing scheduled maintenance on May 20th, 2013 at 02:00 GMT.
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com�s entire library of video tutorials.
It is easiest to create a logical volume during the installation process, but you may not have that luxury during the troubleshooting and system maintenance portion of your RHCE Exam. If you have to add, remove, or resize a logical volume after installation, you won't be allowed to reinstall the system. Even if you are, you probably won't have the time. So, while you could do this with the system config lvm tool, it's fastest to do this from the command line. First it's best to get a baseline. To see what's mounted, run the mnt command. To see what's configured as a logical volume, you may get additional help by checking the fstab configuration file. Ah hah. There's a logical volume in there. To review current logical volumes, physical volumes, and volume groups, run the lvdisplay, the vgdisplay, as well as the pvdisplay commands. We've described how to create a new logical volume from the command line after installation in another video. To remove a logical volume, remember, you first should save any data mounted on that logical volume, then you could unmount that volume and remove that volume with the lvremove command. If you need the name of the volume, remember there's the lvdisplay command, then as needed you could remove the volume group with the vgremove command and the physical volume with the pvremove command. Expanding a logical volume is a bit more complex. Because of the risks, you should back up the current data in the volume, and then unmount the volume. You can then extend the logical volume using available space in the volume group. For example, the command shown here adds 100 megabytes of space to the existing logical volume, dev slash myvg slash lvol0. But that's not enough. You also need to resize the formatted file system, assuming it's formatted with either the default extended 3 file system, or the x2 file system, you could do this with the resize2fs command. And when you do it without any switches, it fills all available space including the space you've just extended.
| 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: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |