Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-14 Thread Daniel Woods

 Daniel Woods wrote:
  
  I just checked, and this was done by the tech guys for the AIX client.
  
   I added the nfs_use_reserved_ports=1 to /etc/rc.uc.posttcpip
   so that he's be able to do his mounting...
  
  With this I was able to mount, however the problem is still that I can't
  copy the contents of the NFS mounted CD onto the local AIX client.
  
  Thanks... Dan.
  
 
 Hell, I thought you were the tech guy. Your problem does not sound as
 though it is directly a consequence of NFS, not if you can mount the
 exported drive or partition.

I am the 'tech guy' for the Linux server, however only the AIX sys admins
have root access to AIX servers (one which I am using as an NFS client).

 You might want to do a man nfsstat (I have found nfsstat -m
 particularly useful in this regard). It sounds as though you have a
 connectivity problem. You could change rsize and wsize options up or
 down, and see what you get. This might be at a network level where a
 tcpdump would tell you something useful about your NFS conection.

 On the AIX client, I get the following...
client:/ovid/cdplv06-- cp -Rp /ovid/cd0 .
cp: docs: A file or directory in the path name does not exist.
cp: hstrdb: A file or directory in the path name does not exist.
cp: infoform: A file or directory in the path name does not exist.
cp: local: A file or directory in the path name does not exist.
cp: ohstr: A file or directory in the path name does not exist.
cp: update: A file or directory in the path name does not exist.

client:/ovid/cdplv06-- nfsstat -m
/ovid/cd0 from /ovid/cd0:DUMMY.lib.ucalgary.ca
  Flags:   
vers=3,proto=udp,auth=unix,soft,intr,down,link,symlink,rsize=1024,wsize=1024,retrans=12
  Lookups: srtt=7 (17ms), dev=3 (15ms), cur=2 (40ms)
  Reads:   srtt=7 (17ms), dev=3 (15ms), cur=2 (40ms)
  All: srtt=7 (17ms), dev=3 (15ms), cur=2000 (4ms)

client:/ovid/cdplv06-- nfsstat -cn
Client nfs:
calls  badcalls   clgets cltoomany  
93102  8  0  0  
Version 2: (0 calls)
null   getattrsetattrroot   lookup readlink   read   
0 0%   0 0%   0 0%   0 0%   0 0%   0 0%   0 0%   
wrcachewrite  create remove rename link   symlink
0 0%   0 0%   0 0%   0 0%   0 0%   0 0%   0 0%   
mkdir  rmdir  readdirstatfs 
0 0%   0 0%   0 0%   0 0%   
Version 3: (93103 calls)
null   getattrsetattrlookup access readlink   read   
0 0%   34 0%  0 0%   105 0% 119 0% 0 0%   92810 99%  
write  create mkdir  symlinkmknod  remove rmdir  
0 0%   0 0%   0 0%   0 0%   0 0%   0 0%   0 0%   
rename link   readdirreaddir+   fsstat fsinfo pathconf   
0 0%   0 0%   0 0%   4 0%   30 0%  1 0%   0 0%   
commit 
0 0%   

client:/ovid/cdplv06-- nfsstat -cr
Client rpc:
Connection oriented
calls  badcalls   badxidstimeouts   newcreds   badverfs   timers 
0  0  0  0  0  0  0  
nomem  cantconn   interrupts 
0  0  0  
Connectionless
calls  badcalls   retransbadxidstimeouts   newcreds   badverfs   
93103  8  12 0  0  0  0  
timers nomem  cantsend   
18 0  0  


Thanks... Dan.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-13 Thread Daniel Woods

Laurent,

 Got some problems at work with an NFS server running on Linux (was kernel
 2.2.18), and AIX NFS clients (4.2, 4.3.1 and 4.3.3).
 
 On AIX clients, we run as root:
 
   nfso -o nfs_use_reserved_ports=1
 
 Then, we were able to mount the filesystems from our Linux box...
 I remember that we call our IBM support to have this information.

I just checked, and this was done by the tech guys for the AIX client.

 I added the nfs_use_reserved_ports=1 to /etc/rc.uc.posttcpip
 so that he's be able to do his mounting...

With this I was able to mount, however the problem is still that I can't
copy the contents of the NFS mounted CD onto the local AIX client.

Thanks... Dan.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-13 Thread J. Craig Woods

