Amanda-Users

RE: Sun L280

2002-08-14 18:47:08
Subject: RE: Sun L280
From: ed.smith AT alliente DOT com
To: amanda-users AT amanda DOT org
Date: Wed, 14 Aug 2002 17:38:32 -0500
Hello,

I was able to see the changer and the drive, but mt says my drive is 
either offline or no tape loaded (and is correct, no tape loaded).

/dev/rmt/0n: no tape loaded or drive offline

However, I was not able to get the sgen.conf to work correctly.  I 
couldn't get the config_sgen_solaris script to work without a CVROOT 
set.  Any ideas what I can do from here?    Thanks...

Ed


FOR THE TAPE:
------------
IIRC, the drive in that box is a DLT-7000, right?  For that drive, with
Solaris 8, you won't need to touch st.conf.  After the 'boot -r' you
should have /dev/rmt/0* (if you've never had a tape drive on this box
before), and you should be able to 'mt -f /dev/rmt/0n status'.  The
devices will be:

    0l*:        20G (DLT4000, compression off)
    0m*:        40G (DLT4000, compression on)
    0h*:        35G (DLT7000, compression off)
    0*:         70G (DLT7000, compression on)
    0c*:        70G (DLT7000, compression on)
    0u*:        70G (DLT7000, compression on)

You can download a nice Solaris st.conf PDF from Quantum, but you don't
need it.

FOR THE CHANGER:
---------------
These days, for Solaris 8, I'm recommending sgen(7D) and mtx.  Even if
you don't end up using chg-zd-mtx, mtx itself is nice to have, and the
mtx source includes a nice little contrib/config_sgen_solaris script.

You end up with an sgen.conf something like:

device-type-config-list="changer";
name="sgen" class="scsi" target=0 lun=0;
name="sgen" class="scsi" target=1 lun=0;
name="sgen" class="scsi" target=2 lun=0;
name="sgen" class="scsi" target=3 lun=0;
name="sgen" class="scsi" target=4 lun=0;
name="sgen" class="scsi" target=5 lun=0;
name="sgen" class="scsi" target=6 lun=0;
name="sgen" class="scsi" target=7 lun=0;
name="sgen" class="scsi" target=8 lun=0;
name="sgen" class="scsi" target=9 lun=0;
name="sgen" class="scsi" target=10 lun=0;
name="sgen" class="scsi" target=11 lun=0;
name="sgen" class="scsi" target=12 lun=0;
name="sgen" class="scsi" target=13 lun=0;
name="sgen" class="scsi" target=14 lun=0;
name="sgen" class="scsi" target=15 lun=0;

(You don't *need* every possible target, of course).

This ends up making /dev/scsi/changer/cXtYd0.

-- 
Jay Lessert                               jay_lessert AT accelerant DOT net
Accelerant Networks Inc.                       (voice)1.503.439.3461
Beaverton OR, USA                                (fax)1.503.466.9472


<Prev in Thread] Current Thread [Next in Thread>