Re: please check your config and use a config file for chg-scsi

2005-12-02 Thread Richard Pyne
On 1 Dec 2005 at 8:16, Richard Pyne wrote:

 On 1 Dec 2005 at 13:25, Alexander Jolk wrote:
 
  Richard Pyne wrote:
   I am STILL trying to get amanda set up to run with an adic
   Scalar 458 changer with three DLT4000 drives.
  [...]
   I decided to try to label a tape. After that failed
   miserably, I decided to take a step back and just try to get
   chg-scsi to work.
  
  Is there a reason you cannot use chg-zd-mtx?  If your changer
  works with mtx, that might be simpler to set up.
  
  Alex
 
 No reason at all other than there is nothing in the 
 documentation that would indicate that it is a better choice. The
 docs seem to indicate that the chg-scsi is a more direct
 interface, especially for the Linux 2.6 kernel that has changer
 support.
 
 I am still baffled that my earlier request for configuration
 suggestions only got one reply and that was to say read the
 wiki which provided no more insight than the other docs. Is no
 one out there using an adic Scalar tape library? It seems odd
 that if no one is using it that chg-scsi recognizes it
 specifically.
 
 I'll give chg-zd-mtx a try.

Well, I have chg-zd-mtx working. In the process, I remembered 
why I had chosen chg-scsi originally. The main reason is that it 
detectes when a drive is requesting to be cleaned and will 
initiate a clean cycle when needed rather than by access count.

It is too bad that neither ch-zd-mtx nore chg-scsi support RAIT 
as that is the way I would like to eventially go.

My desire is to set up automated backups that back up everything 
that was changed on a daily basis and does a complete backup of 
the production file systems at least once a week. I also want to 
be able to do system file systems (/etc, /, /usr, etc.) on 
demand.

Again, any configuration suggestions will be greatly 
appreciated.

--Richard



Re: please check your config and use a config file for chg-scsi

2005-12-02 Thread Jon LaBadie
On Fri, Dec 02, 2005 at 11:13:01AM -0700, Richard Pyne wrote:
 On 1 Dec 2005 at 8:16, Richard Pyne wrote:
 
  I'll give chg-zd-mtx a try.
 
 Well, I have chg-zd-mtx working. In the process, I remembered 
 why I had chosen chg-scsi originally. The main reason is that it 
 detectes when a drive is requesting to be cleaned and will 
 initiate a clean cycle when needed rather than by access count.

I've not looked at the code, but if chg-scsi detects it via the
status request it might show up in the mtx status output.  If so,
then it would be 'easy' :) to add that capability to chg-zd-mtx.

 
 It is too bad that neither ch-zd-mtx nore chg-scsi support RAIT 
 as that is the way I would like to eventially go.
 

Amanda does support a form of it own RAIT.  But I don't think it
is well tested as few people report trying or using it.

 My desire is to set up automated backups that back up everything 
 that was changed on a daily basis and does a complete backup of 
 the production file systems at least once a week. I also want to 
 be able to do system file systems (/etc, /, /usr, etc.) on 
 demand.
 
 Again, any configuration suggestions will be greatly 

dumpcycle 7
tapecycle something greater than 14
runspercycle 5 or 6 or 7

Amdump can be run anytime by hand specifying the hosts and DLEs.
You can also force, with amadmin, a level 0 of any DLEs for the
next amdump run.

A separate config could be setup sharing many of the control files
(disklist, indexes, curinfo, tapelist, changer.conf, ...) but with
record set to no and a dumpcycle of 0 (always level 0).  Then you
could run amdump for that config and leave the standard one alone.
Be careful they don't try to run at the same time.


-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: please check your config and use a config file for chg-scsi

2005-12-01 Thread Alexander Jolk

Richard Pyne wrote:
I am STILL trying to get amanda set up to run with an adic 
Scalar 458 changer with three DLT4000 drives.

[...]
I decided to try to label a tape. After that failed miserably, I 
decided to take a step back and just try to get chg-scsi to 
work.


Is there a reason you cannot use chg-zd-mtx?  If your changer works with 
mtx, that might be simpler to set up.


Alex


--
Alexander Jolk  * BUF Compagnie * [EMAIL PROTECTED]
Tel +33-1 42 68 18 28  *  Fax +33-1 42 68 18 29


Re: please check your config and use a config file for chg-scsi

2005-12-01 Thread Richard Pyne
On 1 Dec 2005 at 13:25, Alexander Jolk wrote:

 Richard Pyne wrote:
  I am STILL trying to get amanda set up to run with an adic 
  Scalar 458 changer with three DLT4000 drives.
 [...]
  I decided to try to label a tape. After that failed miserably, I 
  decided to take a step back and just try to get chg-scsi to 
  work.
 
 Is there a reason you cannot use chg-zd-mtx?  If your changer works with 
 mtx, that might be simpler to set up.
 
 Alex

No reason at all other than there is nothing in the 
documentation that would indicate that it is a better choice. 
The docs seem to indicate that the chg-scsi is a more direct 
interface, especially for the Linux 2.6 kernel that has changer 
support.

I am still baffled that my earlier request for configuration 
suggestions only got one reply and that was to say read the 
wiki which provided no more insight than the other docs. Is no 
one out there using an adic Scalar tape library? It seems odd 
that if no one is using it that chg-scsi recognizes it 
specifically.

I'll give chg-zd-mtx a try.

--Richard


please check your config and use a config file for chg-scsi

2005-11-30 Thread Richard Pyne
I am STILL trying to get amanda set up to run with an adic 
Scalar 458 changer with three DLT4000 drives.

After spending far too many hours reading and re-reading the 
docs and sample config files. I took a shot at building a 
configuration.

I decided to try to label a tape. After that failed miserably, I 
decided to take a step back and just try to get chg-scsi to 
work. I started with the chg-scsi-linux.conf then I tried using 
the -genconf option. The best I can get out of either of them is 
please check your config and use a config file for chg-scsi.


The contents of changer.conf file (without comments) are:

number_configs 1
emubarcode 0
havebarcode1
debuglevel   9:0
eject  1
sleep150
changerdev  /dev/sg6
config 0
cleancart 46
cleanmax  20
drivenum   0
dev   /dev/nrst0
scsitapedev /dev/sg7
startuse   0
enduse35
statfile /etc/amanda/tape0-slot
cleanfile /etc/amanda/tape0-clean
usagecount /etc/amanda/tape0-totaltime
tapestatus /etc/amanda/tape0-tapestatus
labelfile /etc/amanda/labelfile



--Richard