After server reboot, I try to mount a NFS mount which is normally work. But got the following error:
mount: server:/filesystem Unknown error
The root cause turned out to be the first DNS server in the search order in /etc/resolv.conf failed.
nslookup serverxxx
*** Can't find server name for address 10.64.xx.10: Non-existent host/domainServer: DNS1.xxx.com
Address: 10.64.xx.11
Name: serverxxx.xxx.com
Address: 10.64.xx.xx
My blog has moved,please visit the new site
IBM AIX/UNIX system storage administration ksh/perl scripting
Saturday, May 24, 2008
NFS mount error: mount: server:/filesystem Unknown error
Thursday, May 22, 2008
Latest Set of General Purpose AIX v5.3 Tunables
Latest Set of General Purpose AIX v5.3 Tunables
Please ensure you test these first before implementing in production as your mileage may vary
Network
no -p -o rfc1323=1
no -p -o sb_max=1310720
no -p -o tcp_sendspace=262144
no -p -o tcp_recvspace=262144
no -p -o udp_sendspace=65536
no -p -o udp_recvspace=655360
nfso -p -o rfc_1323=1
nfso -p -o nfs_socketsize=600000
nfso -p -o nfs_tcp_socketsize=600000
Memory Settings
vmo -p -o minperm%=5
vmo -p -o maxperm%=90
vmo -p -o maxclient%=90
vmo -p -o minfree=1000
vmo -p -o maxfree=1200
vmo -p -o lru_file_repage=0
vmo -p -o lru_poll_interval=10
Leave strict_maxperm and strict_maxclient at their defaults
IO Settings
Leave minpgahead and J2_minPageReadAhead at their defaults of 2
ioo -p -o j2_maxPageReadAhead=128
ioo -p -o maxpgahead=16
ioo -p -o j2_nBufferPerPagerDevice=1024
ioo -p -o hd_pbuf_cnt=1024
ioo -p -o numfsbufs=2048
ioo -p -o pv_min_pbuf=1024
#### this is the 5.3 value - below is the one for 5.2
### ioo -p -o pv_min_pbuf=1024
If doing lots of raw I/O you may want to change lvm_bufcnt
Default is 9
ioo -p -o lvm_bufcnt=12
Others left to default that you may want to tweak include:
ioo -p -o numclust=1
ioo -p -o j2_nRandomCluster=0
ioo -p -o j2_nPagesPerWriteBehindCluster=32
ioo -p -o j2_maxRandomWrite=32
ioo -p -o maxrandwrt=32
These are starting points only
Other areas to look at tuning:
Fiber cards
Check out max_xfer_size - 0x100000 is 16mb dma, 0x200000 is 128mb dma
For heavy I/O you may want to change this to 128mb
hdisks
Check out queue_depth. If seeing sqfull on iostat -D then
increase queue_depth if your disk subsystem allows it
Best Practices Guidelines
AIX Wiki home: http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/Home
System Admin Best Practices1: http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/AIXV53AdminBestPractice
System Admin Best Practices2: http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/AIXV53AdminBPFiles
Installation Best Practices: http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/Installation
Software Maintenance Best Practices: http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/AIXV53Maint
SAN boot considerations: http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/AIXV53SANBoot
Backup and Restore: http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/AIXV53Backup
Hardware Management Console: http://www-941.haw.ibm.com/collaboration/wiki/display/virtualization/HMC_bk
Compiled Open Source Tools for AIX
Compiled Open Source Tools for AIX
Here are several URL's for Open Source Tools for AIX. The "IBM AIX Toolbox" has the most tools, but not necessarily the most current versions. The most current version are on the "AIX Open Source" and "Hudson Valley CC" URLs.
IBM AIX Toolbox for Linux Applications – http://www.ibm.com/servers/aix/products/aixos/linux/download.html
AIX Open Source – http://www.perzl.org/
Hudson Valley CC - http://pware.hvcc.edu (Includes AMP, gcc 4.2.[12], samba under "bundles" directory )
Bull Open Software archive for AIX - http://www.bullfreeware.com/
Bull Gnome web site – http://gnome.bullfreeware.com/new_index.html
IBM Developerworks in general - http://www.ibm.com/developerworks/downloads/
IBM IBM AlphaWorks http://www.alphaworks.ibm.com/
Labels
- ACL (1)
- admin (2)
- AIX 5.3 (1)
- AIX 6.1 (3)
- Atape (1)
- backup (5)
- backupios (1)
- Best Practices (1)
- bosboot (1)
- cdrom (1)
- cfgmgr (1)
- commands (4)
- compatibility (1)
- console (1)
- device (2)
- dhcp (1)
- disk (1)
- DNS (2)
- Downloads (1)
- dump (1)
- Dynamic (1)
- error (1)
- errpt (1)
- ESS (1)
- etherchannel (1)
- Filesystem (7)
- firmware (2)
- Freeware (1)
- ftp (2)
- getty (1)
- GNU (1)
- HACMP (2)
- HEA (1)
- HMC (2)
- hostname (1)
- I/O (1)
- Installation (2)
- installp (2)
- IP alias (1)
- iptrace (1)
- iso (2)
- IVM.CLI (1)
- jfs (1)
- JFS to JFS2 conversion (1)
- jfs2 (2)
- kdb (1)
- kernel (1)
- LED (2)
- lifecycle (2)
- Live Partition Mobility (1)
- lofiadm (1)
- login (1)
- LPAR (1)
- lppchk (1)
- lsof (1)
- LV (1)
- lvm (3)
- memory (1)
- migration (4)
- mksysb (2)
- mkvdev (1)
- mkvgdata (1)
- mount (1)
- multibos (1)
- ndd (2)
- netstat (1)
- network (7)
- NFS (2)
- NIC (4)
- NIM (2)
- NPIV (1)
- ODM (2)
- openssh (1)
- oslevel (1)
- patching (1)
- Performance (4)
- Perl (2)
- Perl Module (2)
- permission (1)
- port (1)
- Power VM (1)
- Power5 (1)
- Power6 (1)
- printer (1)
- problem (17)
- process (4)
- RAID5 (1)
- Recovery (2)
- respawn (1)
- restore (1)
- routing (4)
- RSC (1)
- runq (1)
- savevg (1)
- scripts (4)
- SEA (1)
- security (5)
- sendmail (1)
- solaris (7)
- SSA (1)
- SSH (2)
- ssh-agent (1)
- storage (3)
- subnet (1)
- Sun Remote System Control (1)
- support (2)
- synchronize (1)
- TCPIP (5)
- telnet (2)
- time zone (1)
- topas (1)
- Total Storage (1)
- trace (2)
- tuning (1)
- uninstall (1)
- update (1)
- update boot (4)
- upgrade (3)
- users (2)
- Veritas Volume Manager (1)
- VG (1)
- VIOS (4)
- VMM (1)
- VxVM (1)
- wtmp (1)