Find the answer to your Linux question:
Results 1 to 2 of 2
Does anyone know if it is possible to append a volume to a tape using tar? Redhat Linux 8.0, 2.4.18-14 T20 HP Travan SCSI tape drive I have tried the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2002
    Posts
    33

    appending a volume to tape using tar


    Does anyone know if it is possible to append a volume to a tape using tar?


    Redhat Linux 8.0, 2.4.18-14
    T20 HP Travan SCSI tape drive

    I have tried the -r option...did not work. I already had a volume on it, trying to append "sendmail.tar" as a test, here was the result. I have also tried mt -f /dev/st0 eof and eod.

    [root@VanSwapper garett]# tar -rvf /dev/st0 sendmail.tar
    sendmail.tar
    tar: /dev/st0: Warning: Cannot close: Input/output error

    [root@VanSwapper garett]# tar -tf /dev/st0
    backup.tgz


    How about CPIO? I am going to look into that if tar will not work.

  2. #2
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    Have you tried -A. -r is for appending filesa nd -A is to append a .tar.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •