1826331 Members
3501 Online
109692 Solutions
New Discussion

Re: mount cdrom over nfs

 
Andrej Vavro
Frequent Advisor

mount cdrom over nfs

Hi all,

There is SuSE 7.2 with cdrom mounted in /media/cdrom. I can't mount this from my HP (10.20 nor 11.00) using

mount -F nfs -er host:/media/cdrom /mntdir

Better said: I can mount it but there is nothing in the mntdir. I believe Linux setup is OK cause I can mount if from Solaris. So question is what is the syntax? NFS clients are running. Is there needed any additional setup?

Thanks
Andrej
7 REPLIES 7
Claudio Cilloni
Honored Contributor

Re: mount cdrom over nfs

I tried this:

on HP-UX 11.22:

# mount -F nfs 192.168.1.10:/mnt/cdrom /test

and it works well.

192.168.1.10 is a RH7.3 linux box.

it's a different configuration but... maybe it helps. I didn't use the -er options.

on the linux side, /mnt/cdrom is exported in /etc/exports with this line:

/mnt/cdrom dbsermm(ro,all_squash)

where dbsermm is the HP-UX machine.

bye
Claudio
Jerome Henry
Honored Contributor

Re: mount cdrom over nfs

I do not understand either the -e option, -r for read only, should be the same in your exports file.

Apart from that Claudio is right, try it his way it should work with rh8 too.

J

(leaving now, passing the torch to Balaji and Claudio !)
You can lean only on what resists you...
Evert Jan van Ramselaar
Valued Contributor

Re: mount cdrom over nfs

Do you get anything relevant in the logfiles, on either client or server?
Contrary to popular belief, Unix is userfriendly. It just happens to be selective about who it makes friends with.
Caesar_3
Esteemed Contributor

Re: mount cdrom over nfs

Hello!

You don't need special setup for nfs client.
I also don't understand why you use -er.
Check without the -er
Do you have another nfs mount in your system?
Check how you mounted the cdrom in the linux.

Caesar
Balaji N
Honored Contributor

Re: mount cdrom over nfs

hi
i doubt.

i have tried earlier mounting a CD ROM which is locally mounted via NFS on a remote system.

the error i used to get was too many levels of export or something similar. the OS was all HP Unix.

so is it the same problem what you are having.

i would suggest you to try this. if it works, just let us know.


mount -o bind /mnt/cdrom /mnt/newdir

export this newdir and then try mounting if it works.

-balaji

ps: the work i do on hp unix is reducing slowly and my knowledge on hp is turning rusty. somebody offer me a job on hp unix?

Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Andrej Vavro
Frequent Advisor

Re: mount cdrom over nfs

The -e switch means verbose in HP-UX.

Balaji, it should be 10 pts for you. Your solution helped. Send a reply and I'll give rest of the points. :-)

I was able to mount both newdir as well as /media/cdrom from HP.

I am not able to share cdrom without re-mounting it on linux. I checked this after assigning points. So again Balaji, I'am sorry for not enough points.

Thank you all,
Andrej
Balaji N
Honored Contributor

Re: mount cdrom over nfs

hmm.. ok. good that it works.

-balaji

ps: at the risk of being figured as a point monger, i reply to this mail. coz, the no of points u get on this forum is minimal compared to the hp unix counter part. :-)
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.