- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 N...
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
03-10-2005 02:34 AM
03-10-2005 02:34 AM
HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server
The filesystem is exported as follows:
/export/data/proj_test *(rw,insecure,no_auth_nlm,no_root_squash,sync)
I've read a number of threads on this, including a nearly identical problem on ITRC that suggested adding the no_auth_nlm flag for linux 2.4.x kernels. As you can see, I've tried this with no effect. I've also tried loading the capability module, as suggested elsewhere, but this also has no effect.
I've been using the following code to test whether file locking works:
#include
#include
#include
#include
#include
#include
int main ( int argc, char **argv)
{
// Open the file specified on the command line.
int fd;
struct flock fl;
fl.l_type = F_WRLCK;
fl.l_whence = SEEK_SET; /* SEEK_SET, SEEK_CUR, SEEK_END */
fl.l_start = 0; /* Offset from l_whence */
fl.l_len = 0; /* length, 0 = to EOF */
fl.l_pid = getpid(); /* our PID */
fd = open ( argv[1], O_WRONLY );
// Lock
if ( fcntl(fd, F_SETLKW, &fl) ) {
printf ("Cannot get write lock on %s.\n", argv[1]);
} else {
printf ("Obtained write lock on %s.\n", argv[1]);
}
// unlock
fl.l_type = F_UNLCK;
if ( fcntl(fd, F_SETLK, &fl) ) {
printf ("Cannot releae lock on %s.\n", argv[1]);
} else {
printf ("Released lock on %s.\n", argv[1]);
}
close (fd);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 04:03 AM
03-10-2005 04:03 AM
Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server
I have two HP-UX servers 11i D class that nfs connect to a Fedora Core 3 server with the 2.6.5.1 kernel and do not encounter any issues.
Due to the horrific way that RH implemented samba and cifs, I have to use NFS to access common web content.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 05:28 AM
03-10-2005 05:28 AM
Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 07:52 AM
03-10-2005 07:52 AM
Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server
Unless we get something, we can not get started on the problem.
For debugging, you may want to use ethreal, hp-ux nettl.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 08:11 AM
03-10-2005 08:11 AM
Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server
rpc.lockd, however, is a different story. Attached are tcpdumps and rpc.lockd logs for a failed attempt (directory set to 770) and a successful attempt (directory set to 775.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 08:13 AM
03-10-2005 08:13 AM
Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server
http://www6.itrc.hp.com/service/patch/search.do
Search by keyword NFS
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2005 12:05 AM
03-12-2005 12:05 AM
Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server
Is it seen as registered via rpcinfo -p linux_box from hp-ux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2005 11:33 PM
03-13-2005 11:33 PM