One challenging aspect of tech support is that before you talk to the customer, you have no way of knowing what the problem will be. It can be anything from simple questions that are easily answered by reading the manual to long, drawn-out system crashes.
Late one Monday afternoon,
when I had been idle the longest, my phone rang as the next customer came into
the
When I asked the customer how far the
system got and what, if any, error messages were on the screen, his response
indicated that the root file system was trashed. At that point, I knew it was
going to be a five-minute call. In almost every case, there is no way to recover
from this. On a few rare occasions, fsck can clean things up to be able to
We began discussing the options, which were very limited. He could reinstall the operating system and then the data, or he could send his hard disk to a data recovery service. Because this was a county government office, they had the work of dozens of people on the machine. They had backups from the night before, but all of that days work would be lost.
Because no one else was waiting in the
I was about
ready to give up when the customer mentioned that the fdisk table didn’t look
right. Three entries in the table had starting and ending blocks. This didn’t
sound right because he only had two partitions: root and swap. So I checked
Because the data was probably already trashed, there was no harm in
continuing, so we decided to try running
I suggested backing up the data just to be safe. Because it was an additional file system, however, reinstalling the OS could preserve it. Within a couple of hours, he could be up and running again. The lesson learned: Make sure you know the configuration of your system! If at all possible, keep data away from the root file system and do a backup as often as you can afford to. The lesson for me was to have the customer read each entry one-by-one.
Being able to manage and administer your system
requires that you know something about how your system is defined and
configured. What values have been established for various parameters? What is
the base
The nice thing is that the system can answer these questions for you, if you know what to ask and where to ask it. In this section, we are going to take a look at where the system keeps much of its important configuration information and what you can use to get at it.
As a user, much of the information that you can get will be useful only to satisfy your curiosity. Most files that I am going to talk about you can normally read. However, you won’t be able to run a few of the utilities, such as fdisk. Therefore, what they have to say will be hidden from you.
If you are an
The command
will show you the maximum length of the user name. This can also show you to things that are less meaningful to users, such as the size of a page in memory.
A list of the essential system files can be found