Marc Zucchelli on Wed, 18 Dec 2002 12:30:32 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] tar and tape problem


I found the cause of the problem, damaged filesystem,
I fixed it.  Just one more question.

I am automating this tape backup with a nightly cron
job.  I would like to make sure the tape is rewound
before I write to it obviously, whenever I run mt
rewind, it returns me to the shell prompt right away. 
How would I know if the tape is actually still
rewinding before I make the call to tar?  On the other
hand, sometimes, when doing it manually, I will put
the tape in, and run tar, it gives me an error
message, but I try it again a minute later and it's
fine, I'm guessing that the tape is preparing itself
in some way during this period.  How can I make my
script know if the tape is actually ready to be
written to, and rewound?

Thanks!

Marc


> Tar: Error exit delayed previous errors


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug