Autoloader SLR100: Installation sous debian 3.0, kernel 2.4

2003-04-25 Par sujet GERHARD Daniel




Hello, 
Je suis entrain d'installer un Autoloader SLR100 de Tandberg Data sur
ma Debian 3.0. J'ai donc install les paquets amanda-common,
amanda-server, amanda-client et mtx. 

Lorsque j'envoie la commande amcheck, voila ce que me rpond le systeme

  Amanda Tape Server Host Check
-
Holding disk /home2/dumps/amanda: 2601260 KB disk space available, that's plenty
amcheck-server: slot 3: date Xlabel DailySet103 (exact label match)
NOTE: skipping tape-writable test
Tape DailySet103 label ok
Server check took 7.899 seconds

Amanda Backup Client Hosts Check

WARNING: xx: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.009 seconds, 1 problem found

(brought to you by Amanda 2.4.2p2)

J'ai cr un user toto ayant les droits "backup", mes bandes sont
toutes labelises, 

J'ai cependant deux problme
le premier : ce time out (je ne suis que sur une seule
machine): 

  contenu de /etc/amandahosts: 


   localhost toto
  
  A priori je n'ai pas de problme de droit, j'ai vrifi
le contenu de "/etc/inetd.conf", dont voici les lignes concernant
amanda:
  
  
amandaidx stream tcp nowait toto /usr/sbin/tcpd
/usr/lib/amanda/amindexd
  amidxtape stream tcp nowait toto /usr/sbin/tcpd
/usr/lib/amanda/amidxtaped
  amanda dgram udp wait toto /usr/sbin/tcpd
/usr/lib/amanda/amandad

  
  Ces lignes ne sont pas rompues... Cependant, lorsque je
tappe la commande "netstat -a |grep -i amanda", rien ne s'affiche...
  
  

Le deuxime problme que je rencontre vient de la bande
"clean": je n'arrive tout simplement pas  la configurer... c'est trs
gnant...il me la considre comme une bande normale... je suppose que
cela vient peut-etre du fichier chg-zd-mtx.conf...mais je ne sais pas
d'o viens mon erreur...


Je vous remercie par avance de votre adie

Daniel GERHARD 
ESCPI - CNAM 


 firstslot=1 First storage slot (element) -- required
 lastslot=8  Last storage slot (element) -- required
 cleanslot=8 Slot with cleaner tape -- default is -1
 Set negative to indicate no cleaner available

   # Do you want to clean the drive after a certain number of accesses?
   # NOTE - This is unreliable, since 'accesses' aren't 'uses', and we
   #have no reliable way to count this.  A single amcheck could
   #generate as many accesses as slots you have, plus 1.
   # ALSO NOTE - many modern tape loaders handle this automatically.

 autoclean=1 Set to '1' or greater to enable

 autocleancount=99   Number of access before a clean.

 havereader=1    If you have a barcode reader, set to 1.

 offline_before_unload=0 Does your robot require an
 'mt offline' before mtx unload?

 driveslot=0 Drive slot number.  Defaults to the
 tape device number (e.g. /dev/nst0 is
 assumed to be robot drive 0).

 poll_drive_ready=3  Time (seconds) between tests to see if
 the tape drive has gone ready (default: 3).

 max_drive_wait=120  Maximum time (seconds) to wait for the
 tape drive to become ready (default: 120).

#
# amanda.conf - sample Amanda configuration file.  This started off life as
#   the actual config file in use at CS.UMD.EDU.
#
# If your configuration is called, say, csd, then this file normally goes
# in /etc/amanda/csd/amanda.conf.
#

org DailySet1 # your organization name for reports
mailto backup # space separated list of operators at your site
dumpuser backup   # the user to run dumps under

inparallel 4# maximum dumpers that will run in parallel (max 63)
# this maximum can be increased at compile-time,
# modifying MAX_DUMPERS in server-src/driverio.h
netusage  600 Kbps  # maximum net bandwidth for Amanda, in KB per sec

dumpcycle 1 weeks   # the number of days in the normal dump cycle
runspercycle 5  # the number of amdump runs in dumpcycle days
# (4 weeks * 5 amdump runs per week -- just weekdays)
tapecycle 7 tapes   # the number of tapes in rotation
# 4 weeks (dumpcycle) times 5 tapes per week (just
# the weekdays) plus a few to handle errors that
# need amflush and so we do not overwrite the full
# backups performed at the beginning of the previous
# cycle
### ### ###
# WARNING: don't use `inf' for tapecycle, it's broken!
### ### ###

bumpsize 20 Mb  # minimum savings (threshold) to bump level 1 - 2
bumpdays 1  # minimum days at each level
bumpmult 4  # threshold = bumpsize * bumpmult^(level-1)


Re: Autoloader SLR100: Installation sous debian 3.0, kernel 2.4

2003-04-25 Par sujet Sbastien GALLET

GERHARD Daniel wrote:

Hello, 


Salut



Je suis entrain d'installer un Autoloader SLR100 de Tandberg Data sur 
ma Debian 3.0. J'ai donc installé les paquets amanda-common, 
amanda-server, amanda-client et mtx.


Lorsque j'envoie la commande amcheck, voila ce que me répond le systeme

Amanda Tape Server Host Check
-
Holding disk /home2/dumps/amanda: 2601260 KB disk space available, that's plenty
amcheck-server: slot 3: date Xlabel DailySet103 (exact label match)
NOTE: skipping tape-writable test
Tape DailySet103 label ok
Server check took 7.899 seconds

Amanda Backup Client Hosts Check

WARNING: xx: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.009 seconds, 1 problem found

(brought to you by Amanda 2.4.2p2)

J'ai créé un user toto ayant les droits backup, mes bandes sont 
toutes labelisées, 


Je ne suis pas sur que tu puisse utiliser un autre utilisateur pour 
faire tes sauvegardes. D'après mes souvenirs, on spécifie l'utilisateur 
lors de la compilation d'amanda (a vérifier dans les sources debian)





J'ai cependant deux problème

le premier : ce time out (je ne suis que sur une seule machine):

contenu de /etc/amandahosts: 

Sur ma debian, il s'agit du fichier /var/backup/.amandahosts (attention 
il s'agit d'un fichier caché)




  / localhost toto/

A priori je n'ai pas de problème de droit, j'ai vérifié le
contenu de /etc/inetd.conf, dont voici les lignes concernant
amanda:

/amandaidx stream tcp nowait toto /usr/sbin/tcpd
/usr/lib/amanda/amindexd/
/amidxtape stream tcp nowait toto /usr/sbin/tcpd
/usr/lib/amanda/amidxtaped/
/amanda dgram udp wait toto /usr/sbin/tcpd
/usr/lib/amanda/amandad/

Ces lignes ne sont pas rompues... Cependant, lorsque je tappe
la commande netstat -a |grep -i amanda, rien ne s'affiche...


Le deuxième problème que je rencontre vient de la bande clean:
je n'arrive tout simplement pas à la configurer... c'est très
gênant...il me la considère comme une bande normale... je suppose
que cela vient peut-etre du fichier chg-zd-mtx.conf...mais je ne
sais pas d'où viens mon erreur...

Pour cette question, il vaut mieux que tu regarde dans les archives de 
la mailing-liste d'amanda. Si tu n'y trouves pas ton bonheur, 
inscrit-toi, elle est vraiment très éfficace.




Je vous remercie par avance de votre adie


De rien




Daniel GERHARD
ESCPI - CNAM