Category Archives: Operating Systems

AIX can’t mount NFS mount: 1831-008

Sometimes when you try to mount file system (NFS) you will get the following Error: #mount -o rw server1:/dir /bk mount: 1831-008 giving up on: server1:/dir vmount: Operation not permitted.

How to Configure DNS on AIX

Configure DNS on AIX To configure DNS on an AIX server: Add the DNS server(s) to the /etc/resolv.conf configuration file: vi /etc/resolv.conf

How to check AIX Edition

IBM AIX has a 3 Edition (Standard, Express, Enterprise) and you can check the installed edition on you server by the following command: /usr/sbin/chedition -l and you can check the difference between each edition from the following Link: http://www-03.ibm.com/systems/power/software/aix/v61/editions.html

How to disable LDAP Authentication in Linux

After a customer had performed some bad edits on various LDAP configuration files, users were locked out and unable to access the system. Root could still login however. I logged in as root, and rather than mess with various config … Continue reading

Useful Commands for Redhat LVM and increasing Filesystem

– Scan New Hardware: scsi-rescan rescan-scsi-bus.sh –forcerescan – For Physical Volumes: pvdisplay pvscan pvcreate /dev/sdb – For Volume Groups: vgdisplay vgscan vgextend VGNAME PVNAME lvextend -L+50G LVNAME resize2fs LVNAME

Reset Resources for InActive Lpars

Some times, when you shutdown LPAR, it’s appear inactive but there is some Cores Allocated to this LPAR and overall the HMC doesn’t see the Free cores. so, here is the solution for this issue : – First, login to … Continue reading

remotely eject tap from server

use the following command to remotely eject the tap from a tap device to minimize your time & safe your data: #mt offline it will eject the tap from the default device tap unit “rmt0”.

list mksysb from tap

try this command to list files from a mksysb tap: #lsmksysb the previous command will list from the default tap device “rmt0”. if you have another tap, try the following: #lsmksysb -f /dev/rmt5

rename a device

Use the following command to rename a device: # rendev -l hdisk4 -n hdisk53 where the ‘hdisk4’ is your device and ‘hdisk53’ is the new name. HINT: The device must be free

Error Report Demon

Here are the commands related to error demon in AIX To stop logging run the below command #/usr/lib/errstop To get rid of that log. # rm /var/adm/ras/errlog To restart the daemon, thus creating a new error log