Featured »

March 2, 2022 – 2:00 pm

Books have been written on the subject of awk and sed. Here’s a small sample of commands I put together over the years that are useful for everyday system administration tasks. Most of these tasks …

Read the full story »
Networking

Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.

Applications

Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.

Data

Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.

Monitoring

Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Archive by Category

Articles in Data

Dealing with ReiserFS bad blocks

March 24, 2008 – 6:42 pm
linux_penguin_0001

The following is a procedure for recovering a ReiserFS filesystem with bad blocks. If this is a system FS and cannot be unmounted, the box needs to be booted from the latest version of Knoppix …

ReiserFS Filesystem Recovery

March 21, 2008 – 3:55 pm
968780_94091618

The this is a description of a method for recovering ReiserFS filesystems from failed disks with bad blocks, when other recovery methods (reiserfsck) will not work. For this example, the failed server is called node1 …

Distributed password cracking with Medussa

May 10, 2006 – 2:43 pm
Security concept: Golden closed padlock on digital background, 3d render

Medussa is a password cracking application that supports distributed processing. One node acts as the Medussa server and the rest of the nodes are running the client application. The server node, in addition to running …

Mountpoint permission problem in Solaris

May 4, 2006 – 6:45 pm
sun_solaris_0002

The following condition was originally discovered in OpenSolaris 11 (Bug ID: 4697677). This problem occurs when you do mkdir -m 700 on a mountpoint before mounting it. This superceeds whatever permissions you might give to …

Informix database migration on HP-UX

May 1, 2006 – 10:51 am
construction loader

Rather than rebuilding an Informix database on the new HP-UX server, it possible to migrate the existing installation from the old server. The database resides on raw disks with transparent volumes that are not visible …

Creating large AIX JFS filesystems

April 21, 2006 – 12:01 pm
hard drive disk

A quick note on creating large JFS filesystems on AIX: if the filesystem is 64Gb or might be expanded to over 64Gb any time in the future, make sure the NBPI (Number of Bytes Per …

Monitoring Veritas VM problems on Solaris

April 20, 2006 – 4:41 pm
solaris-logo

Several Veritas VM and system logs can be used to monitor and diagnose problems with the Volume Manager. An automated script can be used to grab the last few lines from these logs whenever a …

NFS-mount “Permission denied” error

February 16, 2006 – 11:27 am
keys_security_lock_01

NFS is a relatively uncomplicated functionality of any Unix system. However, from time to time you are bound to run in the “permission denied” error while trying to NFS-mount a filesystem. Everything seems to be …

Protected: Notes on Electronic Security

February 7, 2006 – 12:05 pm

There is no excerpt because this is a protected post.

Veritas Enterprise Administrator GUI

December 9, 2005 – 11:27 am
HP-Greets-IBM-2

The following is an overview of the GUI for Veritas Enterprise Administrator 3.2

Uninstalling Solaris 10 from a multi-boot system

November 27, 2005 – 2:39 am
sun_solaris_0001

Boot into one of the operating systems you would like to keep (i.e. Windows, Linux, etc.) and set its partition as “Active”. Reboot your system. If the system boots into the OS of your choice …

Multi-booting Windows XP and Solaris 10

November 25, 2005 – 5:09 pm
sun_solaris_0001

When creating a multiboot system with Windows XP and Solaris 10 you need to install Windows XP first. If Windows is already installed, repartition the hard drive to allocate sufficient space for your Solaris installation. …

Create boot block on Solaris disk

November 22, 2005 – 11:29 pm
HP-Greets-IBM-2

To make a Solaris disk bootable you need to install the boot block on the disk. This should be done, for example, after copying the primary boot disk to the secondary disk.

Solaris boot disk copy using dd

November 22, 2005 – 6:40 pm
di-logo-solaris-orange

The following Korn shell script will make a bootable copy of the boot disk on a Solaris system. The script uses dd and requires that the source disk and destination disk have the same geometry.

Command-line backup methods

November 22, 2005 – 6:01 pm
968780_94091618

The following is a brief overview of standard Unix comman-line utilities used for data backup on Solaris systems. Most of the information below is also applicable to other unixoid systems.

Working with ISO images on Solaris

November 22, 2005 – 4:57 pm
HP-Greets-IBM-2

The following two commands will take all data in /home/neal, copy it to the ISO file, and burn the ISO file to a recordable CD.

NetBackup statistics, Part II

November 21, 2005 – 5:04 pm
1378002_16584036

This script uses the output of the script in the previous example to calculate yearly backup load for each Veritas NetBackup client.

NetBackup statistics, Part I

November 21, 2005 – 4:59 pm
shell_003

The following script will calculate total size of data backups for each Veritas NetBackup client over the past week (or as defined by the “daysago” variable in the script). The final output will be uploaded …

Using rsync to copy files

November 21, 2005 – 4:00 pm
hard-disk_00416535

In the following example we need to make sure that /export/home on server host2 looks exactly like /export/home on host1. Thus, our SOURCE is host1:/export/home and our TARGET is host2:/export/home
There are two ways of using …

Solaris boot disk copy

November 20, 2005 – 2:24 am
di-logo-solaris-orange

A sample procedure for installing PHP, MySQL and Apache2 on Solaris 8.

Resetting Root Password under Solaris

November 20, 2005 – 2:02 am
HP-Greets-IBM-2

The following document explains how to change an unknown root password on a Solaris system. Use this only for disaster recovery purposes. Please be sure to read the Notes section below if you run into …

Resetting Admin Passwords on Windows

November 20, 2005 – 2:01 am
windows keyboard

Resetting Local Administrator/User Passwords on Windows NT/2000/XP/2003
The following document explains how to change an unknown password for any local account (including Administrator) on a Windows NT/2000/XP/2003 system. Use this only for disaster recovery purposes.
Requirements:
1.Physical access …