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 system 243165 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 staff 512 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 system 243165 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
> > 100000 4 tcp 111 portmapper
> > 100000 3 tcp 111 portmapper
> > 100000 2 tcp 111 portmapper
> > 100000 4 udp 111 portmapper
> > 100000 3 udp 111 portmapper
> > 100000 2 udp 111 portmapper
> > 100001 1 udp 32823 rstatd
> > 100001 2 udp 32823 rstatd
> > 100001 3 udp 32823 rstatd
> >
> > server # rpcinfo -p (on the LM8.1 server)
> > program vers proto port
> > 100000 2 tcp 111 portmapper
> > 100000 2 udp 111 portmapper
> > 100024 1 udp 1024 status
> > 100024 1 tcp 1024 status
> > 100011 1 udp 738 rquotad
> > 100011 2 udp 738 rquotad
> > 100011 1 tcp 741 rquotad
> > 100011 2 tcp 741 rquotad
> > 100005 1 udp 1025 mountd
> > 100005 1 tcp 1025 mountd
> > 100005 2 udp 1025 mountd
> > 100005 2 tcp 1025 mountd
> > 100005 3 udp 1025 mountd
> > 100005 3 tcp 1025 mountd
> > 100003 2 udp 2049 nfs
> > 100003 3 udp 2049 nfs
> > 100021 1 udp 1026 nlockmgr
> > 100021 3 udp 1026 nlockmgr
> > 100021 4 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.
I have not tried soft mount because the NFS how-to recommends to never use it,
otherwise you risk file corruption.
> Why is the device named "/ovid/cd0" on AIX?
Because it's related to the software that uses the CD to do updates.
There's also /ovid/cd1 and /ovid/cd2.
Thanks... Dan.
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com