1832546 Members
6675 Online
110043 Solutions
New Discussion

Re: Mounting of CDROM

 
SOLVED
Go to solution
Sprint Unix Team
Frequent Advisor

Mounting of CDROM

How do I export a CDROM directory over a network?? I need to install software on a A class server which has no CDROM drive. But we have L class servers with CDROM drive on the same network. I would like to export the CDROM drive of the L class onto the A class server.
4 REPLIES 4
Mark Vollmers
Esteemed Contributor
Solution

Re: Mounting of CDROM

This is what we did to export a cdrom on a workstation to our server; it should work the same way.

Mount the cdrom (say into /temp_cd
export the directory with
exportfs -i -o ro /temp_cd
In the remote system, mount it with
mount :/temp_cd /cdrom

This should mount the cdrom on the machine that you want it. You will need to make the /cdrom folder on the system that you want to use the cd on. Hope this helps.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Steffi Jones_1
Esteemed Contributor

Re: Mounting of CDROM

Hello,

you can actually go and start swinstall on the box you want to install the software to and then point the sd ux to the source.

If you start swinstall without any options it will bring you to a window "specify source"
In there you can choose network directory then the hostname of the machine with the cdrom and then you give it the full path, i.e. /cdrom//.

Swinstall over nfs mounted filessytems is not suported

Steffi JOnes
Kevin Wright
Honored Contributor

Re: Mounting of CDROM

I suppose you could just NFS mount that directory couldn't you? It's worth a try.
On server with CDROM, mount CD and in /etc/exports add
/CDROM
exportfs -a
then on client (A)
mount serverb:/CDROM /CDROM_mnt
see what happens and let us know
Rita C Workman
Honored Contributor

Re: Mounting of CDROM

I use one system and put my CD in there and then I do remote installs...It was getting to be too much to run around town and load things up.
I found by doing swacl rights and swreg it made this possible:
You must stop and restart swagentd
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
On the box with the CD mounted under /cdrom, register the depot:
swreg -l depot /cdrom
Login to the box to have the software loaded to use the remote install command:
swinstall -s :/cdrom

Now for those swacl commands, I probably went a bit overboard, but here's what I did:
swacl -l host -M any_other:crwit
swacl -l root -M any_other:crwit
Remember you have to stop and restart swagentd...

Hope this helps (..it saved my tired feet..)
/rcw