We have had a tape changer running with amanda for a while but it was just being used 
as the a single drive and the data is starting to exceed the size of the tape.(DLT40 - 
80G compressed)

I'm starting to look into utilizing the functionality of the changer. I've looked at 
the docs 
and have the impression that all I have to do is specify the chg-scsi in the 
amanda.conf 
and set-up the chg-scsi.conf. Here are examples of the part of amanda.conf and 
chg-scsi.conf.

amanda.conf:
tpchanger "chg-scsi"  # the tape-changer glue script
tapedev "0"   # the no-rewind tape device to be used
changerfile "/opt/amanda/etc/amanda/homes/chg-scsi.conf"

chg-scsi.conf:
number_configs      1
eject         0       
sleep         60  
cleanmax      10
changerdev    /dev/rsst4
#
# Next comes the data for drive 0
#
config                0
drivenum      0
dev           /dev/rmt/0bn    
startuse      0       
enduse                4
statfile      /opt/amanda/etc/amanda/homes/tape0-slot  
cleancart     5       
cleanfile     /opt/amanda/etc/amanda/homes/tape0-clean 
agecount        /opt/amanda/etc/amanda/homes/totaltimef
tapestatus      /opt/amanda/etc/amanda/homes/tape0-status


I think I understand the contents of this file but I don't know what to put for the 
changerdev file. Up till now I've been using /dev/rmt/0 for backing up to a single 
tape so 
how do I find what this value should be for my changer.(/dev/rsst4 does not exist)

Also when I've got the changer working how do the tape numbers work? If a night's 
backup tape starts on homes02 and spreads 2 tapes will amanda understand it's 
spread over homes02 and homes03? If so how does this affect restores?

David Flood
Systems Administrator

Reply via email to