Re: holding disk not used?

2011-08-17 Thread Jean-Francois Malouin
Anyone on this?
Right now this is a show stopper for me :(

jf

* Jean-Francois Malouin jean-francois.malo...@bic.mni.mcgill.ca [20110815 
13:26]:
 Hi,
 
 I've have this seemingly simple problem but I can't put my finger on
 it  :)
 
 I just installed amanda-3.3.0 on a new server and amanda doesn't seem
 to use the holding disk: it port-dumps directly to tape and if I
 specify 'holdingdisk required' in the dumptype the run simply fails:
 
 define holdingdisk holddisk {
directory /holddisk/charm
use -50Gb
chunksize 0
 }
 
 define dumptype app-amgtar-span {
 global
 program APPLICATION
 application app-amgtar
 priority high
 allow-split
 holdingdisk required
 compress none
 }
 
 Permissions are ok for /holddisk/charm. 
 I've attached the amdump log file.  I can provide more debug upon
 request.
 
 amdump log has this:
 
 driver: flush size 0
 find diskspace: not enough diskspace. Left with 1277107616 K
 driver: state time 1642.093 free kps: 1024000 space: 0 taper: idle
 idle-dumpers: 12 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 0 driver-idle:
 no-diskspace
 
 The tapetype definition is:
 
 define tapetype tape-lto5 {
 comment Created by amtapetype; compression disabled
 length 1480900608 kbytes
 filemark 3413 kbytes
 speed 107063 kps
 blocksize 2048 kbytes
 part-size 100gb
 part-cache-max-size 100gb
 }
 
 and the DLE is 
 
 gaspar /raid/ipl { 
 app-amgtar-span
 record no
 }
 
 ??
 
 thanks in advance,
 jf

 amdump: start at Fri Aug 12 20:59:45 EDT 2011
 amdump: datestamp 20110812
 amdump: starttime 20110812205945
 amdump: starttime-locale-independent 2011-08-12 20:59:45 EDT
 driver: pid 5120 executable /opt/amanda-3.3.0/libexec/amanda/driver version 
 3.3.0
 planner: pid 5119 executable /opt/amanda-3.3.0/libexec/amanda/planner version 
 3.3.0
 planner: build: VERSION=Amanda-3.3.0
 planner:BUILT_DATE=Wed Aug 10 13:24:08 EDT 2011 BUILT_MACH=
 planner:BUILT_REV=4084 BUILT_BRANCH=3_3 CC=gcc
 planner: paths: bindir=/opt/amanda-3.3.0/bin
 planner:sbindir=/opt/amanda-3.3.0/sbin
 planner:libexecdir=/opt/amanda-3.3.0/libexec
 planner:amlibexecdir=/opt/amanda-3.3.0/libexec/amanda
 planner:mandir=/opt/man AMANDA_TMPDIR=/var/tmp/amanda
 planner:AMANDA_DBGDIR=/var/tmp/amanda
 planner:CONFIG_DIR=/opt/amanda-3.3.0/etc/amanda
 planner:DEV_PREFIX=/dev/ RDEV_PREFIX=/dev/ DUMP=/sbin/dump
 planner:RESTORE=/sbin/restore VDUMP=UNDEF VRESTORE=UNDEF
 planner:XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
 planner:SAMBA_CLIENT=/usr/bin/smbclient GNUTAR=/bin/tar
 planner:COMPRESS_PATH=/bin/gzip UNCOMPRESS_PATH=/bin/gzip
 planner: LPRCMD=UNDEF  MAILER=UNDEF
 planner:listed_incr_dir=/opt/amanda-3.3.0/var/amanda/gnutar-lists
 planner: defs:  DEFAULT_SERVER=edgar DEFAULT_CONFIG=charm
 planner:DEFAULT_TAPE_SERVER=edgar
 planner:DEFAULT_TAPE_DEVICE=tape:/dev/nst0 NEED_STRSTR
 planner:AMFLOCK_POSIX AMFLOCK_FLOCK AMFLOCK_LOCKF AMFLOCK_LNLOCK
 planner:SETPGRP_VOID AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
 planner:CLIENT_LOGIN=amanda CHECK_USERID HAVE_GZIP
 planner:COMPRESS_SUFFIX=.gz COMPRESS_FAST_OPT=--fast
 planner:COMPRESS_BEST_OPT=--best UNCOMPRESS_OPT=-dc
 READING CONF INFO...
 planner: timestamp 20110812205945
 planner: tape_length is set from tape length (1480900608 KB) * runtapes (3) 
 == 4442701824 KB
 planner: time 0.000: startup took 0.000 secs
 
 SENDING FLUSHES...
 ENDFLUSH
 
 SETTING UP FOR ESTIMATES...
 planner: time 0.000: setting up estimates for gaspar:/raid/ipl
 gaspar:/raid/ipl overdue 15199 days for level 0
 setup_estimate: gaspar:/raid/ipl: command 0, options: nonelast_level -1 
 next_level0 -15199 level_days 0getting estimates 0 (-3) -1 (-3) -1 (-3)
 driver: tape size 1480900608
 planner: time 0.000: setting up estimates took 0.000 secs
 
 GETTING ESTIMATES...
 reserving 0 out of 0 for degraded-mode dumps
 driver: started dumper0 pid 5122
 driver: send-cmd time 0.001 to dumper0: START 20110812205945
 driver: started dumper1 pid 5123
 driver: send-cmd time 0.001 to dumper1: START 20110812205945
 driver: started dumper2 pid 5124
 driver: send-cmd time 0.002 to dumper2: START 20110812205945
 driver: started dumper3 pid 5125
 driver: send-cmd time 0.002 to dumper3: START 20110812205945
 driver: started dumper4 pid 5126
 driver: send-cmd time 0.002 to dumper4: START 20110812205945
 driver: started dumper5 pid 5127
 driver: send-cmd time 0.002 to dumper5: START 20110812205945
 driver: started dumper6 pid 5128
 driver: send-cmd time 0.002 to dumper6: START 20110812205945
 driver: started dumper7 pid 5129
 driver: send-cmd time 0.003 to dumper7: START 20110812205945
 driver: started dumper8 pid 5130
 driver: send-cmd time 0.003 to dumper8: START 20110812205945
 driver: started dumper9 pid 5131
 driver: send-cmd time 0.003 to dumper9: START 20110812205945

Re: holding disk not used?

2011-08-17 Thread Jean-Francois Malouin
* u...@3.am u...@3.am [20110817 11:54]:
 
 It appears that you are telling amanda to use -50GB of space for your holding
 diskwhy would you want a negative number?

from the man page:

   use int
   Default: 0 Gb. Amount of space that can be used in this holding disk 
area. 
   If the value is zero, all available space on the file system is 
used. 
   If the value is negative, Amanda will use all available space minus 
that
   value.

I tested using the default value with the same result:

driver: pid 9802 ruid 111 euid 111 version 3.3.0: start at Wed Aug 17 11:36:39 
2011
driver: pid 9802 ruid 111 euid 111 version 3.3.0: rename at Wed Aug 17 11:36:39 
2011
driver: find_diskspace: want 1277107616 K 
driver: pid 9802 finish time Wed Aug 17 11:52:43 2011

and it stops there. 

thanks
jf


 
 Mine us configured as:
 
 use 17 Mb
 
  Anyone on this?
  Right now this is a show stopper for me :(
 
  jf
 
  * Jean-Francois Malouin jean-francois.malo...@bic.mni.mcgill.ca [20110815
  13:26]:
  Hi,
 
  I've have this seemingly simple problem but I can't put my finger on
  it  :)
 
  I just installed amanda-3.3.0 on a new server and amanda doesn't seem
  to use the holding disk: it port-dumps directly to tape and if I
  specify 'holdingdisk required' in the dumptype the run simply fails:
 
  define holdingdisk holddisk {
 directory /holddisk/charm
 use -50Gb
 chunksize 0
  }
 
  define dumptype app-amgtar-span {
  global
  program APPLICATION
  application app-amgtar
  priority high
  allow-split
  holdingdisk required
  compress none
  }
 
  Permissions are ok for /holddisk/charm.
  I've attached the amdump log file.  I can provide more debug upon
  request.
 
  amdump log has this:
 
  driver: flush size 0
  find diskspace: not enough diskspace. Left with 1277107616 K
  driver: state time 1642.093 free kps: 1024000 space: 0 taper: idle
  idle-dumpers: 12 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 0 driver-idle:
  no-diskspace
 
  The tapetype definition is:
 
  define tapetype tape-lto5 {
  comment Created by amtapetype; compression disabled
  length 1480900608 kbytes
  filemark 3413 kbytes
  speed 107063 kps
  blocksize 2048 kbytes
  part-size 100gb
  part-cache-max-size 100gb
  }
 
  and the DLE is
 
  gaspar /raid/ipl {
  app-amgtar-span
  record no
  }
 
  ??
 
  thanks in advance,
  jf
 
  amdump: start at Fri Aug 12 20:59:45 EDT 2011
  amdump: datestamp 20110812
  amdump: starttime 20110812205945
  amdump: starttime-locale-independent 2011-08-12 20:59:45 EDT
  driver: pid 5120 executable /opt/amanda-3.3.0/libexec/amanda/driver version
  3.3.0
  planner: pid 5119 executable /opt/amanda-3.3.0/libexec/amanda/planner 
  version
  3.3.0
  planner: build: VERSION=Amanda-3.3.0
  planner:BUILT_DATE=Wed Aug 10 13:24:08 EDT 2011 BUILT_MACH=
  planner:BUILT_REV=4084 BUILT_BRANCH=3_3 CC=gcc
  planner: paths: bindir=/opt/amanda-3.3.0/bin
  planner:sbindir=/opt/amanda-3.3.0/sbin
  planner:libexecdir=/opt/amanda-3.3.0/libexec
  planner:amlibexecdir=/opt/amanda-3.3.0/libexec/amanda
  planner:mandir=/opt/man AMANDA_TMPDIR=/var/tmp/amanda
  planner:AMANDA_DBGDIR=/var/tmp/amanda
  planner:CONFIG_DIR=/opt/amanda-3.3.0/etc/amanda
  planner:DEV_PREFIX=/dev/ RDEV_PREFIX=/dev/ DUMP=/sbin/dump
  planner:RESTORE=/sbin/restore VDUMP=UNDEF VRESTORE=UNDEF
  planner:XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
  planner:SAMBA_CLIENT=/usr/bin/smbclient GNUTAR=/bin/tar
  planner:COMPRESS_PATH=/bin/gzip UNCOMPRESS_PATH=/bin/gzip
  planner: LPRCMD=UNDEF  MAILER=UNDEF
  planner:listed_incr_dir=/opt/amanda-3.3.0/var/amanda/gnutar-lists
  planner: defs:  DEFAULT_SERVER=edgar DEFAULT_CONFIG=charm
  planner:DEFAULT_TAPE_SERVER=edgar
  planner:DEFAULT_TAPE_DEVICE=tape:/dev/nst0 NEED_STRSTR
  planner:AMFLOCK_POSIX AMFLOCK_FLOCK AMFLOCK_LOCKF AMFLOCK_LNLOCK
  planner:SETPGRP_VOID AMANDA_DEBUG_DAYS=4 BSD_SECURITY 
  USE_AMANDAHOSTS
  planner:CLIENT_LOGIN=amanda CHECK_USERID HAVE_GZIP
  planner:COMPRESS_SUFFIX=.gz COMPRESS_FAST_OPT=--fast
  planner:COMPRESS_BEST_OPT=--best UNCOMPRESS_OPT=-dc
  READING CONF INFO...
  planner: timestamp 20110812205945
  planner: tape_length is set from tape length (1480900608 KB) * runtapes 
  (3) ==
  4442701824 KB
  planner: time 0.000: startup took 0.000 secs
 
  SENDING FLUSHES...
  ENDFLUSH
 
  SETTING UP FOR ESTIMATES...
  planner: time 0.000: setting up estimates for gaspar:/raid/ipl
  gaspar:/raid/ipl overdue 15199 days for level 0
  setup_estimate: gaspar:/raid/ipl: command 0, options: nonelast_level -1
  next_level0 -15199 level_days 0getting estimates 0 (-3) -1 (-3) -1 (-3)
  driver: tape size 1480900608
  planner: time 0.000: setting up estimates took 0.000 secs
 
  GETTING ESTIMATES

Re: holding disk not used?

2011-08-17 Thread up

It appears that you are telling amanda to use -50GB of space for your holding
diskwhy would you want a negative number?

Mine us configured as:

use 17 Mb

 Anyone on this?
 Right now this is a show stopper for me :(

 jf

 * Jean-Francois Malouin jean-francois.malo...@bic.mni.mcgill.ca [20110815
 13:26]:
 Hi,

 I've have this seemingly simple problem but I can't put my finger on
 it  :)

 I just installed amanda-3.3.0 on a new server and amanda doesn't seem
 to use the holding disk: it port-dumps directly to tape and if I
 specify 'holdingdisk required' in the dumptype the run simply fails:

 define holdingdisk holddisk {
directory /holddisk/charm
use -50Gb
chunksize 0
 }

 define dumptype app-amgtar-span {
 global
 program APPLICATION
 application app-amgtar
 priority high
 allow-split
 holdingdisk required
 compress none
 }

 Permissions are ok for /holddisk/charm.
 I've attached the amdump log file.  I can provide more debug upon
 request.

 amdump log has this:

 driver: flush size 0
 find diskspace: not enough diskspace. Left with 1277107616 K
 driver: state time 1642.093 free kps: 1024000 space: 0 taper: idle
 idle-dumpers: 12 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 0 driver-idle:
 no-diskspace

 The tapetype definition is:

 define tapetype tape-lto5 {
 comment Created by amtapetype; compression disabled
 length 1480900608 kbytes
 filemark 3413 kbytes
 speed 107063 kps
 blocksize 2048 kbytes
 part-size 100gb
 part-cache-max-size 100gb
 }

 and the DLE is

 gaspar /raid/ipl {
 app-amgtar-span
 record no
 }

 ??

 thanks in advance,
 jf

 amdump: start at Fri Aug 12 20:59:45 EDT 2011
 amdump: datestamp 20110812
 amdump: starttime 20110812205945
 amdump: starttime-locale-independent 2011-08-12 20:59:45 EDT
 driver: pid 5120 executable /opt/amanda-3.3.0/libexec/amanda/driver version
 3.3.0
 planner: pid 5119 executable /opt/amanda-3.3.0/libexec/amanda/planner version
 3.3.0
 planner: build: VERSION=Amanda-3.3.0
 planner:BUILT_DATE=Wed Aug 10 13:24:08 EDT 2011 BUILT_MACH=
 planner:BUILT_REV=4084 BUILT_BRANCH=3_3 CC=gcc
 planner: paths: bindir=/opt/amanda-3.3.0/bin
 planner:sbindir=/opt/amanda-3.3.0/sbin
 planner:libexecdir=/opt/amanda-3.3.0/libexec
 planner:amlibexecdir=/opt/amanda-3.3.0/libexec/amanda
 planner:mandir=/opt/man AMANDA_TMPDIR=/var/tmp/amanda
 planner:AMANDA_DBGDIR=/var/tmp/amanda
 planner:CONFIG_DIR=/opt/amanda-3.3.0/etc/amanda
 planner:DEV_PREFIX=/dev/ RDEV_PREFIX=/dev/ DUMP=/sbin/dump
 planner:RESTORE=/sbin/restore VDUMP=UNDEF VRESTORE=UNDEF
 planner:XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
 planner:SAMBA_CLIENT=/usr/bin/smbclient GNUTAR=/bin/tar
 planner:COMPRESS_PATH=/bin/gzip UNCOMPRESS_PATH=/bin/gzip
 planner: LPRCMD=UNDEF  MAILER=UNDEF
 planner:listed_incr_dir=/opt/amanda-3.3.0/var/amanda/gnutar-lists
 planner: defs:  DEFAULT_SERVER=edgar DEFAULT_CONFIG=charm
 planner:DEFAULT_TAPE_SERVER=edgar
 planner:DEFAULT_TAPE_DEVICE=tape:/dev/nst0 NEED_STRSTR
 planner:AMFLOCK_POSIX AMFLOCK_FLOCK AMFLOCK_LOCKF AMFLOCK_LNLOCK
 planner:SETPGRP_VOID AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
 planner:CLIENT_LOGIN=amanda CHECK_USERID HAVE_GZIP
 planner:COMPRESS_SUFFIX=.gz COMPRESS_FAST_OPT=--fast
 planner:COMPRESS_BEST_OPT=--best UNCOMPRESS_OPT=-dc
 READING CONF INFO...
 planner: timestamp 20110812205945
 planner: tape_length is set from tape length (1480900608 KB) * runtapes (3) 
 ==
 4442701824 KB
 planner: time 0.000: startup took 0.000 secs

 SENDING FLUSHES...
 ENDFLUSH

 SETTING UP FOR ESTIMATES...
 planner: time 0.000: setting up estimates for gaspar:/raid/ipl
 gaspar:/raid/ipl overdue 15199 days for level 0
 setup_estimate: gaspar:/raid/ipl: command 0, options: nonelast_level -1
 next_level0 -15199 level_days 0getting estimates 0 (-3) -1 (-3) -1 (-3)
 driver: tape size 1480900608
 planner: time 0.000: setting up estimates took 0.000 secs

 GETTING ESTIMATES...
 reserving 0 out of 0 for degraded-mode dumps
 driver: started dumper0 pid 5122
 driver: send-cmd time 0.001 to dumper0: START 20110812205945
 driver: started dumper1 pid 5123
 driver: send-cmd time 0.001 to dumper1: START 20110812205945
 driver: started dumper2 pid 5124
 driver: send-cmd time 0.002 to dumper2: START 20110812205945
 driver: started dumper3 pid 5125
 driver: send-cmd time 0.002 to dumper3: START 20110812205945
 driver: started dumper4 pid 5126
 driver: send-cmd time 0.002 to dumper4: START 20110812205945
 driver: started dumper5 pid 5127
 driver: send-cmd time 0.002 to dumper5: START 20110812205945
 driver: started dumper6 pid 5128
 driver: send-cmd time 0.002 to dumper6: START 20110812205945
 driver: started dumper7 pid 5129
 driver: send-cmd time 0.003 to dumper7: START 20110812205945
 driver: started dumper8 pid 5130
 

