sudo tar -cMf /dev/st0 /path/1* (tape 1) sudo tar -rMf /dev/st0 /path/A* (tape 1) sudo tar -rMf /dev/st0 /path/B* (tape 1, 2) sudo tar -rMf /dev/st0 /path/C* (tape 2, 3, 4, 5, 6) sudo tar -rMf /dev/st0 /path/D* (tape 6) sudo tar -rMf /dev/st0 /path/F* (tape 6, 7) sudo tar -rMf /dev/st0 /path/G* (tape 7, 8)
Then our problem appeared when the tar came to the 14GB file I already specified. As I said, I tried to repeat the last command with tape 7 inserted, then again changed to tape 8 but it was the same. So I continued with: sudo tar -rMf /dev/st0 /path/H* (tape 7, 8) which run fine. Than again sudo tar -rMf /dev/st0 /path/G* (tape 8, 9) but same problem. Than I tried sudo tar -cMf /dev/st0 /path/G* (tape 1) on clear tape, it asked for second one but I did not continue since it was probably running fine. So, is there a way how to get this file to this archive, or I can only backup everything but this one and place it into next archive, probably when I'll start backupping another folder? > ------------ Původní zpráva ------------ > Od: Paul Eggert <[email protected]> > Předmět: Re: [Bug-tar] Possible tar bug > Datum: 30.12.2010 07:04:25 > ---------------------------------------- > On 12/29/2010 04:33 AM, [email protected] wrote: > > I made a mistake, there should be sudo -r instead of -c of course :-) tar > > -rMf > /dev/st0 some_path/G* > > > > By last good record I mean files starting with F. If I am not mistaken, > > when I > want to append, it appends to end of last record which was this one. The tar > then reads the tape from beginning and starts writing after end of the > previous > record (so I don't set the to the end of it manually). IIRC than it asked for > one tape for writing other G- files and ended with error when it came uppon > the > 14GB one. > > Sorry, I'm having trouble following the scenario. > Are there three tapes involved, or only two? > How exactly are the tapes created? Please list > all the commands that you enter, starting with > creating the first tape (so this should use the > -c option). And please say when you manually > change the tapes. > > >
