home *** CD-ROM | disk | FTP | other *** search
/ ftp.cdrom.com/pub/cdrom/ / cdrom.tar / cdrom / textinfo / cdromnfs.txt < prev    next >
Text File  |  1993-04-26  |  7KB  |  132 lines

  1.  
  2. This is for the INN workshop on CD-ROM networking sorry for the delay
  3. things have been heckit:
  4.  
  5.         Networking CD-ROM's with NFS: A breif review
  6.  
  7. What is NFS?
  8.  
  9. Every computing platform has its own way of sharing disk storage across
  10. systems.  VMS has VAXclusters, and Digital's DFS (Distributed File System). 
  11. In the MS-DOS world, there are lots of contenders: Novell Netware, Banyan
  12. Vines, and Microsoft LAN Manager (which Digital calls Pathworks for DOS), 
  13. to name a few.  For Macintosh computers, Appleshare was the first.  In the
  14. Unix world, the most venerable and most popular is NFS, the Network File
  15. System.  NFS was developed by Sun Microsystems during the late-1980s as a
  16. way to link lots of inexpensive desktop workstations with Ethernet
  17. interfaces and TCP/IP software to larger compute servers and disk farms.  
  18. NFS is one piece of Sun's answer to VAXclusters.  
  19.  
  20. The general term for this  software is "distributed file system."   In the
  21. distributed file system game, "server" always means the computer with the
  22. disk on it.  "Client" is used to describe the systems that use the server's
  23. resources.  On most minicomputers, a system can be both a server and a
  24. client.  In Macintosh and MS-DOS systems,  the microcomputer generally is a
  25. client, with many clients sharing one or two servers.
  26.  
  27. As distributed computing systems have grown, each of these distributed file
  28. systems has grown out of its original environment.  So, we have Pathworks
  29. on VMS (and Ultrix), which lets a VAX provide disk service to MS-DOS
  30. systems running LAN Manager.  There are also Netware  servers for VMS and
  31. Unix, Netware clients for Macintosh, Appleshare servers for VMS and Unix, 
  32. Appleshare clients for MS-DOS, and so on. 
  33.  
  34. Why would you use NFS?
  35.  
  36. NFS has two major advantages over all of the other client/server
  37. distributed file systems: first, it's been implemented on every major
  38. computing platform.  Microcomputer, minicomputer, and mainframe: all
  39. support NFS client, and many support NFS server.  Second, it's cheap.   Not
  40. only is the client software inexpensive, but it's also cheap to install,
  41. cheap to maintain, and cheap to manage.  NFS was designed to be simple to
  42. implement and simple to operate, and it lives up to that very well.  Once
  43. you've got a TCP/IP network installed, adding NFS to most servers takes
  44. only a few minutes.
  45.  
  46. NFS also has some disadvantages.  NFS normally runs on top of Sun's RPC
  47. (Remote Procedure Call) software, and RPC normally runs over the UDP (User
  48. Datagram Protocol) protocol in a TCP/IP network.  While most users don't
  49. care about such things, there is an important implication: most TCP/IP
  50. networks don't checksum UDP packets. That means that any data which is
  51. corrupted in passing over a network won't be discovered as "bad" by NFS. 
  52. If your application calls for high levels of data reliability, you'll
  53. probably want to think twice before choosing NFS. Also now there are two
  54. forms of RPC ONC and DCE which confused things further.
  55.  
  56. NFS also doesn't support sophisticated file organizations and operations, 
  57. such as indexed files or record locking.  In the NFS world, these are left
  58. to higher-level application packages.  Security in NFS is limited to
  59. Unix-style user- and group-id mapping.
  60.  
  61. Nevertheless, NFS makes a lot of sense for many environments.  It provides
  62. broad access to file-based data across all significant computing platforms. 
  63. It's designed for distributed operation, which makes it easy to build very
  64. large networks.  And it uses TCP/IP, which is better supported than
  65. transports such as Novell's IPX or Digital's DECnet or Apples AppleTalk.
  66.  
  67. How do you do it.
  68.  
  69. If you mount an ISO format CD-ROM on you sun using 
  70.    # mount -t hsfs -o ro /dev/sr0 /cdrom
  71.  and export it to the network using 
  72.    # exportfs /cdrom
  73. It is then made available for mounting using NFS to other devices.
  74.  
  75. The PC can mount the CD-ROM using any NFS Client including Sun's PC-NFS.
  76. (This is the product we use) Most PC search software requires the presence
  77. of MSCDEX to work with the CD-ROM. Daniel Churchman of Digital Solutions
  78. Pty Ltd, of Queensland Australia wrote a simplistic MSCDEX faker called
  79. MXSUB in May 1990 which they release under GNU Public License in January '92.
  80. This work well with early versions of the search software.Colin Ian King
  81. <cik@ukc.ac.uk> wrote a small quantitiy of C code which fakes the MSCDEX
  82. extensions required by many PC packages. He also produced a list of which
  83. search software used which MSCDEX functions. This code is released under
  84. GNU Public license and is available from ftp.york.ac.uk in /pub/cd-rom,
  85. via anonymous FTP. This faker can work with an Microsoft Compatible Network
  86. which can see CD-ROMs.
  87.  
  88. It is also necessary sometimes to set the volume label of the NFS mounted
  89. drive. "Malcolm E. Sherrington" <msherri@rpms.ac.uk> in an article in the
  90. proceeding of the UKUUG confernce of January '93 talks about the problems
  91. in doing this. He wrote a program call NFSLABEL to label PC-NFS mounted
  92. Network Drives. However, this code was slow to be release and Robert
  93. Turner <Robert.Turner@brunel.ac.uk> wrote similar code called LABELNFS
  94. which is available in source form. All this code is available from
  95. ftp.york.ac.uk in /pub/pc-nfs. This code has been sucessfully used with
  96. BRS/Search SilverPlatter and WilsonDisk search software.
  97.  
  98. The only CD-ROM search software which has been made available to me for
  99. testing purpose, on the Macintosh is SilverPlatters SPIRS. We have a
  100. GatorCS/Rack running GatorShare, an Apple Filing Protocol to NFS convert.
  101. (For more info mail support@cayman.com) This allows the Macs to see NFS
  102. file store as Appleshare Volumes. To mount CD-ROM to the Mac you must do
  103. the following:
  104.    1) mount the CD-ROM on a Mac using a local CD-ROM. This
  105.    will give you the Volume Name of the CD-ROM as seen to the Mac. 
  106.    2) mount the CD-ROM on the NFS server.
  107.    3) Using GatorKeeper, the management software for GatorShare create a
  108.    new  AppleShare Volume called the same name as the volume when the
  109.    CD-ROM was mounted locally. 
  110.      This volume should mount the CD-ROM exported from the NFS server but the
  111.    DESKTOP file should be create on some other section of NFS disk as it
  112.    cannot be created on the CD-ROM. GatorKeeper will confirm the volume
  113.    creation and then uses can mount the Volumes using the Chooser as usual.
  114. The user community can now mount the CD-ROM over the network to their Mac
  115. just like any other network volume and the SPIRS search software can us it.
  116. It is possible to Automate this mount and search software to make it
  117. transparent to the user and so limit usuage.
  118.  
  119.    It should be noted that it is important to license approriately copies
  120. of the CD-ROMs before exporting them generally over the network. You might
  121. also want to restrict access to appropriate netgroups. Also license
  122. locking the search software satisfies certain companies, but not all.
  123.  
  124. -------
  125. I hope the above is of use to you. I have been working on this problem
  126. for 18 months on and off and finally I have got round to documenting it as
  127. above. All the code mentions is Public Domain. If you wish to mirror it
  128. please feel free as we only have limited Internet access. New updates
  129. appear about every 2 or 3 months.
  130.  
  131.  
  132.