Re: holding disk not used?

2011-08-17 Thread gene heskett
On Wednesday, August 17, 2011 12:58:46 PM u...@3.am did opine:

 It appears that you are telling amanda to use -50GB of space for your
 holding diskwhy would you want a negative number?
 
That _used_ to be (could have been changed in the last 2-3 years) how one 
would specify the use of all available holdingdisk capacity until there is 
only 50Gb left, do you have that much available after the reserved is 
subtracted?

It also might be that somehow the reserved is 100%, meaning save it all for 
emergency no tape(s) available use.

 Mine us configured as:
 
 use 17 Mb
 
  Anyone on this?
  Right now this is a show stopper for me :(
  
  jf
  
  * Jean-Francois Malouin jean-francois.malo...@bic.mni.mcgill.ca
  [20110815
  
  13:26]:
  Hi,
  
  I've have this seemingly simple problem but I can't put my finger on
  it  :)
  
  I just installed amanda-3.3.0 on a new server and amanda doesn't seem
  to use the holding disk: it port-dumps directly to tape and if I
  specify 'holdingdisk required' in the dumptype the run simply fails:
  
  define holdingdisk holddisk {
  
 directory /holddisk/charm
 use -50Gb
 chunksize 0
  
  }
  
  define dumptype app-amgtar-span {
  
  global
  program APPLICATION
  application app-amgtar
  priority high
  allow-split
  holdingdisk required
  compress none
  
  }
  
  Permissions are ok for /holddisk/charm.
  I've attached the amdump log file.  I can provide more debug upon
  request.
  
  amdump log has this:
  
  driver: flush size 0
  find diskspace: not enough diskspace. Left with 1277107616 K
  driver: state time 1642.093 free kps: 1024000 space: 0 taper: idle
  idle-dumpers: 12 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 0
  driver-idle: no-diskspace
  
  The tapetype definition is:
  
  define tapetype tape-lto5 {
  
  comment Created by amtapetype; compression disabled
  length 1480900608 kbytes
  filemark 3413 kbytes
  speed 107063 kps
  blocksize 2048 kbytes
  part-size 100gb
  part-cache-max-size 100gb
  
  }
  
  and the DLE is
  
  gaspar /raid/ipl {
  
  app-amgtar-span
  record no
  
  }
  
  ??
  
  thanks in advance,
  jf
  
  amdump: start at Fri Aug 12 20:59:45 EDT 2011
  amdump: datestamp 20110812
  amdump: starttime 20110812205945
  amdump: starttime-locale-independent 2011-08-12 20:59:45 EDT
  driver: pid 5120 executable /opt/amanda-3.3.0/libexec/amanda/driver
  version 3.3.0
  planner: pid 5119 executable /opt/amanda-3.3.0/libexec/amanda/planner
  version 3.3.0
  planner: build: VERSION=Amanda-3.3.0
  planner:BUILT_DATE=Wed Aug 10 13:24:08 EDT 2011
  BUILT_MACH= planner:BUILT_REV=4084 BUILT_BRANCH=3_3
  CC=gcc planner: paths: bindir=/opt/amanda-3.3.0/bin
  planner:sbindir=/opt/amanda-3.3.0/sbin
  planner:libexecdir=/opt/amanda-3.3.0/libexec
  planner:amlibexecdir=/opt/amanda-3.3.0/libexec/amanda
  planner:mandir=/opt/man AMANDA_TMPDIR=/var/tmp/amanda
  planner:AMANDA_DBGDIR=/var/tmp/amanda
  planner:CONFIG_DIR=/opt/amanda-3.3.0/etc/amanda
  planner:DEV_PREFIX=/dev/ RDEV_PREFIX=/dev/
  DUMP=/sbin/dump planner:RESTORE=/sbin/restore
  VDUMP=UNDEF VRESTORE=UNDEF planner:XFSDUMP=UNDEF
  XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF planner:   
  SAMBA_CLIENT=/usr/bin/smbclient GNUTAR=/bin/tar planner:   
  COMPRESS_PATH=/bin/gzip UNCOMPRESS_PATH=/bin/gzip planner:  
LPRCMD=UNDEF  MAILER=UNDEF
  planner:   
  listed_incr_dir=/opt/amanda-3.3.0/var/amanda/gnutar-lists planner:
  defs:  DEFAULT_SERVER=edgar DEFAULT_CONFIG=charm planner:   
  DEFAULT_TAPE_SERVER=edgar
  planner:DEFAULT_TAPE_DEVICE=tape:/dev/nst0 NEED_STRSTR
  planner:AMFLOCK_POSIX AMFLOCK_FLOCK AMFLOCK_LOCKF
  AMFLOCK_LNLOCK planner:SETPGRP_VOID AMANDA_DEBUG_DAYS=4
  BSD_SECURITY USE_AMANDAHOSTS planner:CLIENT_LOGIN=amanda
  CHECK_USERID HAVE_GZIP planner:COMPRESS_SUFFIX=.gz
  COMPRESS_FAST_OPT=--fast planner:   
  COMPRESS_BEST_OPT=--best UNCOMPRESS_OPT=-dc READING CONF INFO...
  planner: timestamp 20110812205945
  planner: tape_length is set from tape length (1480900608 KB) *
  runtapes (3) == 4442701824 KB
  planner: time 0.000: startup took 0.000 secs
  
  SENDING FLUSHES...
  ENDFLUSH
  
  SETTING UP FOR ESTIMATES...
  planner: time 0.000: setting up estimates for gaspar:/raid/ipl
  gaspar:/raid/ipl overdue 15199 days for level 0
  setup_estimate: gaspar:/raid/ipl: command 0, options: none   
  last_level -1 next_level0 -15199 level_days 0getting estimates 0
  (-3) -1 (-3) -1 (-3) driver: tape size 1480900608
  planner: time 0.000: setting up estimates took 0.000 secs
  
  GETTING ESTIMATES...
  reserving 0 out of 0 for degraded-mode dumps
  driver: started dumper0 pid 5122
  driver: send-cmd time 0.001 to dumper0: START 20110812205945
  driver: started dumper1 pid 5123
  driver: send-cmd time 0.001 to dumper1: START 20110812205945
  driver: started 

