> [root@localhost ~]# systemctl start nfs.service
> [root@localhost ~]# mkdir /tmp/iso
> [root@localhost ~]# mount -o ro,vers=3,nolock localhost:/dev/sr0 /tmp/iso
> mount.nfs: access denied by server while mounting localhost:/dev/sr0
> [root@localhost ~]#

Just for clarity, this part is on he laptop, yes?

So the "localhost:" implies that the laptop is mounting *from* NFS
(ie: client).  It's not.  It wants the CD.

The "vers=3" also implies NFS (client).

Then you get "mount.nfs: access denied", so yeah, the laptop things it
is importing an NFS filesystem.  It's not.

> If I omit 'localhost:' from the mount command, the mount works; in that no 
> "hate mail" is returned and I can then cd to /tmp/iso and ls the contents of 
> the DVD.  But then the SLES install program running on z/VM "can't find the 
> repository".

Perfect.  So do that.

NOTE:
You may also need an  'exportfs -a'  after mounting the CD.
Your laptop, being the NFS server, needs to serve out the contents of
the CD, not the empty directory over which it got mounted.
VERY LIKELY, there was an exportfs operation before you mounted the
CD, so your NFS server code still "sees" that empty directory.


NOW ... to the installation end.

You should be able to (from a shell) ...

        mkdir /tmp/testit
        mount thelaptop:/tmp/iso /tmp/testit

What happens from that?





--
-- R;   <><

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to