The following lines are a for loop script to display disks info @ AIX System (Disk Name, Disk Unique ID, Disk Size in MB) and of course you can customize the data by add more columns:
If your work on AIX System (or any other UNIX/Linux Distribution), may be you face the following Message when you try to access SFTP:
Couldn't canonicalise: Permission denied
after many troubleshooting :
– user can access SSH without any problem.
– user can’t access SFTP
– you can switch on this user normally.
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:
vmount: Operation not permitted.
Configure DNS on AIX
To configure DNS on an AIX server:
Add the DNS server(s) to the /etc/resolv.conf configuration file:
IBM AIX has a 3 Edition (Standard, Express, Enterprise) and you can check the installed edition on you server by the following command:
and you can check the difference between each edition from the following Link:
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 files, eg under /etc/pam.d, ran this command to disable LDAP authentication and enable “normal” authentication using /etc/shadow:
– Scan New Hardware:
– For Physical Volumes:
– For Volume Groups:
vgextend VGNAME PVNAME
lvextend -L+50G LVNAME
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 HMC Console (Command Line)
– write the following Command to get the System name which contain the LPAR: Continue reading
use the following command to remotely eject the tap from a tap device to minimize your time & safe your data:
it will eject the tap from the default device tap unit “rmt0”.
try this command to list files from a mksysb tap:
the previous command will list from the default tap device “rmt0”.
if you have another tap, try the following:
#lsmksysb -f /dev/rmt5