Re: holding disk not used?

2011-08-17 Thread Michael Müskens

Am 17.08.2011 um 18:00 schrieb Jean-Francois Malouin:

 * u...@3.am u...@3.am [20110817 11:54]:
 
 It appears that you are telling amanda to use -50GB of space for your holding
 diskwhy would you want a negative number?
 
 
 driver: pid 9802 ruid 111 euid 111 version 3.3.0: start at Wed Aug 17 
 11:36:39 2011
 driver: pid 9802 ruid 111 euid 111 version 3.3.0: rename at Wed Aug 17 
 11:36:39 2011
 driver: find_diskspace: want 1277107616 K 
 driver: pid 9802 finish time Wed Aug 17 11:52:43 2011
 


hello,

what does amcheck -l say? You usually get output like this:

backup@tobak012:~$ amcheck DailySet -l
Amanda Tape Server Host Check
-
Holding disk /backup/tapes/raid001/holdingdisk_DailySet: 43416 MB disk space 
available, using 17816 MB
NOTE: skipping tape checks
Server check took 0.001 seconds

(brought to you by Amanda 3.3.0)

If something is wrong with the holdingdisk, it should appear right there.

/Michael

-- 
Michael Müskens

Rule #18: It's better to seek forgiveness than ask permission.




Re: holding disk not used?

