Managing Filesystems / Filesystem Management Commands
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.
Learn More
Subtitles of the Movie
In this video we'll look at some of the command that you can use to manage and maintain Linux based on the default extended 3 file system. Fscheck sometimes known as fisk, that command can help you repair and check a Linux file system. Dumpe2fs provides detailed information on Linux extended two and extended three file systems. Tune2fs it allows you to add a journal to an extended two file system which turns it into an extended three file system. First the fscheck command. If you really need to check a partition the best place to do it in my opinion is from Linux rescue mode. We'll learn about Linux rescue mode in another video. But first let's see the current situation in Linux rescue mode. You can see most of the standard directories mounted on the mount sysimage directory. And with the troot command make mount sysimage the default root directory. Now let's see what happens when we run the fscheck command on the partition associated with Donna's home directory. There's a warning there don't run fisk on a mounted file system and that warning is serious so we say no. And then if we unmount on this home directory from the second partition on the first IDE drive. Now that partition is unmounted and let's try the fisk command again. It runs through that partition, checks things out and everything is ok. If you want to see more about the file system run the dumpe2fs command. It includes a lot of details. Whoa that went by fast. Let's pipe it to a pager such as less. You can see for yourself when the file system was created, last time it was mounted, and the last time it was written. And there is a lot more information available. Now there's the tune2fs command, it adds a journal to an existing file system. If I'm just upgrading from an old version of red hat Linux it might still be mounted to the extended two file system. Not necessarily the top level root directory but directories you carry over. Such as possibly Donna's home directory, if that's the case would run tune2fs command adding a journal to the partition associated with Donna's home directory. But that was already done. However if you are in the process of converting, you'll probably find things like home directories associated with the extended two file system which you want to change to the extended three file system. And that would implement the changes the next time you boot Linux. Thank you and on to the next video.
Tutorial Information
| Course: | Red Hat Certified Technician |
| Author: | Michael Jang |
| SKU: | 33785 |
| ISBN: | 1-933736-97-6 |
| Release Date: | 2007-07-24 |
| Duration: | 7 hrs / 103 lessons |
| Captions: | For Online University members only |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 