Sorry Sun-managers for sending out incorrect commands!!!
In my last Summary I pointed out that I was getting a write error after
doing my dump. Mike Daffey from Fujitsu Australia was kind enough to
point out the error in my ways. My revised dump procedure is as
follows.
dump 0cdstfu 1250 620 18 - /dev/sd0a | compress -c | dd of=/dev/nrst0
conv=sync
dump 0cdstfu 1250 620 18 - /dev/sd0g | compress -c | dd of=/dev/nrst0
conv=sync
The command mt -f /dev/rst0 rewind, of course, will rewind the tape.
To view what has been put on the tape I used this command.
dd if=/dev/nrst0 | uncompress | restore -tvf -
To restore the tape, I believe this command should work.
dd if=/dev/nrst0 | uncompress | restore -xvf -
Mike explained that 1/4" tape drives will only accept blocks which are
a multiple of 512k blocks. When piping through compress, it appears
that a non-512 byte block is written to finish. The conv=sync pads the
last blocks.
Thanks again to Mike and sorry about the original bad summary.
/* *** Bradley S. Piatek *** */
/* *** GMI Engineering & Management Institute *** */
/* *** 1700 West Third Avenue Flint, MI 48504-4898 *** */
/* *** bpiatek@nova.gmi.edu 810/762-7484 *** */
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:22 CDT