HOW CAN WE COPY AN 8MM TAPE FROM A TAPEDRIVE

ITEM: RTA000036988



QUESTION:                                                                       
How can I copy an 8mm tape from a tapedrive connected to CRE1 (hostA)           
to another 8mm tapedrive connected to CRE2 (hostB)?  CRE1 and CRE2 are          
on the same local ethernet network and are both at AIX 3.2.                     
We are trying this route because both systems have limited disk space.          
We tried:                                                                       
      dd if=/dev/rmt0 | rsh CRE2 dd of=/dev/rmt0                                
and it gave us something about not enough space for the read.  Could            
this be a problem with the block size?  Both tape drives are configured         
with the size of 0 (variable length).  This is due to problems we have          
with some tape archiving problems.                                              
                                                                                
We also tried:                                                                  
     tar -xvf /dev/rmt0 | rsh CRE2 tar -cvf /dev/rmt0                           
but it didn't do anything and didn't report any errors.  The cursor            
just came back after about 20-30 seconds.                                       
                                                                                
We tried:                                                                       
     dd if=/dev/rmt0 | tar -xvf - | rsh tar -cvf - | dd of=/dev/rmt0            
and we had the same results as the tar command above.                           
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A:  I was able to copy a tape to a remote tape device.  I created a             
tar archive to tape with a block size of 1024.                                  
   I was then able to copy the tape to a remote tape drive with the             
   command:                                                                     
                                                                                
     dd if=/dev/rmtX ibs=1024 obs=512 | rsh $HOSTNAME 'dd of=/dev/rmtXX         
     ibs=512 obs=1024'                                                          
                                                                               
   where | is the pipe symbol and ' is a single quote.  This is a single        
   command and should be typed in on one line.                                  
                                                                                
   This command requires that an input block size be specified.  You will       
   need to determine the block size of the source tape.  This can be done       
   as follows (the tape device must be set to variable (0) block size):         
                                                                                
     dd count=1 if=/dev/rmtX of=file_name ibs=2048                              
                                                                                
     ls -l file_name                                                            
                                                                                
   The block size of your tape is the size of file_name.  You should            
   set the source tape drive's block size to the size of file_name.  You        
   can then issue the command above as follows:                                 
                                                                               
     dd if=/dev/rmtX ibs=(size of file_name) obs=512 | rsh $HOSTNAME            
     'dd of=/dev/rmtXX ibs=512 obs=(desired block size of tape)'                
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q649191      CNKQK                      
                                                                                
Additional search words:                                                        
CNKQK CONNECTED COPY HOSTA HOSTB IX JAN94 OP OZIBM OZNEW RISCOSO                
RISCSYSTEM SOFTWARE SYS TAPE TAPEDRIVE 8MM                                      
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000036988 ITEM: RTA000036988
Dated: 11/1996 Category: RISCOSO
This HTML file was generated 99/06/24~12:43:14
Comments or suggestions? Contact us