UNIX System Administration Handbook - Evi Nemeth [2]
Bidirectional modems
Debugging a serial line
Other common I/O ports
Parallel ports
USB: the Universal Serial Bus
CHAPTER 8 ADDING A DISK
Disk interfaces
The SCSI interface
The IDE interface
Which is better, SCSI or IDE?
Disk geometry
An overview of the disk installation procedure
Connecting the disk
Creating device entries
Formatting the disk
Labeling and partitioning the disk
Establishing logical volumes
Creating UNIX filesystems
Setting up automatic mounting
Enabling swapping
fsck: check and repair filesystems
Vendor specifics
Adding a disk to Solaris
Adding a disk to HP-UX
Adding a disk to Red Hat Linux
Adding a disk to FreeBSD
CHAPTER 9 PERIODIC PROCESSES
cron: schedule commands
The format of crontab files
Crontab management
Some common uses for cron
Cleaning the filesystem
Network distribution of configuration files
Rotating log files
Vendor specifics
CHAPTER 10 BACKUPS
Motherhood and apple pie
Perform all dumps from one machine
Label your tapes
Pick a reasonable backup interval
Choose filesystems carefully
Make daily dumps fit on one tape
Make filesystems smaller than your dump device
Keep tapes off-site
Protect your backups
Limit activity during dumps
Check your tapes
Develop a tape life cycle
Design your data for backups
Prepare for the worst
Backup devices and media
Floppy disks
Super floppies
CD-R and CD-RW
Removable hard disks
8mm cartridge tapes
DAT (4mm) cartridge tapes
Travan tapes
OnStream ADR
DLT
AIT
Mammoth
Jukeboxes, stackers, and tape libraries
Hard disks
Summary of media types
What to buy
Setting up an incremental backup regime
Dumping filesystems
Dump sequences
Restoring from dumps
Restoring individual files
Restoring entire filesystems
Dumping and restoring for upgrades
Using other archiving programs
tar: package files
cpio: SysV-ish archiving
dd: twiddle bits
volcopy: duplicate filesystems
Using multiple files on a single tape
Amanda
The architecture of Amanda
Amanda setup
The amanda.conf file
The disklist file
Amanda log files
Amanda debugging
File restoration from an Amanda backup
Alternatives to Amanda: other open source backup packages
Commercial backup products
ADSM/TSM
Veritas
Legato
Other alternatives
Recommended reading
CHAPTER 11 SYSLOG AND LOG FILES
Logging policies
Throwing away log files
Rotating log files
Archiving log files
Finding log files
Files NOT to manage
Vendor specifics
Syslog: the system event logger
Configuring syslogd
Red Hat enhancements to syslog
FreeBSD enhancements to syslog
Config file examples
Sample syslog output
Designing a logging scheme for your site
Software that uses syslog
Debugging syslog
Using syslog from programs
Condensing log files to useful information
CHAPTER 12 DRIVERS AND THE KERNEL
Kernel types
Why configure the kernel?
Configuring a Solaris kernel
The Solaris kernel area
Configuring the kernel with /etc/system
An example /etc/system file
Debugging a Solaris configuration
Building an HP-UX kernel
Configuring a Linux kernel
Building the Linux kernel binary
Tuning your Linux configuration
Building a FreeBSD kernel
The master recipe for building a kernel
Audit the system’s hardware
Create a configuration file in SYS/i386/conf
Run config
Run make depend
Build the kernel
Install the new kernel
Test the new kernel
Document the new kernel
Creating a BSD configuration file
The maxusers keyword
The options keyword
The config keyword
Hardware devices
The pseudo-device keyword
A sample FreeBSD configuration file
Tuning the FreeBSD kernel
Adding device drivers
Device numbers
Adding a Solaris device driver
Adding a Linux device driver
Adding a FreeBSD device driver
Device files
Naming conventions for devices