EOF message on tape drive

Hi there

I have problem on archiving some Oracle files.

Total folder is little over 25G, and when I try to archive this folder onto a tape (40G capacity), after about 2/3 of files, I get EOF message.

I have typed next command:

cd /index/Backup

tar cvf /dev/rmt/0 .

and messages about archiving in verbose mode start, and after few hours (and about 65 of 94 files) I get the message:

tar: write error: unexpected EOF

Since I saw in some previous message that I can not see what is total amount of files on tape, and what is free space on tape, how can I solve this problem and do the backup in total?

Thanks

P.S. System is Solaris 8 on 280R server.

[714 byte] By [soulmana] at [2007-11-27 8:44:59]
# 1

Either the archive is expanding the data (that's common if you're trying to back up sparse files), or the tape is not holding the capacity that you expect.

You could potentially compress the files, but that will make restoration more complex. Also what type of drive is this? It may be that the '0' device is not a compression device. Perhaps '0cbn' would be better.

So as an example:

tar cf - . | gzip -c | dd obs=64k of=/dev/rmt/0cbn

--

Darren

Darren_Dunhama at 2007-7-12 20:45:59 > top of Java-index,General,Maintenance...