Daniel Woods wrote:
 
 I just checked, and this was done by the tech guys for the AIX client.
 
  I added the nfs_use_reserved_ports=1 to /etc/rc.uc.posttcpip
  so that he's be able to do his mounting...
 
 With this I was able to mount, however the problem is still that I can't
 copy the contents of the NFS mounted CD onto the local AIX client.
 
 Thanks... Dan.
 

Hell, I thought you were the tech guy. Your problem does not sound as
though it is directly a consequence of NFS, not if you can mount the
exported drive or partition.

You might want to do a man nfsstat (I have found nfsstat -m
particularly useful in this regard). It sounds as though you have a
connectivity problem. You could change rsize and wsize options up or
down, and see what you get. This might be at a network level where a
tcpdump would tell you something useful about your NFS conection.

I am out of ideas on this unless you have some more relevant info

Good Luck

J. Craig Woods
UNIX/NT SA

-Art is the illusion of spontaneity-



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-12 Thread Daniel Woods

 Laurent CREPET wrote:
  Got some problems at work with an NFS server running on Linux (was kernel
  2.2.18), and AIX NFS clients (4.2, 4.3.1 and 4.3.3).
  
  On AIX clients, we run as root:
  
  nfso -o nfs_use_reserved_ports=1
  
  Then, we were able to mount the filesystems from our Linux box...
  I remember that we call our IBM support to have this information.
  
  Hope it helps...
  
  Laurent.
 
 Hey Dan, let us know if this works. I, for one, am very curious about
 your AIX situation. Working around the country, mainly on Solaris and
 AIX, I have had the occassion to mount directories from servers, such as
 Netware, UNIX, and NT, but have not seen much Linux on the professional
 scene as of yet

I will let you know, and I will give soft-mount a try.
This whole situation has gotten annoying :(

Thanks... Dan.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-10 Thread J. Craig Woods

Laurent CREPET wrote:
 
 Got some problems at work with an NFS server running on Linux (was kernel
 2.2.18), and AIX NFS clients (4.2, 4.3.1 and 4.3.3).
 
 On AIX clients, we run as root:
 
 nfso -o nfs_use_reserved_ports=1
 
 Then, we were able to mount the filesystems from our Linux box...
 I remember that we call our IBM support to have this information.
 
 Hope it helps...
 
 Laurent.

Hey Dan, let us know if this works. I, for one, am very curious about
your AIX situation. Working around the country, mainly on Solaris and
AIX, I have had the occassion to mount directories from servers, such as
Netware, UNIX, and NT, but have not seen much Linux on the professional
scene as of yet
 
-- 
J. Craig Woods
UNIX/NT SA

-Art is the illusion of spontaneity-



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-08 Thread Daniel Woods

Craig (and anyone else that can help),

 Daniel Woods wrote:
  On the AIX client, the /etc/filesystems contains (as same for cd1, cd2)
  /ovid/cd0:
dev   = /ovid/cd0
vfs   = nfs
nodename  = DUMMY.lib.ucalgary.ca
mount   = false
type= nfs
options   = 
bg,hard,intr,retrans=12,rsize=8192,wsize=8192,timeo=50,vers=2,proto=udp,biods=6
account   = false

Actually, someone change the above line, and mounting no longer worked.
Instead it was causing a Not enough memory error when you try to 'ls -l' the 
directory.

I have changed the 'options' to
options = bg,hard,intr,rsize=1024,wsize=1024,vers=3,proto=udp
which does mount ok, I can view the CD contents. However when I try to copy the
contents of the CD onto the hard drive, it dies trying to copy the sub-directories.
 # ls -l /ovid/cd0 
 total 145673
 -r-xr-xr-x   1 root system 14413 Aug 12 19:48 delete*
 dr-xr-xr-x   1 root system  2048 Aug 14 01:56 docs/
 ...snip...
 -r-xr-xr-x   1 root system   156 Aug 12 19:48 nt*
 -r-xr-xr-x   1 root system 71253 Aug 12 19:48 ov.inf*
 -r-xr-xr-x   1 root system 66029 Aug 12 19:48 ov1c*
 -r-xr-xr-x   1 root system 74772 Aug 12 19:48 ov2c*
 -r-xr-xr-x   1 root system   50894887 Aug 12 20:55 ovid.aix*
 -r-xr-xr-x   1 root system   14526368 Aug 12 20:55 ovid.sun*
 -r-xr-xr-x   1 root system 11948 Aug 07 03:32 reload01*
 dr-xr-xr-x   1 root system  4096 Aug 15 01:28 resource/
 dr-xr-xr-x   1 root system  2048 Aug 12 19:48 serials/
 -r-xr-xr-x   1 root system243165 Aug 12 19:48 setup.exe*
 dr-xr-xr-x   1 root system  2048 Aug 07 00:06 update/
 -r-xr-xr-x   1 root system   132 Aug 07 02:54 vol_id*

 # cp -Rp /ovid/cd0 .   
 cp: docs: A file or directory in the path name does not exist.
 cp: resource: A file or directory in the path name does not exist.
 cp: serials: A file or directory in the path name does not exist.
 cp: update: A file or directory in the path name does not exist.

 # ls -l /ovid/cd0 
 ls: 0653-341 The file /ovid/cd0/docs does not exist.
 ...snip...
 ls: 0653-341 The file /ovid/cd0/resource does not exist.
 ls: 0653-341 The file /ovid/cd0/serials does not exist.
 ls: 0653-341 The file /ovid/cd0/update does not exist.
 total 145629
 dr-xr-xr-x   1 root system  2048 Dec 31 1969  ./
 drwxr-xr-x  14 cdpsuper staff512 Oct 31 16:32 ../
 -r-xr-xr-x   1 root system 14413 Aug 12 19:48 delete*
 ...snip...
 -r-xr-xr-x   1 root system   156 Aug 12 19:48 nt*
 -r-xr-xr-x   1 root system 71253 Aug 12 19:48 ov.inf*
 -r-xr-xr-x   1 root system 66029 Aug 12 19:48 ov1c*
 -r-xr-xr-x   1 root system 74772 Aug 12 19:48 ov2c*
 -r-xr-xr-x   1 root system   50894887 Aug 12 20:55 ovid.aix*
 -r-xr-xr-x   1 root system   14526368 Aug 12 20:55 ovid.sun*
 -r-xr-xr-x   1 root system 11948 Aug 07 03:32 reload01*
 -r-xr-xr-x   1 root system243165 Aug 12 19:48 setup.exe*
 -r-xr-xr-x   1 root system   132 Aug 07 02:54 vol_id*


  client # rpcinfo -p(on the AIX client)
 program vers proto   port
  104   tcp111  portmapper
  103   tcp111  portmapper
  102   tcp111  portmapper
  104   udp111  portmapper
  103   udp111  portmapper
  102   udp111  portmapper
  111   udp  32823  rstatd
  112   udp  32823  rstatd
  113   udp  32823  rstatd
  
  server # rpcinfo -p   (on the LM8.1 server)
 program vers proto   port
  102   tcp111  portmapper
  102   udp111  portmapper
  1000241   udp   1024  status
  1000241   tcp   1024  status
  1000111   udp738  rquotad
  1000112   udp738  rquotad
  1000111   tcp741  rquotad
  1000112   tcp741  rquotad
  151   udp   1025  mountd
  151   tcp   1025  mountd
  152   udp   1025  mountd
  152   tcp   1025  mountd
  153   udp   1025  mountd
  153   tcp   1025  mountd
  132   udp   2049  nfs
  133   udp   2049  nfs
  1000211   udp   1026  nlockmgr
  1000213   udp   1026  nlockmgr
  1000214   udp   1026  nlockmgr
  
  server # cat /etc/fstab
  ...
  /dev/cd0  /ovid/cd0 iso9660 ro,sync,nosuid,noauto,exec,user,nodev 0 0
  /dev/cd1  /ovid/cd1 iso9660 ro,sync,nosuid,noauto,exec,user,nodev 0 0
  /dev/cd2  /ovid/cd2 iso9660 ro,sync,nosuid,noauto,exec,user,nodev 0 0
  
  server # cat /etc/exports
  /ovid/cd0 136.159.YYY.XXX(ro,insecure) # Remote mount of cd0
  
   These questions could go on but I do not want to bore Linux people with
   AIX issues...
  
  Feel free to take this off-list if you prefer.
  
  Thanks... Dan.
  

  Want to buy your Pack or Services from 

Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-08 Thread J. Craig Woods

Daniel Woods wrote:
 
 Craig (and anyone else that can help),
 
 On the AIX client, the /etc/filesystems contains (as same for cd1, cd2)
 /ovid/cd0:
   dev   = /ovid/cd0
   vfs   = nfs
   nodename  = DUMMY.lib.ucalgary.ca
   mount   = false
   type= nfs
   options   = 
bg,hard,intr,retrans=12,rsize=8192,wsize=8192,timeo=50,vers=2,proto=udp,biods=6
   account   = false
 
 client # rpcinfo -p(on the AIX client)
program vers proto   port
 104   tcp111  portmapper
 103   tcp111  portmapper
 102   tcp111  portmapper
 104   udp111  portmapper
 103   udp111  portmapper
 102   udp111  portmapper
 111   udp  32823  rstatd
 112   udp  32823  rstatd
 113   udp  32823  rstatd
 
 server # rpcinfo -p   (on the LM8.1 server)
program vers proto   port
 102   tcp111  portmapper
 102   udp111  portmapper
 1000241   udp   1024  status
 1000241   tcp   1024  status
 1000111   udp738  rquotad
 1000112   udp738  rquotad
 1000111   tcp741  rquotad
 1000112   tcp741  rquotad
 151   udp   1025  mountd
 151   tcp   1025  mountd
 152   udp   1025  mountd
 152   tcp   1025  mountd
 153   udp   1025  mountd
 153   tcp   1025  mountd
 132   udp   2049  nfs
 133   udp   2049  nfs
 1000211   udp   1026  nlockmgr
 1000213   udp   1026  nlockmgr
 1000214   udp   1026  nlockmgr
 
 server # cat /etc/fstab
 ...
 /dev/cd0  /ovid/cd0 iso9660 ro,sync,nosuid,noauto,exec,user,nodev 0 0
 /dev/cd1  /ovid/cd1 iso9660 ro,sync,nosuid,noauto,exec,user,nodev 0 0
 /dev/cd2  /ovid/cd2 iso9660 ro,sync,nosuid,noauto,exec,user,nodev 0 0
 
 server # cat /etc/exports
 /ovid/cd0 136.159.YYY.XXX(ro,insecure) # Remote mount of cd0
 
  These questions could go on but I do not want to bore Linux people with
  AIX issues...
 
 Feel free to take this off-list if you prefer.
 
 Thanks... Dan.
 
   
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com

Dan, things look to be in order. It is hard to tell without sitting at
your AIX console, and hacking around a bit. I see you are going for a
hard mount. Why don't you try a soft mount, and let me know what
happens. Why is the device named /ovid/cd0 on AIX?

-- 
J. Craig Woods
UNIX/NT SA

-Art is the illusion of spontaneity-



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-08 Thread J. Craig Woods

Daniel Woods wrote:
 
 I have not tried soft mount because the NFS how-to recommends to never use it,
 otherwise you risk file corruption.
 
 
I have used a soft mount many times with both AIX and Solaris over the
years. It has not ever corrupted any file. The main thing that a soft
mount does is to not make an entry in /etc/filesystems on AIX. If you
ever reboot your AIX machine, and the Linux NFS service is not
available, you will find that your boot process has just went to shit on
you while it attempts to read /etc/filesystem and mount a non-existent
export. 

You could give the soft mount a try, just to see what happens. One 2 min
experiment should not doosh the system

-- 
J. Craig Woods
UNIX/NT SA

-Art is the illusion of spontaneity-



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-08 Thread Laurent CREPET

On Tue, Nov 06, 2001 at 05:17:22PM -0700, Daniel Woods wrote:
 I am still having problems with setting up Linux-Mandrake 8.1
 (kernel 2.4.x) as an NFS server to allow an AIX client to access
 it.  Has anyone else got this scenario to work ?
 
 I have disabled iptables so that is not the issue.
 I am suspecting it to be a problem with the 2.4 kernel.
 I went through the NFS How-To, and the section about AIX, but
 I still get errors.  I *can* mount the Linux CD-Rom onto the
 AIX box (4.3.3), and I can 'ls -l' the contents, however trying
 to copy the contents onto the hard disk fails (at some random
 point) when copying the sub-directories.
 
 Thanks... Dan.
 

Got some problems at work with an NFS server running on Linux (was kernel
2.2.18), and AIX NFS clients (4.2, 4.3.1 and 4.3.3).

On AIX clients, we run as root:

nfso -o nfs_use_reserved_ports=1

Then, we were able to mount the filesystems from our Linux box...
I remember that we call our IBM support to have this information.

Hope it helps...

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com