[PARPORT] mt backups & HP Colorado 8Gb Tape?


Art Wildman (wildman@mediaone.net)
Mon, 16 Aug 1999 04:08:41 -0400


Thanks for paride! I am new to the list but have been able to install RH5.2 on
an old Dell LX486 Laptop using a backpack cdrom. I am now attempting to get it
backed up on a HP Colorado 8Gb Travan-4 4/8gb Tape. I'm having trouble with "mt"
commands as follows, please explain or offer work arounds...

#!/bin/bash
insmod paride
insmod epat
insmod pt
... OK
[[root@train /root]# mt -f /dev/pt0 rewind
pt0: HP COLORADO 8GBe, master, blocksize 512, 4007 MB
... OK
[[root@train /root]# mt -f /dev/pt0 status
pt0: HP COLORADO 8GBe, master, blocksize 512, 4007 MB
pt0: Unimplemented ioctl 0x801c6d02
/dev/pt0: Invalid argument
... ???

[[root@train /root]# tar czvf /dev/pt0 /etc
etc/
etc/hosts
etc/csh.cshrc
etc/exports
etc/group
etc/host.conf ... tar worked
[[root@train /root]# tar -t /dev/pt0
... hung ...<CTRL>-C
[[root@train /root]# tar -d /dev/pt0
... hung ...<CTRL>-C
... how do I verify archive on tape?
[[root@train /root]# mt -f /dev/pt0 fsf 1
pt0: HP COLORADO 8GBe, master, blocksize 512, 4007 MB
pt0: Unimplemented mt_op 1
/dev/pt0: Invalid argument
... how do I skip forward to next archive???

[[root@train /root]# mt -f /dev/pt0 erase
pt0: HP COLORADO 8GBe, master, blocksize 512, 4007 MB
pt0: Unimplemented mt_op 13
/dev/pt0: Invalid argument
... can't erase & start over???

[[root@train /root]# mkd -created non-rewinding /dev/npt# that didn't exist
... OK ... # mt -f /dev/npt0 rewind -works

[[root@train /root]# /usr/sbin/taper -T /dev/pt0
Illegal tape type

[[root@train /root]# mt -f /dev/npt0 rewind
pt0: HP COLORADO 8GBe, master, blocksize 512, 4007 MB

[[root@train /root]# dump 0bdsf 512 67733 740 /dev/npt0 /home
  DUMP: Date of this level 0 dump: Mon Aug 16 01:33:15 1999
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/hda7 (/home) to /dev/npt0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 18317 tape blocks on 0.08 tape(s).
pt0: HP COLORADO 8GBe, master, blocksize 512, 4007 MB
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: DUMP: 18360 tape blocks on 1 volumes(s)
  DUMP: Closing /dev/npt0
pt0: HP COLORADO 8GBe, master, blocksize 512, 4007 MB
  DUMP: DUMP IS DONE
[[root@train /root]# dump 0bdsf 512 67733 740 /dev/npt0 /
[[root@train /root]# dump 0bdsf 512 67733 740 /dev/npt0 /usr/local
[[root@train /root]# mt -f /dev/pt0 rewind
pt0: HP COLORADO 8GBe, master, blocksize 512, 4007 MB
... OK but how do I restore multiple dumps??? if unable to...
# mt -f /dev/npt0 fsf 1

Please excuse the verbose output, but I thought others may benefit. Thanks...

-- 
   Art Wildman - wildman@mediaone.net    "Insanity is...
repeating the same mistakes, while expecting different results." -Anon

-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Mon 16 Aug 1999 - 04:16:04 EDT