home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!sun-barr!decwrl!csus.edu!csusac!cdsac!scotte
- From: scotte@cdsac.uucp (L. Scott Emmons)
- Subject: Re: MUltiple backups in a single tape.
- Message-ID: <1992Jul22.152048.21369@cdsac.uucp>
- Date: Wed, 22 Jul 1992 15:20:48 GMT
- References: <1992Jul16.191929.15642@thunder.mcrcim.mcgill.edu> <1193@curly.appmag.com>
- Organization: Cable Data (U.S. Computer Services), Sacramento, CA
- Keywords: backup, dump, restore
- Lines: 54
-
- In article <1193@curly.appmag.com> pa@curly.appmag.com (Pierre Asselin) writes:
- >In <1992Jul16.191929.15642@thunder.mcrcim.mcgill.edu> carlosp@McRCIM.McGill.EDU (Thunder Carlosp) writes:
- >
- >>tctl -f /dev/rmt0 rew
- >>tctl -f /dev/rmt0.1 fsf 1
- >>restore -if /dev/rmt0.1
- >
- >>will produce input/output or tape error.
- >
- >It always works for me at 3.1.6. The tapes are created by running
- >several rdump's in succession, sending the output to to
- ><tape-host>:/dev/rmt0.1. I can "tctl fsf" to any dump and [r]restore it.
- >
- >My 8mm tape drive is set to a block size of 512 for mksysb
- >compatibility (growl...). Could that make a difference?
-
- I would _VERY_ strongly recommend not using a block size of 512
- (except for "mksysb") on 8mm tape drives. Because of the helical scan
- system, the amount of data that must be written to a helical track is
- 1024 bytes. If you have a block size of 512, the storage capacity of
- 8mm is halved, as the tape drive still must write 1024 byte blocks. An
- "end-of-block" marker is placed on the tape and the remaining 512
- bytes are padded -- thus 1/2 of each track becomes wasted space.
-
- The "mksysb" command must have 512 byte blocks on the tape, presumably
- because the 'mini-kernel' in the boot-section of the tape speaks only
- in terms of 512 byte blocks.
-
- On the top example (tctl, tctl, restore): If that is a tape created by
- "mksysb", then you will want to read it thusly (i.e. with "tar", not
- "restore", as "mksysb" creates these tapes with "tar"):
-
- tctl -f/dev/rmtX.1 fsf 1
- tar xv<otheropts>f /dev/rmtX.1 <filenames>
-
- If you are unable to read tapes, make sure you check the device block
- size. The "mksysb" command does _NOT_ restore the block size to 1024
- (or the previous value) when it is finished. This is easily
- accomplished via "smit tape" or "chdev -l rmtX -a block_size=1024".
-
- For more information, request the following ASKQ documents from your
- IBM rep:
- Doc ID Q590900 - Item 7SKHQ - Title 920521
- Doc ID Q554651 - Item ONGW5 - Title 910927
- Doc ID Q597507 - Item 4140K - Title 920717
- Doc ID Q580977 - Item BGHGP - Title 920420
-
- Does anyone else have good references (IBM, magazine, book, etc) to
- 8mm tape drive technology?
-
- Hope this helps...
- --
- L. Scott Emmons
- csusac.csus.edu!cdsac!scotte
-