The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Check backup file size on backup tape ayhanne UNIX for Dummies Questions & Answers 0 10-25-2007 08:41 AM
[Help help] backup script for tape on solaris bucci Shell Programming and Scripting 0 03-14-2007 02:03 AM
Solaris 7 newbie tape backup question jolok SUN Solaris 5 01-13-2007 09:50 AM
linux backup to solaris tape drive bubba112557 Linux 0 02-08-2006 07:23 PM
Tape Backup Problem? cstovall UNIX for Dummies Questions & Answers 1 05-20-2003 05:48 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-29-2006
Registered User
 

Join Date: Mar 2006
Posts: 36
Problem With Tape Backup in Solaris

Hi,

OS: Solaris9, SPARC.

Commands (and their outputs) that I use to backup two files of size 4GB and 10GB (respectively) are shown below:

# cd /backup/daily/
# mt -f /dev/rmt/0m rew
# tar -cvf /dev/rmt/0m *
a Mails.bkf 4680454 tape blocks
a backup.bkf too large to archive
#


The Tape is: HP DDS-4 data cartridge C5718A (40GB)

Why is this happening? If this is because the tape is full, then how do I start from the beginning (instead of appending data).

Regards,
M...
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-29-2006
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Quote:
# mt -f /dev/rmt/0m rew
# tar -cvf /dev/rmt/0m *
First off, you ARE starting from the begining of the tape by using the command mt -f /dev/rmt/0m rew. Check out the man page for mt. Since you probably use this command every day, you would not be appending to the tape at all (if the tar command had worked).

Second - check out this thread on compression.

Third, take a look at the E option for tar - part of it is for supporting file sizes greater than 8GB.

Last edited by RTM; 03-29-2006 at 07:22 AM.
Reply With Quote
  #3 (permalink)  
Old 03-29-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,354
But see Error tar'ing files to tape. A tar archive, created with Sun's tar program is limited to 8,589,934,591 bytes. More tapes won't help. Try another program.
Reply With Quote
  #4 (permalink)  
Old 03-30-2006
Registered User
 

Join Date: Mar 2006
Posts: 36
The problem should be the size. What other inbuilt tools are there for tape backup, Perderabo?

And from RTM's suggestion: 'E' option seems to solve it...

Command now gets modified to tar -cvfE /dev/rmt/0m *

# tar -cvfE /dev/rmt/0m *
a Mails.bkf 4680454 tape blocks
a backup.bkf 18116128 tape blocks
#


Thanks both-of-u.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0