Favorite Commands on Least Favorite Os

Hey, take a look at the ugly AIX image that I just stole. Since I ran into the image thought that I would take a bit of time to get my AIX notes together and put my new image to good use. Here are some of my favorite commands and other info.

Handy Crontab Header

# minute (0-59),# |      hour (0-23),# |      |       day of the month (1-31),# |      |       |       month of the year (1-12),# |      |       |       |       day of the week (0-6 with 0=Sunday).# |      |       |     … Continue reading Handy Crontab Header

HPUX LVM Cheat Sheet

Scan for Disks Run the command below to scan for disks. ioscan -fnC disk Make your physical volume This is the first step in the creation of a physical volume. pvcreate -f /dev/rdsk/c0t1d0 Create the device structure using mknod Mknon creates a FIFO, character special file, or block special file with the specified name. You … Continue reading HPUX LVM Cheat Sheet

Modifying the Bootlist

Below are instructions on how to modify and confirm your bootlist, which is the list of devices that your AIX system is going to try to boot from. Below is a list of quick and easy commands. To specify the logical volume hd5 on disk hdisk0 for normal boot, typlebootlist -m normal hdisk0 blv=hd5 To … Continue reading Modifying the Bootlist

AIX bootdisk removal

Need to replace a failed rootdisk in AIX? The post below outlines the procedure for removing a disk from a mirrored root volume. First take a look at what disks are in your rootvg. In the example below we have hdisk0 and hdisk1   # lsvg -p rootvg rootvg: PV_NAME PV STATE          … Continue reading AIX bootdisk removal