746 lines
12 KiB
HTML
746 lines
12 KiB
HTML
<HTML
|
||
><HEAD
|
||
><TITLE
|
||
>Introduction</TITLE
|
||
><META
|
||
NAME="GENERATOR"
|
||
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
|
||
"><LINK
|
||
REL="HOME"
|
||
TITLE="CDServer-HOWTO"
|
||
HREF="index.html"><LINK
|
||
REL="PREVIOUS"
|
||
TITLE="CDServer-HOWTO"
|
||
HREF="index.html"><LINK
|
||
REL="NEXT"
|
||
TITLE="Procedure"
|
||
HREF="procedure.html"></HEAD
|
||
><BODY
|
||
CLASS="sect1"
|
||
BGCOLOR="#FFFFFF"
|
||
TEXT="#000000"
|
||
LINK="#0000FF"
|
||
VLINK="#840084"
|
||
ALINK="#0000FF"
|
||
><DIV
|
||
CLASS="NAVHEADER"
|
||
><TABLE
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
CELLPADDING="0"
|
||
CELLSPACING="0"
|
||
><TR
|
||
><TH
|
||
COLSPAN="3"
|
||
ALIGN="center"
|
||
>CDServer-HOWTO</TH
|
||
></TR
|
||
><TR
|
||
><TD
|
||
WIDTH="10%"
|
||
ALIGN="left"
|
||
VALIGN="bottom"
|
||
><A
|
||
HREF="index.html"
|
||
>Prev</A
|
||
></TD
|
||
><TD
|
||
WIDTH="80%"
|
||
ALIGN="center"
|
||
VALIGN="bottom"
|
||
></TD
|
||
><TD
|
||
WIDTH="10%"
|
||
ALIGN="right"
|
||
VALIGN="bottom"
|
||
><A
|
||
HREF="procedure.html"
|
||
>Next</A
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
><HR
|
||
ALIGN="LEFT"
|
||
WIDTH="100%"></DIV
|
||
><DIV
|
||
CLASS="sect1"
|
||
><H1
|
||
CLASS="sect1"
|
||
><A
|
||
NAME="introduction"
|
||
>1. Introduction</A
|
||
></H1
|
||
><P
|
||
> With disk space becoming less expensive (100GB Western Digital 7200rpm available
|
||
for US $195 in January 2002), it is viable to use an Open Source
|
||
software-based CD Server solution, instead of paying
|
||
$800-$4,000 for a software, thin-server, or CD Jukebox solution.
|
||
</P
|
||
><P
|
||
> I've setup my CD Server on a Pentium 200 with 64MB RAM, using one of these
|
||
large drives.
|
||
</P
|
||
><P
|
||
> Any comments, suggestions, additions, or corrections can be sent to my
|
||
email address at <A
|
||
HREF="http://www.talcon.com/"
|
||
TARGET="_top"
|
||
> Talcon Information Systems</A
|
||
>: <TT
|
||
CLASS="email"
|
||
><<A
|
||
HREF="mailto:randy@talcon.com"
|
||
>randy@talcon.com</A
|
||
>></TT
|
||
>.
|
||
</P
|
||
><DIV
|
||
CLASS="sect2"
|
||
><H2
|
||
CLASS="sect2"
|
||
><A
|
||
NAME="audience"
|
||
>1.1. Intended Audience</A
|
||
></H2
|
||
><P
|
||
> This HOWTO is specifically directed toward System Administrators
|
||
and uses Linux for the examples. It should work with other flavors of
|
||
Unix provided that they have a loop device or a method of mounting a
|
||
CD image file within the directory tree as a block device using the
|
||
iso9660 file system.
|
||
</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="sect2"
|
||
><H2
|
||
CLASS="sect2"
|
||
><A
|
||
NAME="needed"
|
||
>1.2. Things You'll Need</A
|
||
></H2
|
||
><P
|
||
> The commands and utilities needed to setup your own CD Server
|
||
are already included in most (if not all) Linux distributions.
|
||
</P
|
||
><P
|
||
>
|
||
<P
|
||
></P
|
||
><UL
|
||
><LI
|
||
><P
|
||
> A Linux Distribution (This HOWTO uses
|
||
<A
|
||
HREF="http://www.linux-mandrake.com/"
|
||
TARGET="_top"
|
||
> <SPAN
|
||
CLASS="systemitem"
|
||
>Linux-Mandrake</SPAN
|
||
></A
|
||
> for the examples)
|
||
</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
> <B
|
||
CLASS="command"
|
||
>dd</B
|
||
> - Converts and copies a file (a standard Unix command)
|
||
</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
> <B
|
||
CLASS="command"
|
||
>mount</B
|
||
> - Mounts and Unmounts filesystems (a standard Unix command)
|
||
</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
> <A
|
||
HREF="http://www.samba.org/"
|
||
TARGET="_top"
|
||
><SPAN
|
||
CLASS="application"
|
||
>Samba</SPAN
|
||
></A
|
||
>
|
||
- A Windows SMB/CIFS fileserver for Unix
|
||
</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
> <SPAN
|
||
CLASS="acronym"
|
||
>NFS</SPAN
|
||
> (optional for Unix) - <SPAN
|
||
CLASS="application"
|
||
>Network File System</SPAN
|
||
>
|
||
(included in Linux distributions)
|
||
</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
> <A
|
||
HREF="http://www.anders.com/projects/netatalk/"
|
||
TARGET="_top"
|
||
><SPAN
|
||
CLASS="application"
|
||
>Netatalk</SPAN
|
||
>
|
||
</A
|
||
> (optional for Macs) - A package that lets a Unix machine supply
|
||
Appletalk print and file services on a <SPAN
|
||
CLASS="acronym"
|
||
>LAN</SPAN
|
||
>.
|
||
</P
|
||
></LI
|
||
></UL
|
||
>
|
||
|
||
</P
|
||
><P
|
||
></P
|
||
><DIV
|
||
CLASS="variablelist"
|
||
><DL
|
||
><DT
|
||
>Note</DT
|
||
><DD
|
||
><P
|
||
> Previous to the 2.4 kernels, the Linux-Mandrake distribution I was using only had
|
||
support for 8 loop devices compiled into the kernel (see
|
||
<A
|
||
HREF="addloops.html"
|
||
>Section 3</A
|
||
>
|
||
to increase this number).
|
||
At that time, you were only be able to share 8 CD's on a network
|
||
with that default value, and to share more than 8, the loop block driver source code (loop.c) needed
|
||
to be modified and a new kernel compiled.
|
||
</P
|
||
><P
|
||
><EM
|
||
>With the 2.4 kernels, that is no longer required.</EM
|
||
>
|
||
You can now set the number of loop
|
||
devices dynamically via the max_loop module parameter, or by passing max_loop=[1-255]
|
||
to the kernel on boot.
|
||
</P
|
||
></DD
|
||
></DL
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="sect2"
|
||
><H2
|
||
CLASS="sect2"
|
||
><A
|
||
NAME="reading"
|
||
>1.3. Suggested Reading and References</A
|
||
></H2
|
||
><P
|
||
> <A
|
||
HREF="http://www.linuxdoc.org/HOWTO/SMB-HOWTO.html"
|
||
TARGET="_top"
|
||
> <I
|
||
CLASS="citetitle"
|
||
>SMB HOWTO</I
|
||
></A
|
||
>
|
||
by: David Wood, dwood (at) plugged.net.au. Part of the
|
||
Linux Documentation Project. This document describes how
|
||
to use the Server Message Block (SMB) protocol, also called
|
||
the Session Message Block, NetBIOS or LanManager protocol,
|
||
with Linux using Samba.
|
||
</P
|
||
><P
|
||
> <A
|
||
HREF="http://www.oreilly.com/catalog/samba/"
|
||
TARGET="_top"
|
||
> <I
|
||
CLASS="citetitle"
|
||
>Using Samba</I
|
||
></A
|
||
>
|
||
by: Robert Eckstein, David Collier-Brown, Peter Kelly
|
||
1st Edition November 1999, O'Reilly and Associates, Inc.
|
||
ISBN 1-56592-449-5,
|
||
</P
|
||
><P
|
||
> <A
|
||
HREF="http://www.linuxdoc.org/HOWTO/CDROM-HOWTO/"
|
||
TARGET="_top"
|
||
> <I
|
||
CLASS="citetitle"
|
||
>The Linux CD-ROM HOWTO</I
|
||
></A
|
||
>
|
||
by: Jeff Tranter, tranter (at) pobox.com. Part of the
|
||
Linux Documentation Project. How to install, configure,
|
||
and use CD-ROM drives under Linux. It lists the supported
|
||
hardware and answers a number of frequently asked questions.
|
||
This HOWTO also gives some information on using multi-platter
|
||
CD-ROM drives with Linux.
|
||
</P
|
||
><P
|
||
> <A
|
||
HREF="http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO.html"
|
||
TARGET="_top"
|
||
> <I
|
||
CLASS="citetitle"
|
||
>CD-Writing HOWTO</I
|
||
></A
|
||
>
|
||
by: Winfried Tr<54>mper, winni (at) xpilot.org. Part of the
|
||
Linux Documentation Project. This document explains how to write
|
||
CD-ROMs under Linux. This HOWTO also includes information on
|
||
making 1:1 image copies of CD-ROMs.
|
||
</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="sect2"
|
||
><H2
|
||
CLASS="sect2"
|
||
><A
|
||
NAME="copyright"
|
||
>1.4. Copyright and License</A
|
||
></H2
|
||
><P
|
||
> <EM
|
||
><SPAN
|
||
CLASS="productname"
|
||
>CDServer-HOWTO</SPAN
|
||
>, Copyright
|
||
<SPAN
|
||
CLASS="trademark"
|
||
></SPAN
|
||
>© 2000-2002, by <A
|
||
HREF="mailto:randy@talcon.com"
|
||
TARGET="_top"
|
||
>Randolph J. Tata</A
|
||
>, All Rights Reserved</EM
|
||
>
|
||
</P
|
||
><P
|
||
> Permission is granted to copy, distribute and/or modify this
|
||
document under the terms of the GNU Free Documentation License,
|
||
Version 1.1 or any later version published by the Free Software
|
||
Foundation; with no Invariant Sections, no Front-Cover Texts and
|
||
no Back-Cover Texts. A copy of the license is included
|
||
in <A
|
||
HREF="gfdl.html"
|
||
>Appendix A</A
|
||
> entitled "GNU Free Documentation License".
|
||
</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="sect2"
|
||
><H2
|
||
CLASS="sect2"
|
||
><A
|
||
NAME="disclaimer"
|
||
>1.5. Disclaimer</A
|
||
></H2
|
||
><P
|
||
> Use the information in this document at your own risk. I disavow any
|
||
potential liability for the contents of this document. Use of the
|
||
concepts, examples, and/or other content of this document is entirely
|
||
at your own risk.
|
||
</P
|
||
><P
|
||
> All copyrights are owned by their owners, unless specifically noted
|
||
otherwise. Use of a term in this document should not be regarded as
|
||
affecting the validity of any trademark or service mark.
|
||
</P
|
||
><P
|
||
> Naming of particular products or brands should not be seen as endorsements.
|
||
</P
|
||
><P
|
||
> You are strongly recommended to make a backup of your system before
|
||
major installation and should make backups at regular intervals.
|
||
</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="sect2"
|
||
><H2
|
||
CLASS="sect2"
|
||
><A
|
||
NAME="news"
|
||
>1.6. News</A
|
||
></H2
|
||
><P
|
||
> As always, check the revision history at the top of this document.
|
||
</P
|
||
><P
|
||
> <A
|
||
HREF="http://www.talcon.com/projects/CDServer-HOWTO/CDServer-HOWTO.xml"
|
||
TARGET="_top"
|
||
> DocBook XML source</A
|
||
> for this document is available. Any
|
||
additions/changes should be made to the DocBook XML source, not derivative formats.
|
||
</P
|
||
><P
|
||
> <EM
|
||
>This documents home page is at the
|
||
<A
|
||
HREF="http://talcon.com/cdserver-howto/"
|
||
TARGET="_top"
|
||
>CDServer-HOWTO</A
|
||
>
|
||
site page in case you need the latest version, or there is a problem
|
||
with the page format you are viewing.</EM
|
||
>
|
||
</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="sect2"
|
||
><H2
|
||
CLASS="sect2"
|
||
><A
|
||
NAME="credits"
|
||
>1.7. Credits</A
|
||
></H2
|
||
><P
|
||
> My thanks go the readers of this HOWTO and those willing to share
|
||
their experiences and knowledge with me. I
|
||
have the pleasure of acknowledging:
|
||
</P
|
||
><DIV
|
||
CLASS="informaltable"
|
||
><A
|
||
NAME="AEN142"
|
||
></A
|
||
><P
|
||
></P
|
||
><TABLE
|
||
BORDER="0"
|
||
WIDTH="100%"
|
||
CLASS="CALSTABLE"
|
||
><TBODY
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Mark F. Komarinski</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>markk (at) linuxdoc.org</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>LDP Author Guide</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Jorge Godoy</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>godoy (at) metalab.unc.edu</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>LDP Author Guide</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>David C. Merrill</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>dcmerrill (at) mindspring.com</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>LDP Author Guide</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Stein Gjoen</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>sgjoen (at) nyx.net</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>HOWTO-Template</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Gregory Leblanc</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>gleblanc (at) cu-portland.edu</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>HOWTO-Template</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Greg Ferguson</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>gferg (at) sgi.com</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>HOWTO-Template</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Amar Chaouche</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>achaouche (at) linbox.com</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>mount unhide option</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Giblhauser Carl Michael</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>mike (at) bawb.bmlf.gv.at</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>runoutblock i/o errors</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Monte Milanuk</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>milanuk (at) yahoo.com</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>nfs help</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Paul A. Sand</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>pas (at) unh.edu</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>loop module option max_loop</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Tony Melia</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Tony.Melia (at) downsmicro.com.au</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>max_loop kernel boot parameter</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Richard Black</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Richard.Black (at) compaq.com</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>more info and mknod script</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>Bradley Wendelboe</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>krakken (at) icehouse.2y.net</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>cdtower shell script</TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>James Mumm</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>dart (at) windeath.2y.net</TD
|
||
><TD
|
||
ALIGN="LEFT"
|
||
VALIGN="MIDDLE"
|
||
>cdtower shell script</TD
|
||
></TR
|
||
></TBODY
|
||
></TABLE
|
||
><P
|
||
></P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="sect2"
|
||
><H2
|
||
CLASS="sect2"
|
||
><A
|
||
NAME="translations"
|
||
>1.8. Translations</A
|
||
></H2
|
||
><P
|
||
></P
|
||
><UL
|
||
><LI
|
||
><P
|
||
> <A
|
||
HREF="http://kldp.org"
|
||
TARGET="_top"
|
||
>Korean</A
|
||
> (html and sgml) at
|
||
<A
|
||
HREF="http://www.ibiblio.org/pub/Linux/docs/HOWTO/translations/korean/"
|
||
TARGET="_top"
|
||
> http://www.ibiblio.org/pub/Linux/docs/HOWTO/translations/korean/</A
|
||
>
|
||
</P
|
||
></LI
|
||
></UL
|
||
><P
|
||
> <EM
|
||
>If you have the capacity it would be nice to make the CDServer-HOWTO
|
||
available in a number of formats and languages.</EM
|
||
>
|
||
</P
|
||
><P
|
||
> If you've translated this document, please send to me:
|
||
</P
|
||
><P
|
||
></P
|
||
><UL
|
||
><LI
|
||
><P
|
||
> Your name, email address, the language and URL to the translated document (preferred).
|
||
</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
> Or an email attachment of the work.
|
||
</P
|
||
></LI
|
||
></UL
|
||
><P
|
||
> Please send either to my email address at <A
|
||
HREF="http://www.talcon.com/"
|
||
TARGET="_top"
|
||
> Talcon Information Systems</A
|
||
>: <TT
|
||
CLASS="email"
|
||
><<A
|
||
HREF="mailto:randy@talcon.com"
|
||
>randy@talcon.com</A
|
||
>></TT
|
||
>.
|
||
</P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="NAVFOOTER"
|
||
><HR
|
||
ALIGN="LEFT"
|
||
WIDTH="100%"><TABLE
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
CELLPADDING="0"
|
||
CELLSPACING="0"
|
||
><TR
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="left"
|
||
VALIGN="top"
|
||
><A
|
||
HREF="index.html"
|
||
>Prev</A
|
||
></TD
|
||
><TD
|
||
WIDTH="34%"
|
||
ALIGN="center"
|
||
VALIGN="top"
|
||
><A
|
||
HREF="index.html"
|
||
>Home</A
|
||
></TD
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="right"
|
||
VALIGN="top"
|
||
><A
|
||
HREF="procedure.html"
|
||
>Next</A
|
||
></TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="left"
|
||
VALIGN="top"
|
||
>CDServer-HOWTO</TD
|
||
><TD
|
||
WIDTH="34%"
|
||
ALIGN="center"
|
||
VALIGN="top"
|
||
> </TD
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="right"
|
||
VALIGN="top"
|
||
>Procedure</TD
|
||
></TR
|
||
></TABLE
|
||
></DIV
|
||
></BODY
|
||
></HTML
|
||
> |