Operating System - HP-UX
1826018 Members
2924 Online
109690 Solutions
New Discussion

Re: install soft via DVD on remote machine..NFS ??

 
DE DYN
Occasional Advisor

install soft via DVD on remote machine..NFS ??

I have a J5600 WS with CD drive. I would like to install sw coming on DVD trough a DVD on a remote machine. My WS run HP-UX11i the remote machine also. Is it possible to mount the DVD via NFS, if Yes how to do that.
Here is wat I've done.
Remote machine:
- update /etc/exports --> add
/dvdrom -ro -root=[host local]
- exportfs -a

Result of showmount -e :
/dvdrom -root=[host local]

Local machine:
mount [remote]:/dvdrom [mount point]
Result= Permission denied

Thanks for your suggestion
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: install soft via DVD on remote machine..NFS ??

Shalom,

By default nfs might be blocking root mounts. I need to actually see /etc/exports to find troublesome issues. no_root_squash option may be required. Check the system log of the server and permissions on the DVD mountpoint.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Yang Qin_1
Honored Contributor

Re: install soft via DVD on remote machine..NFS ??

If the software can be installed with swinstall, then you do not need to use nfs mount the DVD remotely. You can mount the cd/dvd locally and run swinstall on remote server with something like:
swinstall -s server1:/SDCDROM

on server1 you need to configure swacl
# swacl -l host > /tmp/myacl
edit myacl, add a line "user:root@server2:crwit"
# swacl -l host -F /tmp/myacl

If the software cannot be installed by swinstall, you can try pfs_mount

1. nohup /usr/sbin/pfs_mountd &
2. nohup /usr/sbin/pfsd &
3. Edit /etc/pfs_exports
/mountpoint -access=server2
4. pfs_exportfs -a
5. pfs_mount server1:/mountpoint
To unmount:
6. pfs_umount server1:/mountpoint

man pfs_mount, man pfs_exports

Yang
DE DYN
Occasional Advisor

Re: install soft via DVD on remote machine..NFS ??

Thanks but if I try to mount a disk with root account...It works fine

DE DYN
Occasional Advisor

Re: install soft via DVD on remote machine..NFS ??

Thanks, but the sw needed to be installed is a third party software and can't be installed via swinstall.
Regarding pfs I've read in this forum that pfs is not recommended:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1049868
Yang Qin_1
Honored Contributor

Re: install soft via DVD on remote machine..NFS ??

OK, then try to edit your /etc/exports like this:

/dvdrom anon=0,ro,access=server2
DE DYN
Occasional Advisor

Re: install soft via DVD on remote machine..NFS ??

I have always permission denied ...
the showmount cmd for dvd give
/dvdrom anon=0
Yang Qin_1
Honored Contributor

Re: install soft via DVD on remote machine..NFS ??

did you mount the dvd locally?