Directory Structure; Enabling Storage Access - Red Hat ENTERPRISE LINUX 3 - INTRODUCTION TO SYSTEM ADMINISTRATION Administration Manual

Introduction to system administration
Hide thumbs Also See for ENTERPRISE LINUX 3 - INTRODUCTION TO SYSTEM ADMINISTRATION:
Table of Contents

Advertisement

Chapter 5. Managing Storage
percent of your available disk space. By making it easy to determine which users are in that 20 percent,
you can more effectively manage your storage-related assets.
Taking this a step further, some file systems include the ability to set per-user limits (often known as
disk quotas) on the amount of disk space that can be consumed. The specifics vary from file system to
file system, but in general each user can be assigned a specific amount of storage that a user can use.
Beyond that, various file systems differ. Some file systems permit the user to exceed their limit for one
time only, while others implement a "grace period" during which a second, higher limit is applied.

5.5.3. Directory Structure

Many system administrators give little thought to how the storage they make available to users today
is actually going to be used tomorrow. However, a bit of thought spent on this matter before handing
over the storage to users can save a great deal of unnecessary effort later on.
The main thing that system administrators can do is to use directories and subdirectories to structure
the storage available in an understandable way. There are several benefits to this approach:
More easily understood
More flexibility in the future
By enforcing some level of structure on your storage, it can be more easily understood. For example,
consider a large mult-user system. Instead of placing all user directories in one large directory, it
might make sense to use subdirectories that mirror your organization's structure. In this way, people
that work in accounting have their directories under a directory named
in engineering would have their directories under
The benefits of such an approach are that it would be easier on a day-to-day basis to keep track of the
storage needs (and usage) for each part of your organization. Obtaining a listing of the files used by
everyone in human resources is straightforward. Backing up all the files used by the legal department
is easy.
With the appropriate structure, flexibility is increased. To continue using the previous example, assume
for a moment that the engineering department is due to take on several large new projects. Because
of this, many new engineers are to be hired in the near future. However, there is currently not enough
free storage available to support the expected additions to engineering.
However, since every person in engineering has their files stored under the
it would be a straightforward process to:
Procure the additional storage necessary to support engineering
Back up everything under the
Restore the backup onto the new storage
Rename
the
engineering
engineering-archive
configuration for a month)
Make the necessary changes so that all engineering personnel can access their files on the new
storage
Of course, such an approach does have its shortcomings. For example, if people frequently move
between departments, you must have a way of being informed of such transfers, and you must modify
the directory structure appropriately. Otherwise, the structure no longer reflects reality, which makes
more work — not less — for you in the long run.
engineering
directory
engineering
directory
on
(before deleting it entirely after running smoothly with the new
accounting
, and so on.
the
original
storage
, people that work
directory,
engineering
to
something
73
like

Advertisement

Table of Contents
loading

Table of Contents