2011-08-17 Thread Jean-Francois Malouin
* Michael Müskens m...@commie.de [20110817 14:46]:
 
 Am 17.08.2011 um 18:00 schrieb Jean-Francois Malouin:
 
  * u...@3.am u...@3.am [20110817 11:54]:
  
  It appears that you are telling amanda to use -50GB of space for your 
  holding
  diskwhy would you want a negative number?
  
  
  driver: pid 9802 ruid 111 euid 111 version 3.3.0: start at Wed Aug 17 
  11:36:39 2011
  driver: pid 9802 ruid 111 euid 111 version 3.3.0: rename at Wed Aug 17 
  11:36:39 2011
  driver: find_diskspace: want 1277107616 K 
  driver: pid 9802 finish time Wed Aug 17 11:52:43 2011
  
 
 
 hello,
 
 what does amcheck -l say? You usually get output like this:
 
 backup@tobak012:~$ amcheck DailySet -l
 Amanda Tape Server Host Check
 -
 Holding disk /backup/tapes/raid001/holdingdisk_DailySet: 43416 MB disk space 
 available, using 17816 MB
 NOTE: skipping tape checks
 Server check took 0.001 seconds
 
 (brought to you by Amanda 3.3.0)
 
 If something is wrong with the holdingdisk, it should appear right there.
 
 /Michael

Bingo! Thanks, that put me on the right path:

~# su amanda -c /opt/amanda/sbin/amcheck -l charm
Amanda Tape Server Host Check
-
NOTE: skipping tape checks
NOTE: host info dir /opt/amanda/usr/adm/amanda/charm/curinfo/gaspar does not 
exist
NOTE: it will be created on the next run.
NOTE: index dir /opt/amanda/usr/adm/amanda/charm/index/gaspar does not exist
NOTE: it will be created on the next run.
Server check took 0.001 seconds

(brought to you by Amanda 3.3.0)

I think I got it now. 

The amanda.conf used the following holding disk definition:

define holdingdisk holddisk {
   directory /holddisk/charm
   use -50Gb
   chunksize 0
}

So I changed it to:

holdingdisk holddisk {
   directory /holddisk/charm
   use -50Gb
   chunksize 0
}

and now the amcheck outputs:

~# su amanda -c /opt/amanda/sbin/amcheck -l charm
Amanda Tape Server Host Check
-
Holding disk /holddisk/charm: 4004264 MB disk space available, using 3953064 MB
NOTE: skipping tape checks
NOTE: host info dir /opt/amanda/usr/adm/amanda/charm/curinfo/gaspar does not 
exist
NOTE: it will be created on the next run.
NOTE: index dir /opt/amanda/usr/adm/amanda/charm/index/gaspar does not exist
NOTE: it will be created on the next run.
Server check took 0.001 seconds

(brought to you by Amanda 3.3.0)

amdump is now writing to the hold disk.

thanks again!
jf

 
 -- 
 Michael Müskens
 
 Rule #18: It's better to seek forgiveness than ask permission.
 

--
Lay on, MacDuff, and curs'd be him who first cries, Hold, enough!.
-- Shakespeare