Chapter 5. Administering the Filesystem
In this chapter, we will cover the following topics:
- Creating a virtual block device
- Formatting and mounting a filesystem
- Using disk quotas
- Maintaining a filesystem
- Extending the capacity of the filesystem
Introduction
This chapter is a collection of recipes that provides for the need to drive a CentOS-based server solution. From formatting and mounting disks to extending a logical volume and maintaining your filesystem and disk quotas, the purpose of this chapter is to show you how quickly and easily you can get to grips with the task of managing the needs of its users in today's most demanding environments.
Creating a virtual block device
In this recipe, we will create a virtual block device that we will use to simulate real devices and partitions so that we can test-drive concepts and commands used in all later recipes in this chapter. Working with real disks and partitions often involves the risk of losing important data or even having...