home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1999 May / pcp151c.iso / doc / FAQ / txt / Ftape-FAQ < prev    next >
Encoding:
Text File  |  1998-10-14  |  43.7 KB  |  1,251 lines

  1.   The Ftape-FAQ
  2.   Johan De Wit, <jdewit@unicall.be>
  3.   v0.1, 13 october 1997
  4.  
  5.   This is a very incomplete attempt to create a FAQ for the Ftape Floppy
  6.   Tape Device Driver.  Any suggestions, remarks ... that could improve
  7.   this FAQ are welcome indeed.
  8.  
  9.   1.  A Word From The Maintainer Of Ftape.
  10.  
  11.   This is a very incomplete attempt to create a FAQ for the Ftape Floppy
  12.   Tape Device Driver.
  13.  
  14.   You might encounter references to the following addresses while
  15.   reading this document:
  16.  
  17.   ╖  The maintainer of the Ftape FAQ :
  18.  
  19.      Johan De Wit <jdewit@unicall.be>
  20.  
  21.   ╖  The Ftape maintainer :
  22.  
  23.      Claus-Justus Heine <claus@momo.math.rwth-aachen.de>
  24.  
  25.   ╖  The Ftape Home Page :
  26.  
  27.      <http://www-math.math.rwth-aachen.de/~LBFM/claus/ftape/ftape-
  28.      page.html>
  29.  
  30.   ╖  The Ftape HOWTO :
  31.  
  32.      <http://sunsite.unc.edu/LDP/HOWTO>
  33.  
  34.   ╖  The Ftape Mailing List :
  35.  
  36.      <linux-tape@vger.rutgers.edu>
  37.  
  38.   There is surely quite a lot missing. Please feel free to improve this
  39.   FAQ.  The preferred way of doing this is to post to the Ftape Mailing
  40.   List in case you have a question that isn't answered here.
  41.  
  42.   Also, if you are already reading the list regularly and have the
  43.   impression that some questions occur again and again, feel free to
  44.   send that question and possibly an answer in the format indicated
  45.   below to the maintainer of the Ftape FAQ AND to Ftape Mailing List.
  46.  
  47.   If you make FAQ related postings, then please DON'T FORGET to prepend
  48.   the word "FAQ" to the subject of your posting. Please don't add the
  49.   word "FAQ" to the subject if you post something that isn't related to
  50.   the FAQ.
  51.  
  52.   That's all for now.
  53.  
  54.   Claus-Justus Heine.
  55.  
  56.   2.  Compiling and installing Ftape" related questions !
  57.  
  58.   2.1.  What Ftape version should I use?
  59.  
  60.   Always the latest stable version which is _supposed_ to be available
  61.   from ftp://sunsite.unc.edu/pub/Linux/kernel/tapes and http://www-
  62.   math.math.rwth-aachen.de/~LBFM/claus/ftape/ftape-page.html
  63.  
  64.   However, for the time being you should try ftape-3.03b-970603 which
  65.   unluckily hasn't made its way to the sunsite archives as it was
  66.   intended to be a beta version only and will hopefully soon be out-
  67.   dated by the new version ftape-4.0.
  68.  
  69.   ftape-3.03b-970603 is available from http://www-math.math.rwth-
  70.   aachen.de/~LBFM/claus/ftape/ftape-page.html ONLY.
  71.  
  72.   <answer from Claus Heine>
  73.  
  74.   2.2.  I'm having problems getting my XYZ drive to run under the 2.0.xx
  75.   kernel with the built-in driver.  How do I fix this?
  76.  
  77.   The default version of Ftape included in the 2.0.xx kernel sources is
  78.   2.08 or 2.09 and is very out of date.  Please update the Ftape drivers
  79.   to the latest from the Ftape Home Page.
  80.  
  81.   <answer from Tim Jones>
  82.  
  83.   2.3.  I'm running Linux/SMP and the system just freezes when trying to
  84.   access the Ftape devices!
  85.  
  86.   You need to add -D__SMP__ to the KERNEL_OPT variable in the file
  87.   MCONFIG.
  88.  
  89.   <answer from Claus Heine>
  90.  
  91.   2.4.  Why does depmod complain about "undefined symbols"?
  92.  
  93.   Ignore the depmod error messages. The problem is that the Ftape
  94.   modules have to be compiled without the version checksum feature (i.e.
  95.   CONFIG_MODVERSIONS) with 2.0.* kernels. This causes no problem, even
  96.   when the modules are used with a kernel that has support for this
  97.   feature; only that depmod wrongly complains about undefined symbols.
  98.   Ignore the complaints of depmod and try to insert the modules despite
  99.   of these complaints:
  100.  
  101.        modprobe zftape
  102.  
  103.   If this fails, something is wrong.
  104.  
  105.   <answer from Claus Heine>
  106.  
  107.   2.5.  insmod" says the kernel version is wrong
  108.  
  109.   The insmod program can check the kernel version against the version
  110.   that Ftape was compiled for in two ways: It can directly compare the
  111.   kernel version number recorded in the Ftape module against the version
  112.   of the running kernel, or, if both the kernel and Ftape is compiled
  113.   with versioned symbols, compare the version of the used kernel
  114.   symbols.
  115.  
  116.   If you have upgraded your version of GCC to v2.7.0 or later, you must
  117.   recompile the modules utilities with gcc v2.7.x.
  118.  
  119.   Newer versions of insmod allows you to "force" insertion of a module
  120.   into the kernel, even though the version string is incorrect.
  121.  
  122.   <from the Ftape-Howto>
  123.  
  124.   2.6.  insmod" says that kernel 1.2.0 and 1.2.0 differ
  125.  
  126.   Did you remember to apply the ksyms.c patch to the kernel?  If not,
  127.   read the README.linux-1.2 file in the source distribution.
  128.  
  129.   <from the Ftape-Howto>
  130.  
  131.   2.7.  "modversions.h: no such file or directory" Trying to compile
  132.   Ftape gives me the error
  133.  
  134.   The modversions.h file is created when the kernel is compiled with the
  135.   configuration item CONFIG_MODVERSIONS turned on.  With this option
  136.   enabled, the file will be created during the make dep step.
  137.  
  138.   One more handy tip is that a make mrproper will remove
  139.   /usr/include/linux/modversions.h.  You will need to reconfig the
  140.   kernel and do a make dep to get the file back.
  141.  
  142.   <from the Ftape-Howto>
  143.  
  144.   2.8.  What is this versioned symbols stuff anyway?
  145.  
  146.   When you say `yes' to CONFIG_MODVERSIONS during `make config', all the
  147.   symbols exported by the kernel, i.e: the symbols that the loadable
  148.   modules can "see", are augmented to include a checksum across the
  149.   types of the call/return parameters.  This allows insmod to detect
  150.   whether the definition of a variable or function in the kernel has
  151.   changed since the time when Ftape was compiled.
  152.  
  153.   This ensures a high degree of safety, such that you do not crash the
  154.   kernel because you used an outdated module with your kernel.
  155.  
  156.   If you enable CONFIG_MODVERSIONS in the kernel, make sure you have
  157.  
  158.   -DMODVERSIONS -include /usr/include/linux/modversions.h
  159.  
  160.   uncommented in the MODULE_OPT line in the Ftape Makefile.  Conversely,
  161.   if you do not have CONFIG_MODVERSIONS enabled, make sure you have it
  162.   commented out.
  163.  
  164.   <from the Ftape-Howto>
  165.  
  166.   2.9.  I seem to be getting sftape instead of zftape. When I run "ftmt
  167.   status" command, I get output that the Ftape docs says corresponds to
  168.   sftape ( /dev/qft0: Invalid argument ). Why?
  169.  
  170.   There are (at least) two possible sources of the problem:
  171.  
  172.   ╖  All Ftape-3.* versions prior to 3.04 install the modules into
  173.  
  174.        /lib/modules/misc
  175.        instead of
  176.        /lib/modules/uname -r/misc
  177.  
  178.   As modprobe searches in /lib/modules/misc/ last there might be an old
  179.   ftape.o module floating around in /lib/modules/ uname -r/misc which
  180.   modprobe finds first (uname -r stands for the kernel version).  Remove
  181.   the old ftape.o module.
  182.  
  183.   ╖  Your kernel has support for Ftape compiled in. Reconfigure your
  184.      kernel without support for Ftape (CONFIG_FTAPE) and recompile and
  185.      install it.
  186.  
  187.   <answer from Claus Heins>
  188.  
  189.   2.10.  My Ditto DASH/FC-20/Exabyte Accelerator card works under
  190.   Microsoft Windows, but I get a drive not found type of error in
  191.   /var/log/messages when trying to use it under Linux.
  192.  
  193.   You are probably trying to use the same IRQ and DMA settings as your
  194.   on-board FDC. This does not work in versions of Ftape prior to 3.03b.
  195.   Please update the Ftape Drivers to the latest from the Ftape Home
  196.   Page.
  197.  
  198.   <answer from Tim Jones>
  199.  
  200.   2.11.  Ftape DMA transfers gives ECC errors
  201.  
  202.   Sadly to say there are some SVGA cards and Ethernet cards that do not
  203.   decode their addresses correct.  This typically happens when the Ftape
  204.   buffers are in the range 0x1a0000 to 0x1c0000.  Somehow, the DMA write
  205.   cycles get clobbered and every other byte written gets a bad value
  206.   (0xff).  These problems are reported to happen with both SVGA and
  207.   Ethernet cards.  We know of at least one (bad?) ATI 16bit VGA card
  208.   that caused this.
  209.  
  210.   The easiest solution is to put the card in an 8bit slot (it is often
  211.   not enough to reconfigure the card to 8bit transfers).  Moving the
  212.   Ftape buffer away from the VGA range is only a partial solution; All
  213.   DMA buffers used in Linux can have this problem!  Let us make this one
  214.   clear: This has nothing to do with the Ftape software.
  215.  
  216.   <from the Ftape-Howto>
  217.  
  218.   2.12.  Help! I'm getting 'dmaalloc() failed' in my syslog file.
  219.  
  220.   You should only see this is you are trying to insmod the ftape.o
  221.   module.  Try running swapout first.  It is provided with the
  222.   standalone Ftape source.  It doesn't appear in the Ftape source that's
  223.   provided with the kernel.
  224.  
  225.   Here's an example of how you can set your rc.local file to use it.
  226.  
  227.        # Install the Floppy Tape Driver
  228.        if [ -f /boot/modules/`uname -r`/misc/ftape.o ]; then
  229.           echo Installing ftape for Linux `uname -r`
  230.           swapout
  231.           insmod /boot/modules/`uname -r`/misc/ftape.o
  232.        fi
  233.  
  234.   Please note that you won't have this type of problem if you compile
  235.   the Ftape driver into the kernel.
  236.  
  237.   <from the Ftape-Howto>
  238.  
  239.   2.13.  Syslogd works overtime when running Ftape
  240.  
  241.   The compile-time options NO_TRACE and NO_TRACE_AT_ALL in Ftape control
  242.   the amount of system logging.  Add whichever is appropriate to the
  243.   FTAPE_OPT line in the Makefile and recompile.
  244.  
  245.   <from the Ftape-Howto>
  246.  
  247.   2.14.  How do I change the trace-level?
  248.  
  249.   There are three ways you can do this (in order of personal
  250.   preference).
  251.  
  252.   While we're at it, here are the meanings of the various trace levels.
  253.  
  254.   ╖  0 Bugs
  255.  
  256.   ╖  1 + Errors
  257.  
  258.   ╖  2 + Warnings
  259.  
  260.   ╖  3 + Information
  261.  
  262.   ╖  4 + More information
  263.  
  264.   ╖  5 + Program flow
  265.  
  266.   ╖  6 + FDC/DMA info
  267.  
  268.   ╖  7 + Data flow
  269.  
  270.   ╖  8 + Everything else
  271.  
  272.   1. Using insmod to change trace-level
  273.  
  274.      If you are using the modules mechanism to load the Ftape driver,
  275.      you can specify the tracing level as an option to the insmod
  276.      command.
  277.  
  278.                /sbin/insmod ftape.o tracing=<tracing-level>
  279.  
  280.   2. Using mt to change trace-level
  281.  
  282.      The Ftape driver has a hack in it that allows the fsr option in mt
  283.      to be used to set the tracing level.  zftape does not have this
  284.      hack.
  285.  
  286.                mt -f /dev/ftape fsr <tracing-level>
  287.  
  288.   The use of the fsr command in mt is a hack, and will probably disap¡
  289.   pear or change with time.
  290.  
  291.   3. Recompiling to change trace-level
  292.  
  293.      The file tracing.c contains a line int tracing = 3;.  Change the 3
  294.      to whatever is appropriate and recompile.
  295.  
  296.   <From the Ftape-Howto>
  297.  
  298.   2.15.  I'm having problems with Ftape.  I'm using the latest version
  299.   of Ftape from the Ftape Home Page and believe that I've located a real
  300.   bug. What should I do?
  301.  
  302.   Check the Ftape Home Page.  for an even newer version. Then check the
  303.   FAQ contained in the that package if your problem is listed there.
  304.   Next, try to check if the manual that comes with the Ftape
  305.   distribution mentions your problem.
  306.  
  307.   There is no need to read the entire manual, simply check the "Concept
  308.   Index" if it contains a keyword that might be related to your problem,
  309.   then jump to the proper location in the manual.
  310.  
  311.   If you are still convinced you've found a bug, then post a general
  312.   question describing the problem to the Linux-Tape Mailing List , but
  313.   do not attach your entire Ftape error-log. If we've seen the problem
  314.   before, we'll let you know where the resolution effort stands.  If we
  315.   haven't, the Ftape maintainer will most likely request that you send
  316.   him the entire Ftape error-log (snipped from your system messages
  317.   file).
  318.  
  319.   <answer from Tim Jones>
  320.  
  321.   3.  Using Ftape" related questions !
  322.  
  323.   3.1.  How fast is Ftape ?
  324.  
  325.   You can achieve quite respectable backup and restore speeds with
  326.   Ftape: a Colorado DJ-20 and an Adaptec 1542CF controller, has been
  327.   measured at 4.25Mbyte/min sustained data transfer rate (no
  328.   compression) across a 70Mbyte tar archive, while comparing the archive
  329.   on the tape with data on an IDE disk.  The speed of Ftape is mostly
  330.   dependent on the data transfer rate of your FDC: The AHA1542CF has a
  331.   ``post-1991 82077'' FDC, and it will push 1Mbit/sec at the tape drive.
  332.   If you have an FDC which can only deliver 500Kbit/sec data rates, you
  333.   will see half the transfer rate (well, roughly).
  334.  
  335.   3.2.  When I write to some of my tapes, they seem to spend a lot of
  336.   time "shoe-shining," or repositioning instead of streaming.  Is some¡
  337.   thing wrong with my system?
  338.  
  339.   There has been a few reports of "shoeshining".  This is when the tape
  340.   just seems to run back and forth endlessly.  This has been seen on a
  341.   Jumbo 250 (74407.3051@compuserve.com) and on an Iomega 250 Ditto
  342.   Insider (tom@opus.cais.com). In the latter case it has been narrowed
  343.   own to using an ELF Linux and running off a SCSI hard disk (connected
  344.   to an Adaptec 1542cf).  Please contact me if you have an update to
  345.   this problem.
  346.  
  347.   <from the Ftape-Howto>
  348.  
  349.   Probably not. If you are backing up a large number of < 2K files,
  350.   you're just going to have to live with it.  In this event, the
  351.   repositions are caused by file system access overhead. If you are
  352.   backing up a normal system's files, this may be caused by slop or
  353.   media stretching in the tape cartridge. By simply retensioning the
  354.   tape, you should see this go away. Try
  355.        ftmt -f /dev/zqft0 reten
  356.  
  357.   to retension the tape. If retensioning doesn't solve this, and it's
  358.   only happening on certain tapes, it might be wise to replace the tapes
  359.   in question.
  360.  
  361.   <answer from Tim Jones>
  362.  
  363.   If you use afio as your backup tool you can set it to write a very
  364.   large number of buffers in one hit by using the -c flag. Make it large
  365.   enough so that you supply enough data for most of a single end-to-end
  366.   pass over the tape.  For my system, the following streams quite nicely
  367.   - stopping relatively few times per tape pass on an unloaded system:
  368.  
  369.        find /usr/local -xdev -print | afio -o -v -f -b 10240 -c 800 /dev/qft0
  370.  
  371.   In my case I'm writing 800 x 10240 bytes per tape write, i.e. about
  372.   8MB.  haven't experimented that much with these settings - so someone
  373.   might like to establish more optimal ones.
  374.  
  375.   Presumably other backup utilities could be modified to use a similar
  376.   technique.
  377.  
  378.   <answer by Michael Hamilton>
  379.  
  380.   GNU tar doesn't use buffering in this way. The commercial backup
  381.   program "bru" is able to multi-buffer using shared memory; this works
  382.   only when writing compressed archive with bru (regardless whether you
  383.   use Ftape's builtin compression)
  384.  
  385.   Another way to overcome the problem might be to use more dma buffers
  386.   in the Ftape kernel driver like:
  387.  
  388.        mt -f /dev/qft0 setdrvbuffer $((6*32786))
  389.  
  390.   $((6*32786)) should be expanded by your shell when using a Bourne com¡
  391.   patible one. This has a negative impact on the system's memory pool:
  392.   Ftape's dma buffers cannot be used by any other part of the kernel nor
  393.   by any other application. And kernel memory cannot be swapped out. If
  394.   you decide to use this kind of multi-buffering then you should unload
  395.   the driver as soon as it isn't needed any longer.
  396.  
  397.   <answer by Claus Heine>
  398.  
  399.   3.3.  Do I have to reboot to the DOS world to format tapes?
  400.  
  401.   Not if you are using the latest version of the Ftape drivers from  the
  402.   Ftape Home Page.  To format a QIC-80, TR-1, TR-3, QICWide 3010 or 3020
  403.   tape, make sure that the Ftape-format module is loaded and use the
  404.   special version of the mt utility included with Ftape in the
  405.   contrib/gnumt directory. Use the ftformat option with an optional
  406.   argument that is interpreted as follows:
  407.  
  408.      ftmt ftformat 0
  409.         keep the existing header information, DON'T erase the tape prior
  410.         formatting it.
  411.  
  412.      ftmt ftformat 1
  413.         keep the existing header information and erase the tape prior
  414.         formatting it.
  415.  
  416.      ftmt ftformat 2
  417.         DON'T keep the existing header information, DON'T erase the
  418.         tape.
  419.  
  420.      ftmt ftformat 3
  421.         DON'T keep the existing header information, but erase the tape
  422.         prior to formatting it.
  423.  
  424.   "ftformat" without parameter is synonymous to "ftformat 1" NOTE: Do
  425.   not try to format Ditto 2GB tapes.
  426.  
  427.   <answer from Tim Jones>
  428.  
  429.   NOTE: The formatting ioctl interface as well as the user interface
  430.   have been completely rewritten for Ftape-4.0. Further information will
  431.   be included in the manual of Ftape-4.0.
  432.  
  433.   <answer from Claus Heine>
  434.  
  435.   3.4.  Ftape detects more bad sectors than DOS on QIC-3020 tapes
  436.  
  437.   If you look at the difference, you will notice that Ftape always
  438.   detects 2784 sectors more than DOS.
  439.  
  440.   The number that Ftape reports is correct (of course :-). Each
  441.   correctly formatted QIC-3020 tape has 2784 sectors at fixed positions
  442.   that are marked in the bad sector map. To quote from the specs:
  443.  
  444.        Tracks 5,7,9,11,13,15,17,19,21,23,25 and 27 within 4 seg¡
  445.        ments of either EOT or BOT are prone to increased error
  446.        rates due to hole imprints.  Therefore, these regions shall
  447.        be mapped as bad at format time and entered in the bad sec¡
  448.        tor map by indicating that all sectors within the identified
  449.        segments are bad.
  450.  
  451.   This gives 12 tracks * 2 * 4 segments * 29 sectors == 2784 sectors.
  452.  
  453.   So Ftape choose to report the real number of sectors that cannot be
  454.   used on the tape, while DOS gives a more optimistic number giving a
  455.   better indication of tape quality.  (Ftape's behavior might change in
  456.   the future to detect correct formatting and display the separate
  457.   numbers. It has rather low priority though).
  458.  
  459.   QIC-3010 are alike QIC-3020 tapes regarding this.
  460.  
  461.   <from the Ftape-Howto>
  462.  
  463.   3.5.  Is it ok that I'm not hearing the tape move when I do a fsf or a
  464.   bsf with mt?
  465.  
  466.   Yes.  The driver merely updates an internal counter when those
  467.   commands are issues.  The tape should move to the proper location on
  468.   the next read or write access to the tape drive.
  469.  
  470.   <from the Ftape-Howto>
  471.  
  472.   3.6.  Why does my XYZ backup program complain about "Invalid argument"
  473.   errors?
  474.  
  475.   zftape requires the data to be written in multiples of a fixed minimal
  476.   block size. This is a very usual behavior for a tape device. There are
  477.   three ways to get rid of those errors:
  478.  
  479.   ╖  set Ftape's block size to the block size used by the backup
  480.      program. The example below works for "afio":
  481.  
  482.        mt -f /dev/qft0 setblk 5120
  483.  
  484.   ╖  If you don't want to use Ftape's built in compression you can also
  485.      use
  486.  
  487.        mt -f /dev/qft0 setblk 0
  488.  
  489.   to switch Ftape to variable block size mode and be able to write the
  490.   data in arbitrary portions to the tape (BUT: the builtin compression
  491.   doesn't work with this setting). When you intend to use "KBackup" then
  492.   this is the only way to make it work together with Ftape (it _may_
  493.   work, don't know if it does)
  494.  
  495.   ╖  tell your backup program about Ftape's default block size of 10k
  496.      (which is also the default of GNU tar). For "afio" you can use the
  497.      following command line switch:
  498.  
  499.        afio -b 10k ...
  500.  
  501.   You may want to read the section "Tape blocks" of the manual (use its
  502.   "Concept index" to directly jump to that section)
  503.  
  504.   <answer by Claus Heine>
  505.  
  506.   3.7.  Why do I get "/dev/qft0: No such device" errors?
  507.  
  508.   I assume that the following is the problem: The Ftape module is loaded
  509.   OK into the kernel:
  510.  
  511.        /usr/src/ftape-3.03b-970603# lsmod
  512.         Module         Pages    Used by
  513.         ftape             22            0
  514.  
  515.   but then this happens:
  516.  
  517.   $ ftmt -f /dev/qft0 status
  518.   ftmt: /dev/qft0: No such device
  519.  
  520.   Solution You need to load the zftape.o module as well. With Ftape-3.*
  521.   the ftape.o module doesn't implement the VFS interface. This is done
  522.   by zftape.o.
  523.  
  524.   <answer from Claus Heine>
  525.  
  526.   3.8.  I get "device busy" when I make multiple backups on a tape using
  527.   some script.
  528.  
  529.   The "device busy" messages can only occur while the Ftape devices are
  530.   still held open by some program. As soon as the close() system call
  531.   has completed the busy flag is cleared. May be "bru" or some other
  532.   program has still forked off a child that dies delayed?
  533.  
  534.   Yes, this will reproduce the problem, it seems:
  535.  
  536.        tar -cvvzf /dev/nqft0 --block-compress ; mt rewind
  537.  
  538.   You can skip the "--block-compress" if using the most recent version
  539.   of GNU tar.
  540.  
  541.   However, this is not a bug of Ftape. It seems that the parent tar
  542.   process exits before its child has closed the tape device. I know,
  543.   however, from hacking the tar code ages ago, that tar properly waits
  544.   for its parent to die.
  545.  
  546.   However, the busy message simply means that the "busy" variable is
  547.   still held at 1 (zftape/zftape-init.c). And this simply means that
  548.   there still is a process hanging around that holds the tape device
  549.   open.
  550.  
  551.   I think I have it (only for the case of tar 'cause I have the source
  552.   code.
  553.  
  554.   If on uses tar with compression, then it forks a child which will
  555.   become the compressor bei execing  "gzip" or whatever. Before the call
  556.   to execlp() the child will fork off a grand child of its parent tar.
  557.   That grandchild will do the actual tape I/O.
  558.  
  559.        tar - fork() - write to child tar
  560.                |
  561.              child tar - fork() - gzip (will pipe to grand child tar)
  562.                            |
  563.                          grand child tar - open archive.
  564.  
  565.   Now, parent tar only waits for its child to die. gzip surely doesn't
  566.   wait for the grand child as the gzip is a result of an execlp().
  567.  
  568.   What I don't know is whether the grand child should be implicitly
  569.   waited for by the parent tar, or if the wait() function also waits for
  570.   grand childs.
  571.   But this seems to be the problem: the parent tar already has exited
  572.   while its grandchild still is busy closing the archive. One hardly
  573.   will notice this problem if the close() happens fast (i.e. regular
  574.   files, block devices, also other tape devices?), but it isn't a bug in
  575.   Ftape, but either in the backup programs or in the kernel or maybe
  576.   libc exit code.
  577.  
  578.   Don't know if the considerations above also apply to bru. If there is
  579.   no grandchild and the parent process properly waits for its childs
  580.   then there shouldn't be a problem.
  581.  
  582.   <answer from Claus Heine>
  583.  
  584.   3.9.  How do I "...." with tar?
  585.  
  586.   These are really tar questions: Please read the man page and the info
  587.   page.  If you have not got it either, try
  588.  
  589.        tar  --help 2>&1 | less
  590.  
  591.   If your version of tar is v1.11.1 or earlier, consider upgrading to
  592.   v1.11.8 - This version can call GNU zip directly (i.e.: it supports
  593.   the -z option) and has an elaborate help included.  Also, it compiles
  594.   right out of the box on Linux.
  595.  
  596.   <from the Ftape-Howto>
  597.  
  598.   3.10.  What block-size should I use with tar ?
  599.  
  600.   When using compression, and in all general, it can be a benefit to
  601.   specify to tar, that it should block the output into chunks.  Since
  602.   Ftape cuts things into 29Kbyte blocks, saying `-b58' should be
  603.   optimum.
  604.  
  605.   "Why 29Kbyte?", I hear you cry.  Well, the QIC-80 standard specifies
  606.   that all data should be protected by an Error Correcting Code (ECC)
  607.   code.  The code specified in the QIC-80 standard is known as a Reed-
  608.   Solomon (R-S) code.  The R-S code takes 29 data bytes and generates 3
  609.   parity bytes.  To increase the performance of the ECC code, the parity
  610.   bytes are generated across 29 1Kbyte sectors.  Thus, Ftape takes
  611.   29Kbytes of data, adds 3Kbytes of ECC parity, and writes 32Kbytes to
  612.   the tape at a time.  For this reason, Ftape will always read and write
  613.   32K byte blocks to be able to detect (and correct) data errors.
  614.  
  615.   If you are curious, and wish to know more, look in the ecc.c and ecc.h
  616.   files, for an explanation of the code and a reference to a textbook on
  617.   Reed-Solomon codes.
  618.  
  619.   <from the Ftape-Howto>
  620.  
  621.   3.11.  Where can I find the tar/mt/cpio/dd binaries - sources - man¡
  622.   pages?
  623.  
  624.   All of these tools have been developed by the GNU project, and the
  625.   source (and man page) can be fetched from just-about any ftp site in
  626.   the world (including ftp.funet.fi, tsx-11.mit.edu, and
  627.   sunsite.unc.edu).  In any case they can be fetched from the official
  628.   GNU home site: prep.ai.mit.edu [18.71.0.38]:/pub/gnu.  The latest
  629.   versions (as of September 12 1996) are:
  630.  
  631.   cpio:   2.4.2 (cpio-2.4.2.tar.gz)
  632.   dd:     3.13 (fileutils-3.13.tar.gz)
  633.   mt:     2.4.2 (cpio-2.4.2.tar.gz)
  634.   tar:    1.11.8 (tar-1.11.8.tar.gz)
  635.   gzip:   1.2.4 (gzip-1.2.4.tar.gz)
  636.  
  637.   They all compile out of the box on Linux v1.0.4 / libc v4.5.19 / gcc
  638.   v2.5.8.
  639.  
  640.   <from the Ftape-Howto>
  641.  
  642.   3.12.  do it?  If I use tapers compression, is it a bad idea to use
  643.   the compression with zftape, or would it be better to not use tapers
  644.   compression, and let zftape
  645.  
  646.   It is not bad as such to compress data twice (which would be the case
  647.   when using tapers compression together with zftape's compression) but
  648.   it doesn't make any sense. You won't gain much further compression,
  649.   but only waste CPU cycles.
  650.  
  651.   Tapers compression should be quite safe, as taper compresses single
  652.   files; in contrast to tar -czf ... which makes the entire data stream
  653.   a large compressed block of data, which is really a bad thing with
  654.   serious backups as a single bad byte at the beginning of the archive
  655.   can make the entire archive unusable, well, it will be at least quite
  656.   difficult to recover.
  657.  
  658.   <Answer from Claus Heine>
  659.  
  660.   3.13.  How does zftape compression compare to say gzip -9?
  661.  
  662.   gzip -9 is better (i.e. one gains higher compression). zftape's
  663.   compression is comparable with the Un*x compress program, but should
  664.   be faster, and is faster than gzip.
  665.  
  666.   <Answer from Claus Heine>
  667.  
  668.   3.14.  I don't trust compression, but hear that the sftape interface
  669.   is going away. What should I do?
  670.  
  671.   Use the zftape interface, but don't load the zft-compressor module.
  672.   The device then becomes /dev/qft0.
  673.  
  674.   <answer from Tim Jones>
  675.  
  676.   3.15.  Ftape says "This tape has no 'Linux raw format"
  677.  
  678.   You get this complaint if you haven't erased your freshly formatted
  679.   tape.  This is because Ftape expect a "magic header" on the tape, to
  680.   be able that it is allowed to interpret the header segment in its own
  681.   way (eg: file marks).  To remove the problem, say
  682.  
  683.   mt -f /dev/nftape erase
  684.  
  685.   <from the Ftape-Howto>
  686.  
  687.   3.16.  Can I exchange tapes with someone using DOS?
  688.  
  689.   No.  The DOS software conforms to the QIC-80 specs about the layout of
  690.   the DOS filesystem, and it should(?)  be a small problem to write a
  691.   program that can read/write the DOS format.  In fact, I'd bet that
  692.   creating a nice user interface would be a bigger problem.
  693.  
  694.   <From the Ftape-Howto>
  695.  
  696.   3.17.  How does `mt eom' work when you've started overwriting a tape
  697.   in the middle?
  698.  
  699.   (EOM is "End Of recorded Media", the position right after all data
  700.   already recorded to the tape)
  701.  
  702.   One cannot use tape "files" like files on an ordinary file system.
  703.  
  704.   In principle, a tape doesn't allow anything but appending new data at
  705.   EOM.  However, if one positiones just in the middle of the already
  706.   recorded data AND starts writing, then the driver first deletes all
  707.   following files (thus moving the EOM to the actual position) and then
  708.   starts writing.
  709.  
  710.   Thus, the new EOM after finishing the write process, is then after the
  711.   newly recorded data.
  712.  
  713.   One of the consequences of the above is, of course, that writing to
  714.   the tape in the middle of the already recorded area, is destructive in
  715.   the sense, that it not only overwrites the "file" the tape is
  716.   positioned at, but also deletes all following files.
  717.  
  718.   <from the Ftape-Howto> <Answer from Claus Heine>
  719.  
  720.   3.18.  support fsf, under the new zftape it does, why would this be,
  721.   and what exactly is fsf ?  When I made backups before using taper,
  722.   under the 2.0.29 ftape my drive didn't
  723.  
  724.   It probably didn't work before because you didn't use a
  725.  
  726.        mt -f /dev/rft0 erase
  727.  
  728.   before writing data to the cartridge. THIS ISN'T necessary any more.
  729.  
  730.   But, hey, what does mt fsf? Tape drives don't store files in the sense
  731.   that you can use
  732.  
  733.   cp somefile /dev/my_what_ever_tape
  734.  
  735.   or be able to mount the tape drive like you could mount a harddisk.
  736.   You can't do nothing with a tape drive but write data to it in a
  737.   sequential manner.
  738.  
  739.   As this is quite inconvenient, somebody invented something which is
  740.   known under the name file mark or eof mark (eof == End Of File). Those
  741.   marks don't separate files that have been backed up to the tape
  742.   device, but only separate blocks of data (whatever data that might
  743.   be).
  744.  
  745.   Normally, the kernel tape device drivers take care of writing file
  746.   marks when the tape device is closed, i.e.
  747.  
  748.   tar -cf /dev/nqft0 /bin
  749.   tar -cf /dev/nqft0 /etc
  750.   mt -f /dev/nqft0 rewind
  751.  
  752.   would result in a backup of all files under /bin and /etc. When the
  753.   first tar finishes, the kernel driver will take care of writing a file
  754.   mark to the tape at the the current tape position, and when the second
  755.   tar process has finished, another file mark is written to the tape
  756.   cartridge at that position.
  757.  
  758.   Now, the sense of those file marks is, that it is possible to skip
  759.   between different archives on the tape more quickly than would be
  760.   possible with reading the data back.
  761.  
  762.   The commands to do that are:
  763.  
  764.      mt fsf
  765.         fast skip to the next file mark towards EOT (End Of Tape)
  766.  
  767.      mt bsf
  768.         fast skip to the next file marks towards BOT (Begin Of Tape)
  769.  
  770.   Thus, to extract the second archive in the example above, one doesn't
  771.   need to read the first archive back, but can proceed as follows:
  772.  
  773.        mt -f /dev/nqft0 rewind
  774.        mt -f /dev/nqft0 fsf
  775.        tar -xvf /dev/nqft0
  776.  
  777.   <Answer from Claus Heine>
  778.  
  779.   3.19.  What exactly is the difference between ftape, and zftape?
  780.  
  781.   When Ftape was young there were two versions of the floppy tape
  782.   driver, one of them was called zftape because of its built-in user-
  783.   transparent on-the-fly compression. Whether such a thing is a feature
  784.   or a bug ('cause this needn't be done in kernel space) is another
  785.   question. However, the ioctl interface and file mark handling provided
  786.   by zftape was much better and had less bugs. And zftape allows to use
  787.   floppy tape cartridges with different OS. Well, you can't exchange
  788.   data, but zftape won't overwrite volumes created by your Windoze
  789.   program, and vice versa.
  790.  
  791.   Nowadays, Ftape is name of the entire floppy tape driver package AND
  792.   ftape.o is the file-name of the kernel module that implements the low-
  793.   level hardware support. zftape has ceased to exist as a separate
  794.   package, but the new Ftape versions (since ftape-3.00) contain a
  795.   zftape.o module that needs to be loaded on top of ftape.o (i.e. you
  796.   need to load BOTH modules to be able to access your floppy tape drive)
  797.   and implements the file system interface and the advanced (?) features
  798.   of the previous verions zftape.
  799.  
  800.   <Answer from Claus Heine>
  801.  
  802.   3.20.  What is the difference between a rewinding, and non rewinding
  803.   drive?
  804.  
  805.   Well, the rewinding tape devices rewind the tape to BOT (Begin Of
  806.   Tape) when the device is closed, i.e.
  807.        tar -cvf /dev/qft0 /bin
  808.  
  809.   will rewind the tape cartridge when the tar job has finished. In con¡
  810.   trast,
  811.  
  812.        tar -cvf /dev/nqft0 /bin
  813.  
  814.   will NOT rewind the tape cartridge and leave the tape R/W head at its
  815.   current position.
  816.  
  817.   Rewinding devices should be used when performing a single backup, non-
  818.   rewinding devices can be useful when doing multiple backups as one
  819.   doesn't need to space to EOM (End Of recorded Media) before appending
  820.   another archive.
  821.  
  822.   Non-rewinding devices MUST be used when sending any of the tape motion
  823.   command to the tape drive, such as
  824.  
  825.        mt -f /dev/nqft0 fsf
  826.  
  827.   , because when the mt process finishes then the tape device is closed
  828.   which would result in rewinding the cartridge with the rewinding
  829.   devices.
  830.  
  831.   <Answer from Claus Heine>
  832.  
  833.   3.21.  Can someone tell me how to use mt to rewind my TR-3 drive one
  834.   record using zftape record, so I can verify it?
  835.  
  836.   Well, it depends. If the tape is still positioned inside the volume
  837.   just written, "mt bsf 1" (or equivalently "mt bsf") will backspace
  838.   just to the beginning of that volume (this is how "tar --verify"
  839.   works). If the tape is already positioned AFTER the filemark that
  840.   marks the end of the last written volume, then you need to issue "mt
  841.   bsf 2"
  842.  
  843.   The logic behind this is as follows: "MTBSF #count" backspaces over
  844.   #count file marks, stops, and then positions on the EOT side of the
  845.   last skipped file mark. This means, an "mt bsf 2" will position right
  846.   at the beginning of the previous volume.
  847.  
  848.   <answer form Claus Heine>
  849.  
  850.   3.22.  By non-rewinding, they mean that it doesn't automatically
  851.   rewind, correct? It doesn't mean that under no circumstances it iwill
  852.   rewind, right?  I tried using /dev/zqft0, and it instantly rewinds the
  853.   tape.
  854.  
  855.   You are right: auto-rewind means, the tape is rewound when the tape
  856.   device is closed, non-rewinding  means, the tape isn't automatically
  857.   rewound when the tape device is closed (but you can, of course, use
  858.   the tape motion commands BSF/FSF etc. to position the tape head at
  859.   every position you like).
  860.  
  861.   <answer form Claus Heine>
  862.  
  863.   3.23.  What is the difference between what mt considers a record and
  864.   what it considers a file?
  865.  
  866.   A record is the minimal amount of bytes that will be accepted by the
  867.   tape in one read/write operation (except in "variable block size mode"
  868.   where it just should be the amount of data actually written in a
  869.   single write operation??).
  870.  
  871.   For zftape every read and write access has to be a multiple of a fixed
  872.   block size (fixed, but tunable with MTSETBLK). This block size is a
  873.   "tape record" (as mentioned in the GNU mt man page and defaults to
  874.   10kb for zftape.
  875.  
  876.   A "file" (in the sense of the mt man page) is a, well, misleading
  877.   terminus. What is meant is an area of the tape between two file marks.
  878.   This is not a file like a file on the file system, in the sense that
  879.   it could have a name, file access modes, could be moved or copied with
  880.   cp, mv, rm etc.
  881.  
  882.   Instead, It simply is the area of the tape that was recorded in one
  883.   backup session, its end is marked by a tape file mark, and its
  884.   beginning is delimited by either BOT or the file mark of the previous
  885.   tape "file". That tape "files" are the things that can be skipped with
  886.   the MTBSF/FSF commands.
  887.  
  888.   <answer form Claus Heine>
  889.  
  890.   3.24.  This script implements a simple contents listing for the zftape
  891.   package using the "MTIOCVOLINFO" ioctl.
  892.  
  893.   Here is as little perl/bash script that lists the contents of a
  894.   cartridge using the zftape specific "volinfo" ioctl. Hope this shows
  895.   how to handle this kind of stuff.
  896.  
  897.   What it basically does is the following:
  898.  
  899.   1. Rewind the cartridge
  900.  
  901.   2. Issue the volinfo command:
  902.  
  903.           claus@thales:~$ mt volinfo
  904.           file number          = 1
  905.           block size           = 10240
  906.           physical space used  =  522.0 kilobytes
  907.           real size of volume  =  520.0 kilobytes
  908.  
  909.   Parse the ouput and place the values in appropriate variables
  910.  
  911.   3. Skip to the next volume with "mt fsf"
  912.  
  913.   4. Exit if this gives an error (EOD), otherwise "goto 2)"
  914.  
  915.   bf/The Perl Script/
  916.  
  917.   ______________________________________________________________________
  918.  
  919.   #!/usr/bin/perl
  920.   #
  921.   #     Copyright (C) 1997 Claus-Justus Heine
  922.   #
  923.   # This program is free software; you can redistribute it and/or modify
  924.   # it under the terms of the GNU General Public License as published by
  925.   # the Free Software Foundation; either version 2, or (at your option)
  926.   # any later version.
  927.   #
  928.   # This program is distributed in the hope that it will be useful,
  929.   # but WITHOUT ANY WARRANTY; without even the implied warranty of
  930.   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  931.   # GNU General Public License for more details.
  932.   #
  933.   # You should have received a copy of the GNU General Public License
  934.   # along with this program; see the file COPYING.  If not, write to
  935.   # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  936.   #
  937.   #   This script implements a simple contents listing for the zftape
  938.   #   package using the MTIOCVOLINFO ioctl.
  939.   #
  940.  
  941.   $version = <<EOT;
  942.   listtape-1.0 -- a perl script to list the contents of a floppy tape cartridge
  943.   under Linux using the zftape driver
  944.  
  945.   RCS \$Revision: 1.2 \$
  946.   RCS \$Date: 1997/09/11 00:16:28 \$
  947.   EOT
  948.  
  949.   $tapedev = "/dev/tape";
  950.   $usage = <<EOT;
  951.   Usage: listtape [options ...]
  952.  
  953.   Mandatory or optional arguments to long options are mandatory or optional
  954.   for short options too.
  955.  
  956.   -f, --file=FILE       Tape device to use. Default is  "/dev/tape".
  957.   -h, --help            Print this help.
  958.   -?                    Same as '-h'.
  959.   --usage           Same as '-h'.
  960.   -V, --version         Print version information.
  961.  
  962.   Author: Claus-Justus Heine <claus\@momo.math.rwth-aachen.de>
  963.   EOT
  964.  
  965.   while ($ARGV[0] =~ /^-/) {
  966.   $_ = shift;
  967.   if (/--file/) {$_ = shift; $tapedev = $_; next;}
  968.   if (/-f/) {$_ = shift; $tapedev = $_; next;}
  969.   if (/--help/) { print $usage; exit 0; }
  970.   if (/-h/) { print $usage; exit 0; }
  971.   if (/--usage/) { print $usage; exit 0; }
  972.   if (/-\?/) { print $usage; exit 0; }
  973.   if (/--version/) { print $version; exit 0; }
  974.   if (/-V/) { print $version; exit 0; }
  975.   die $usage;
  976.   }
  977.  
  978.   &open_tape($tapedev, "status");
  979.   while(<FTMT>)
  980.   {
  981.   $online = 1 if (/.*online.*/);
  982.   }
  983.   if (! $online) { die "No cartridge present.\n"; }
  984.  
  985.   &mtop($tapedev, "rewind");
  986.  
  987.   printf "%11s%12s%20s%20s\n",
  988.   "file number", "block size", "volume size", "tape space";
  989.  
  990.   while (1)
  991.   {
  992.   &open_tape($tapedev, "volinfo");
  993.   while (<FTMT>) {
  994.   if (/^file number\s*=\s*([0-9]*)$/) { $filenumber = $1; }
  995.   if (/^block size\s*=\s*([0-9]*)$/) { $blocksize = $1; }
  996.   if (/^physical space used\s*=\s*([[0-9]*.*)/) { $rawsize = $1; }
  997.   if (/^real size of volume\s*=\s*([[0-9]*.*)/) { $size = $1; }
  998.   }
  999.   close(FTMT);
  1000.   if (&mtop($tapedev, "fsf 1") != 0) {
  1001.   &mtop($tapedev,"rewind");
  1002.   print "\nRemaining space: $rawsize\n";
  1003.   print "Tape block size: $blocksize\n";
  1004.   exit 0;
  1005.   }
  1006.   printf "%6d          %5d  %20s%20s\n",
  1007.       $filenumber, $blocksize, $size, $rawsize;
  1008.   }
  1009.  
  1010.   sub mtop
  1011.   {
  1012.   local ($tape, $operation) = @_;
  1013.   local ($exitval);
  1014.   system "ftmt -f $tape $operation > /dev/null 2>&1";
  1015.   }
  1016.  
  1017.   sub open_tape
  1018.   {
  1019.   local ($tape, $operation) = @_;
  1020.   local ($command);
  1021.  
  1022.   $command = "ftmt -f " . $tape . " " . $operation . " |";
  1023.   open(FTMT, $command) || die "Couldn't open $command -- $!\n";
  1024.   }
  1025.   ______________________________________________________________________
  1026.  
  1027.   The Basch Script
  1028.  
  1029.   ______________________________________________________________________
  1030.  
  1031.   #! /bin/bash
  1032.   #
  1033.   #     Copyright (C) 1997 Claus-Justus Heine
  1034.   #
  1035.   # This program is free software; you can redistribute it and/or modify
  1036.   # it under the terms of the GNU General Public License as published by
  1037.   # the Free Software Foundation; either version 2, or (at your option)
  1038.   # any later version.
  1039.   #
  1040.   # This program is distributed in the hope that it will be useful,
  1041.   # but WITHOUT ANY WARRANTY; without even the implied warranty of
  1042.   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  1043.   # GNU General Public License for more details.
  1044.   #
  1045.   # You should have received a copy of the GNU General Public License
  1046.   # along with this program; see the file COPYING.  If not, write to
  1047.   # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  1048.   #
  1049.   #   This script implements a simple contents listing for the zftape
  1050.   #   package using the MTIOCVOLINFO ioctl.
  1051.   #
  1052.  
  1053.   #
  1054.   # insert better option parsing here
  1055.   #
  1056.   TAPEDEV=${1-/dev/tape}
  1057.  
  1058.   if ! echo $TAPEDEV | grep "/dev/n"
  1059.   then
  1060.   TAPEDEV=/dev/n$(basename $TAPEDEV)
  1061.   fi
  1062.  
  1063.   if ! [ -c $TAPEDEV ]
  1064.   then
  1065.   echo $TAPEDEV is not a character device!  1>&2
  1066.   exit 1
  1067.   fi
  1068.  
  1069.   if ! mt -f $TAPEDEV rewind
  1070.   then
  1071.   echo Could not rewind $TAPEDEV - no cartridge present?  1>&2
  1072.   exit 1
  1073.   fi
  1074.  
  1075.   echo -e "\nContents of $TAPEDEV:\n"
  1076.  
  1077.   printf "%11s%12s%20s%20s\n" "file number" "block size" "volume size" "tape space"
  1078.  
  1079.   trap "rm -f /tmp/$0.$$" exit
  1080.  
  1081.   while true
  1082.   do
  1083.   if ! foo=$(mt -f $TAPEDEV volinfo |cut -f 2 -d =)
  1084.   then
  1085.   echo $TAPEDEV doesn\'t seem to be a floppy tape device 1>&2
  1086.   exit 1
  1087.   fi
  1088.   #
  1089.   # "echo foo | read foo" will not work as the "read foo" is executed in
  1090.   # another shell.
  1091.   #
  1092.   echo $foo > /tmp/$0.$$
  1093.   read file blksz used usedunit size sizeunit < /tmp/$0.$$
  1094.   if ! mt -f $TAPEDEV fsf 1 > /dev/null 2>&1
  1095.   then
  1096.   echo -e "\nRemaining space: $used $usedunit"
  1097.   echo -e "Tape block size: $blksz"
  1098.   if ! mt -f $TAPEDEV rewind
  1099.   then
  1100.       echo Rewind of $TAPEDEV failed 1>&2
  1101.       exit 1
  1102.   fi
  1103.   exit 0
  1104.   fi
  1105.   printf "%6d          %5d  %20s%20s\n"\
  1106.   $file $blksz "$size $sizeunit" "$used $usedunit"
  1107.   done
  1108.   ______________________________________________________________________
  1109.  
  1110.   <answer from Claus Heine>
  1111.  
  1112.   4.  Tape and Drivers" related questions !
  1113.  
  1114.   4.1.  What are good makers of Travan tapes?
  1115.  
  1116.   I was the UNIX Product Manager at Archive Corp (Prior to the
  1117.   Conner/Seagate mess) and we performed extensive tests of tape media
  1118.   for compatibility certification, including retentivity, flaking and
  1119.   length consistancy.  Based on the results of the tests, we selected
  1120.   the best of these certified manufacturers' products to private label
  1121.   as our own media.  Here is the order in which we selected vendors up
  1122.   through 1995 (when I lost contact with the ATI group):
  1123.  
  1124.      QIC
  1125.  
  1126.         1. 3M (now known as Imation)
  1127.  
  1128.         2. QMaxell/Sony (tie)
  1129.  
  1130.         3. (BTW - Iomega uses Sony private-labelled media)
  1131.  
  1132.      4MM
  1133.  
  1134.         1. Fuji
  1135.  
  1136.         2. Maxell/Sony (tie - is this a trend?)
  1137.  
  1138.      8MM
  1139.  
  1140.         1. Fuji/Exabyte - which we believed to be OEM'd Fuji (tie - so
  1141.            much for trend!)
  1142.  
  1143.         2. Sony
  1144.  
  1145.         3. Maxell
  1146.  
  1147.      DLT
  1148.  
  1149.         1. Maxell
  1150.  
  1151.         2. Sony
  1152.  
  1153.   Otherwise, we had entries in our search from other vendors which were
  1154.   generally a private-labelled version of one of the major labels above.
  1155.   The exceptions were Verbatim and DIC.  Both of these manufacturer's
  1156.   media had fall-out rates and length discrepancies that were so high
  1157.   that we would not certify them and even warned customers about them
  1158.   indicating that we could not offer any sort of guarantee that they
  1159.   would get a good backup using the media from these manufacturers.
  1160.  
  1161.   In addition, since coming to EST, I've found that Verbatim media is
  1162.   still not worth the money saved in purchasing it.  We have 11 of their
  1163.   TR-Extra and QIC-Extra (QICXL) tapes that were useless after fewer
  1164.   than 20 passes each.
  1165.  
  1166.   While this is my personal opinion, it is based on over 9 years of
  1167.   experience with this very question, I strongly recommend Imation/3M
  1168.   media for QIC/Travan user, Fuji media 4MM users, Exabyte/Fuji for 8MM
  1169.   and DEC labelled media for DLT users.
  1170.  
  1171.   <answer from Tim Jones>
  1172.  
  1173.   4.2.  Where can I obtain the QIC standards?
  1174.  
  1175.   If you wish to help developing Ftape, or add some utility (e.g. a tape
  1176.   formatting program), you will need that appropriate QIC standards.
  1177.   The standard(s) to get is: QIC-80, -117, -3010, and 3020.  QIC-117
  1178.   describes how commands are sent to the tape drive (including timing
  1179.   etc), so you would probably never need it.  QIC-80/3010/3020 describes
  1180.   higher level part, such as tape layout, ECC code, standard filesystem.
  1181.   You can get the QIC standards from the following address:
  1182.  
  1183.        Quarter Inch Cartridge Drive Standards, Inc.
  1184.        311 East Carrillo Street
  1185.        Santa Barbara, California 93101
  1186.        Phone: (805) 963-3853
  1187.        Fax:   (805) 962-1541
  1188.  
  1189.   Note: They are registered as `Freeman Associates, Inc' in the phone
  1190.   book.
  1191.  
  1192.   <from the Ftape-Howto>
  1193.  
  1194.   4.3.  Is the Iomega Ditto 2GB drive supported?
  1195.  
  1196.   Yes, if you are using the latest version ftape-3.03b-970603 of the
  1197.   Ftape drivers from the Ftape Home Page.
  1198.  
  1199.   <answer from Tim Jones>
  1200.  
  1201.   As the Ditto 2GB is a Tr-3 tape (though it can only store 1GB instead
  1202.   of the 1.6GB you get with a regular Tr-3 drive) you need an FDC (FDC
  1203.   means: Floppy Disk Controller) that is capable of at 1Mbit/sec
  1204.   transfer rate. You don't need to worry about this if you have an
  1205.   accellerator card (i.e. the Ditto Dash controller). Otherwise try to
  1206.   purchase an FDC that claims to be capable of driving 2.88Mb floppies
  1207.   because this implies that the FDC is capable of 1Mbit transfer rate.
  1208.  
  1209.   Ftape prints the maximum data rate of the FDC to the kernel log files
  1210.   like this:
  1211.  
  1212.   ftape-ctl.c (ftape_init_drive) - Highest FDC supported data rate: 500 Kbps.
  1213.  
  1214.   <answer from Claus Heine>
  1215.  
  1216.   5.  Miscellaneous !
  1217.  
  1218.   5.1.  How to subscribe to the Ftape Mailing List?
  1219.  
  1220.   You can subscribe to that list by sending mail to
  1221.  
  1222.        majordomo@vger.rutgers.edu
  1223.  
  1224.   with the single line
  1225.  
  1226.        subscribe linux-tape
  1227.  
  1228.   in its body. Please store the answer you get from majordomo in a safe
  1229.   place because it contains instructions how to UNSUBSCRIBE from the
  1230.   mailing list.
  1231.  
  1232.   <answer from Claus Heine>
  1233.  
  1234.   5.2.  How to un-subscribe from the Ftape Mailing List?
  1235.  
  1236.   Send mail to
  1237.  
  1238.        majordomo@vger.rutgers.edu
  1239.  
  1240.   with the single line
  1241.  
  1242.        unsubscribe linux-tape MY@EMAIL.ADDRESS
  1243.  
  1244.   where MY@EMAIL.ADDRESS has to be replaced by the the email address
  1245.   that you used when subscribing to the list. Note that you must have
  1246.   received an email with instructions how to unsubscribe from the mail¡
  1247.   ing list at the time you subscribed to it.
  1248.  
  1249.   <answer from Claus Heine>
  1250.  
  1251.