- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS incompatibilties between AIX and HP-UX?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 01:09 AM
05-15-2001 01:09 AM
NFS incompatibilties between AIX and HP-UX?
a collegue of mine who runs a scheduled monitoring script that connects to our Unix servers (different brands: HP-UX, AIX, Solaris, Linux), and amongst other things checks filling of filesystems, experienced a strange Floating Point exception and subsequential core dumps whenever his script issued a "df -k".
This only happened after I had exported an Oracle 64Bit installation CDROM to a HP-UX 11.00 box that was mounted on an AIX 4.1 box.
The strange thing is that this only appears with -k flag.
A "df" without it does no core dump.
To me it seems like some idiosyncracy with block sizing between AIX and HP-UX?
The CDROM is globally exported with -ro option only and mounted like this on the HP-UX box:
#bdf -t nfs
Filesystem kbytes used avail %used Mounted on
aaa.bbb.ccc.ddd:/cdrom 0 0 0 0% /opt/ora_inst
While our DBAs need the CDROM for an Oracle upgrade I advised my colleague to change his df-flags to restrict lookups to the Veritas FS only (we safely can drop /stand as it usually stays fixed) by putting a
"df -kF vxfs" call in his script.
(mind you bdf can cope with the export from AIX, looks as if HP developers haven't been too keen to put much debugging effort in their standard Unix-fair df-port ;-)
Explanations are welcome.
Regards
Ralph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 01:58 AM
05-15-2001 01:58 AM
Re: NFS incompatibilties between AIX and HP-UX?
I guess df -k coredumps because it apparently tries to divide 0 by 1024.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 02:25 AM
05-15-2001 02:25 AM
Re: NFS incompatibilties between AIX and HP-UX?
this was the command line I issued to mount the CDROM:
# mount -F nfs -o ro,soft aaa.bbb.ccc.ddd:/cdrom /opt/ora_inst
(letters a-d represent IP of exporting AIX box)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 05:09 AM
05-15-2001 05:09 AM
Re: NFS incompatibilties between AIX and HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 10:05 AM
05-15-2001 10:05 AM
Re: NFS incompatibilties between AIX and HP-UX?
I was just thinking that you might wan to pickup PHCO_22274, superceded byPHCO_23117 bdf(1):autofs:skip Size 31K 1Liner s700_800 11.00 bdf(1M) cumulative patch which fixes a problem with a buffer overflow. I don't know if that is the specific issue causing bdf to abort in your case, but you certainly might want to consider installing this patch since it does not cause a reboot and affects few other subsystems.
Hope this helps,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 01:00 PM
05-15-2001 01:00 PM
Re: NFS incompatibilties between AIX and HP-UX?
Are you using/forcing NFS V3? This is the default in AIX, so you may want to reduce it to V2 or both. Dont know that it is causing any problems, but......
Also if the guys script uses df and not bdf, he should change his script. df on other system's does what bdf does on HP-UX. It is not so hard to look at the remote system, and issue commands appropriately. I do this alot just because of the difference in locations of binaries in the different systems.
I.E.
SYS_TYPE=`/bin/uname`
case $SYS_TYPE in
HP-UX)
DF=/usr/bin/bdf
RSH=/usr/bin/remsh
XDIR=/usr/bin/X11
;;
SunOS)
DF=/usr/sbin/df
XDIR=/usr/openwin/bin
RSH=/usr/bin/rsh
;;
esac
for HOST in host1 host2 ; do
$REMSH $HOST '$DF'
done
I know syntax is messy, but I think you get the idea.....
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 12:25 AM
05-16-2001 12:25 AM
Re: NFS incompatibilties between AIX and HP-UX?
pfs_mount can be used to mount a cd-rom from a remote server (read the man page...), but only if the remote system runs pfsd. PFS is strongly related to NFS.
I admit it won't work in this case, because AIX uses a different method to mount CD-ROM filesystems.
Regards,
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 05:28 AM
05-16-2001 05:28 AM
Re: NFS incompatibilties between AIX and HP-UX?
Vincent, the mounted filesystem is accessible:
# find /opt/ora_inst|head
/opt/ora_inst
/opt/ora_inst/doc
/opt/ora_inst/doc/8iR3.pdf
/opt/ora_inst/doc/a86566.pdf
/opt/ora_inst/doc/images
/opt/ora_inst/doc/images/docbutton_h.gif
/opt/ora_inst/doc/images/docbutton.gif
/opt/ora_inst/doc/images/ds.gif
/opt/ora_inst/doc/images/ds_5fh.gif
/opt/ora_inst/doc/images/relnotebutton_h.gif
Funny thing is that the %used column of the bdf dump below for the AIX exportfs says 0% whereas another exported CDROM from an IRIX 6.5 Indy correctly states 100%
# bdf -t nfs
Filesystem kbytes used avail %used Mounted on
aaa.bbb.ccc.ddd:/cdrom 0 0 0 0% /opt/ora_inst
eee.fff.ggg.hhh:/CDROM 621752 621752 0 100% /opt/ora_doc
Brian, I will download the mentioned patches and dig through their README to see whether they address our little bug or are of any other use.
Shannon, if it were my script I would have done it in a similar way, by either checking the output from $(uname -s) or Perl's special variable $^O, and appropriatly use the bdf command for HP-UX.
By the way there is a wonderful CPAN module Proc::ProcessTable which gives you a single interface to all deviating kinds of the ps command (e.g. BSD vs. SysV)
I hope, you are not too disappointed about my poor rating of your answers, but none has come up yet with a fully satisfying explanation.