Naeem Shah wrote:

>Randy,
>
>Thank you very much for being with me in my tape drive problem.
>
>Currently I am running a backup of file system which is almost 30gb with tar
>command. The command syntax I have used to start the backup is:
>
># tar -cvMf /dev/tape .
>where 'M' is to support multiple archives. I am wondering now that almost 15
>gb (while the total capacity of the cartridge is 8gb in comressed mode, 4gb
>in normal) data is backuped up and it neither stopped nor asked for another
>tape cartridge. I dont why is this behaviour going on. Perhaps, it is
>finishing the tape and assuming the same tape as the next available
>cartridge and that's why it is not stopping.
>
>Do u think this is a normal behaviour. To me, it does not seem logical.
>
>Please comment.
>
>Naeem
>----- Original Message -----
>From: "Naeem Shah" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, September 18, 1994 6:00 PM
>Subject: Re: how to install a tape drive on a system with a pre-installed
>redhat 7.1
>
>
>  
>
>>Yes, Randy, -L options also worked after some difficulties in uderstanding
>>its concept.
>>
>>But still I have some confusions:
>>
>>1. My tape drive is DDS-3 and support upto 24 GB in comressed mode(normal
>>    
>>
>is
>  
>
>>12gb). But I am using a DDS-2 tape cartridge which support upto 8 GB in
>>compress and 4 GB in normal mode. Now, if I use -L option what the size I
>>should give with -L. I tried values for -L assuming tape length as 2 and 4
>>gb and both worked. But I dont know whether I will be able to get full 8gb
>>data capacity of my cartridge. (i can test it anyway, but your advise is
>>still valueable for me).
>>
>>2. There is one more option I can see (with "man tar"). and this is -M
>>    
>>
>(for
>  
>
>>mutiple archive). I am trying it right now and hopefully it will work in
>>    
>>
>my
>  
>
>>case. I feel this option will give me a change to utilize the whole
>>    
>>
>capacity
>  
>
>>without mentioning the length of it.
>>
>>Your comments on the above are highly appreciated.
>>
>>Naeem
>>----- Original Message -----
>>From: "Randy Kelsoe" <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Wednesday, September 18, 2002 6:42 AM
>>Subject: Re: how to install a tape drive on a system with a pre-installed
>>redhat 7.1
>>
>>
>>    
>>
>>>Naeem Shah wrote:
>>>
>>>      
>>>
>>>>Hello Randy,
>>>>
>>>>I finished a test backup which needed more than one tape but
>>>>        
>>>>
>>unfortunately
>>    
>>
>>>>tar exited with an error and did not ask for a second tape to insert in
>>>>order to continue the backup till its completion.
>>>>
>>>>The error message is similare to:
>>>>
>>>>tar: /dev/tape: wrote only 0 of 1024 bytes
>>>>tar: Error is not recoverable: exiting now
>>>>
>>>>And the tar is back to the prompt.
>>>>
>>>>Have any idea about this new situation. (my doubts cam
>>>>true,,,unfortunately).
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>You might try the  -L option with tar  ('man tar' to see what it does).
>>>
>>>Try a 'mt stat' and that should show you if you had errors on the last
>>>      
>>>
>>tar.
>>    
>>
>>>I will try to use tar on my machine, and see if it asks me for a second
>>>tape. I'll let you know what happens.
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>Seawolf-list mailing list
>>>[EMAIL PROTECTED]
>>>https://listman.redhat.com/mailman/listinfo/seawolf-list
>>>
>>>      
>>>
>>
>>_______________________________________________
>>Seawolf-list mailing list
>>[EMAIL PROTECTED]
>>https://listman.redhat.com/mailman/listinfo/seawolf-list
>>
>>    
>>
>
>
>
>_______________________________________________
>Seawolf-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/seawolf-list
>
>  
>
I always use the format for example 'tar -czvf /usr/local/src/RedHat/* 
 /dev/st0'  in Linux  but never on something your size.

I wonder if you "tar compress" your stuff first to a file somwhere, then 
send it to tape. That's what I do.
'tar -czvf /usr/local/src/RedHat/*  /home2/backup_RH.tgz'  then do 'tar 
-czvf /home2/backup_RH.tgz /dev/st0'

I am guessing you still use the 'z' in the second command. I know 
getting a compressed tar file off tape you need it so its most
likely the same sending a compressed file to tape.

On UNIX, I used to use 'find  /usr/local/src/RedHat/*  -print | cpio 
-ovcO /dev/st0'  (/dev/tape)  I do remember getting prompt for second tape.
Don't get your tapes mixed up between DDS-2 and DDS-3 drives. In other 
words, you can't copy from DDS-2 drive and be able
to use that tape on the  DDS-3.

If cpio works, to get the stuff back on hard drive sitting in the 
correct directory, use 'cpio -iuvdcmI /dev/st0 (/dev/tape)

I am pretty sure I have heard complaints of trying to work with anything 
bigger then 2G. I thought I saw the complaint in the 7.3 list.

I hope you succeed,
Roy



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to