Hi,

>   I have RedHat 5.1, and a HP scsi SureStore 6000.  I want to be able to do
> multiple backups on one tape.  Here is what I have tried to date, and if
> someonecould point out my errors
> 
> mt -f /dev/st0 rewind #Rewind the tape to beg
> bru -cvf /dev/st0 /root #Backup Root Partion
> mt -f /dev/st0 fsf 1  #This should position me at the next marker?
> bru -cvf /dev/st0 /etc        #back up /etc
> 
> I did this on multiple sub dirs, just as a test.  But when I try to
> reposition the tab, mt -f /dev/st0  fsf 2, I get an input / output error

I think mt -f /dev/st0 fsf 1 will forward to the 1st end-of-file 
marker and immediately rewind.

This is coming from my SunOS days so things might have changed, but I 
think you need to specify the no-rewind tape device /dev/nst0. ie

mt -f /dev/st0 rewind    # Check tape is rewound
bru -cvf /dev/nst0 /root # Backup root partition, without rewinding
bru -cvf /dev/nst0 /etc  # Backup etc, without rewinding
...  
...                      # Backup other dirs
...
mt -f /dev/st0 rewind    # Rewind tape after backup complete

Hope this is right/helps!

Regards,

Iain
Iain F. McLaren
Systems Software Engineer
Myrica (UK) Ltd
Dunfermline
Tel. 01383 627309
Email: [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to