IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

PLIP Install HOWTO

Search Howtos :Match :
Next Previous Contents

11. The cdrom nfs server side

This section describes how to mount and export via NFS a cdrom drive.

Mount the cdrom. If you encounter a problem with your cdrom drive, read the CDROM-HOWTO. I assume that the cdrom device is /dev/hdd but it could be /dev/sr0 or /dev/hdb etc. The mount point I choose is /cdrom but you can choose the one you want:

     $ mount -t iso9660 /dev/hdd  /cdrom
    

You have to set up nfs services. If something goes wrong, read the NFS-HOWTO

Verify your kernel supports nfs:

     $ cat /proc/filesystems 
             ext2
     nodev   proc
     nodev   nfs
     nodev   ncpfs
     nodev   devpts
             iso9660
    

Verify your portmapper can handle mountd and nfs client requests:

     $ rpcinfo -p
     program vers proto   port
     100000    2   tcp    111  portmapper
     100000    2   udp    111  portmapper
     100005    1   udp    655  mountd
     100005    1   tcp    657  mountd
     100003    2   udp   2049  nfs
     100003    2   tcp   2049  nfs
    

Lines with nfs or portmapper have to be there. We have NFS on tcp? progress have been made!

It doesn't matter if you have only NFS on udp. NFS has to work, that's the thing you need.

Then, rerun portmap, mountd, nfs:

     $ /etc/rc.d/init.d/portmap.init stop
     Stopping INET services: portmap 

     $ /etc/rc.d/init.d/portmap.init start
     Starting portmapper: portmap

     $ /etc/rc.d/init.d/nfs stop
     Shutting down NFS services: rpc.mountd rpc.nfsd 

     $ /etc/rc.d/init.d/nfs start
     Starting NFS services: rpc.mountd rpc.nfsd 
    

/etc/rc.d/init.d/ is /sbin/init.d/ on SuSE Linux systems. I had a dream last night: LSB was respected. (LDB: Linux Standard Base)

Then, try to mount it "locally" (via nfs) on the source box and when the test is good remove the test directory:

     $ mkdir /tmp/nfstest
     $ mount -t nfs source:/cdrom /tmp/nfstest
     $ ls  /tmp/nfstest/
     README             debian/            locatedb.3         tools/
     TRANS.TBL          ftp.netscape.com/  ls_lR.3            upgrade/
     boot/              install/           realaudio/
     
     $ echo great stuff !
     $ umount /tmp/nfstest
     $ rmdir /tmp/nfstest
     

Bad luck ? Read the NFS-HOWTO and /var/log/messages.

Check the nfs server with those commands:

     $ rpcinfo -p
     

Run portmap with the -v flag:

      $ portmap -v
     

kill portmap, mountd, nfsd and rerun them in this order: portmap, mountd, nfsd. Take a rest, get more coffee. Read again the NFS-HOWTO and restart.

Now, the exported cdrom drive nfs server is ready to work. Congratulations.


Next Previous Contents
Search Howtos :Match :
My Money 2.0.49
Personal financial software
Linux Kernel 2.6 2.6.32-rc8
Linux Kernel
GCstar 1.5.0
Personal collections manager
ImageMagick 6.5.7.9
ImageMagick image processing studio
BibleTime 2.4
Bible study software for Linux / KDE
PHP 5.3.1
Server-side, cross-platform, HTML embedded scripting language.
LFTP 4.0.4
Shell-like command line ftp client.
Tellico 2.1.1
Collection manager for books, music, videos, and bibliographies
Totem 2.28.4
Movie player for Gnome
GNOME 2.29.2
GNOME desktop environment
Free IT Magazines, White Papers, eBooks, and more !
Oracle Magazine

Contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.

Vulnerability Management for Dummies

Get all the Facts and See How to Implement a Successful Vulnerability Management Program.

Website Magazine

Has tapped premier talent in the Internet industry for our content and each and every issue will contain practical advice and insights for website owners.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info