Hi,
On Tue, Jul 31, 2001 at 11:13:15AM +0200, thomas graichen wrote:
[...]
> use inside of amanda ... any help would be appreciated
First which version of amanda ?. Lets assume 2.4.2p2 from cvs, if
not please get the cvs version.
Next try the following (From the 2.5.0 docs, i must update the 2.4.2 docs :-))
Solaris with sst kernel module, which is not any longer needed in solaris 2.8.
See in the contrib/sst directory
The configuration on solaris 2.8 with the sgen driver is done by creating
the file /kernel/drv/sgen.conf
This file should contain at the beginning the following
device-type-config-list="changer","sequential"
This will force the driver to attach only to the devices with type
either changer (the robot) and sequential (the tape).
Next you must tell the driver on which id it should check for devices
(in this example tape on id 5, robot on id 6),
name="sgen" class="scsi" target=5 lun=0;
name="sgen" class="scsi" target=6 lun=0;
This will create the 2 device files
/dev/scsi/sequential/c0t5d0 (scsitapedev option in chg-scsi.conf)
/dev/scsi/changer/c0t6d0 (changer option in chg-scsi.conf)
So the complete sgen.conf looks like:
device-type-config-list="changer","sequential
name="sgen" class="scsi" target=5 lun=0;
name="sgen" class="scsi" target=6 lun=0;
Now you must create the chg-scsi.conf file, take a look in the examples
directory for an starting point. To enable chg-scsi you need the
following in amanda.conf
tpchanger "chg-scsi" # the tape-changer glue script
tapedev "0"
changerfile "path_to_your_config/chg-scsi.conf"
Now change to your config directory (where amanda.conf is in) and
try to call there chg-scsi
path_to_chg-scsi/chg-scsi -info
If you get an result you can try
path_to_chg-scsi/chg-scsi -reset
and see if the first tape is loaded.
Try this an report back success/failures :-)
Thomas
--
-----------------------------------------------
| Thomas Hepper [EMAIL PROTECTED] |
| ( If the above address fail try ) |
| ( [EMAIL PROTECTED]) |
-----------------------------------------------