[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amanda-users
Subject:    strange result !
From:       dla () ordinox ! qc ! ca
Date:       1995-08-22 11:16:14
[Download RAW message or body]

I have installed the amanda server on HP-UX 9.05 and the amanda client
on Sun running Solaris2.4 . Now whenever amdump is started on the HP, I can
see my tape drive doing something and on the SUn I see that the sendsize-dump
process is started for a very SHORT time, but then thats it. Nothing is dumped
and I get the following mail from Amanda:


----------------------------------------------------------------------------

These dumps were to tape VOL0.
Tonight's dumps should go onto a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  193.0.0.78 c0t4d0s7  RESULTS MISSING


STATISTICS:
                          Total       Full      Daily
                        --------   --------   --------
Dump Time (hrs:min)        0:02       0:00       0:00   (0:00 start, 0:02 idle)
Output Size (meg)           0.0        0.0        0.0
Original Size (meg)         0.0        0.0        0.0
Avg Compressed Size (%)     --         --         --
Tape Used (%)               0.0        0.0        0.0
Filesystems Dumped            0          0          0
Avg Dump Rate (k/s)         --         --         --
Avg Tp Write Rate (k/s)     --         --         --


NOTES:
  planner: Adding new disk 193.0.0.78:c0t4d0s7.


DUMP SUMMARY:
                                     DUMPER STATS                  TAPER STATS
  HOSTNAME   DISK      L  ORIG-KB   OUT-KB  COMP%  MMM:SS   KB/s  MMM:SS   KB/s
  ----------------------  --------------------------------------  -------------
  193.0.0.78 c0t4d0s7     MISSING ---------------------------------------------

(brought to you by Amanda version 2.2.6)


--------------------------------- END of MAIL-------------------------------


The following log file is created :


---------------------- BEGIN LOGFILE ---------------------------------------

START driver date 19950822
START planner date 19950822
INFO planner Adding new disk 193.0.0.78:c0t4d0s7.
START taper datestamp 19950822 label VOL0
FINISH planner date 19950822
STATS driver startup time 7.227
FINISH driver date 19950822 time 143.589

----------------------- END LOGFILE ---------------------------------------





-----------------------BEGIN AMDUMP.1 FILE ---------------------------------

planner: pid 8038 version 2.2.6
planner: paths: DEV_PREFIX="/dev/dsk/" RDEV_PREFIX="/dev/rdsk/"
planner:        DUMP="/etc/dump" COMPRESS="/usr/bin/compress"
planner:        MAILER="/usr/bin/mailx" CONFIG_DIR="/usr/local/etc/amanda"
planner:        LIBEXEC_DIR="/usr/local/lib/amanda"
planner:        BIN_DIR="/usr/local/bin" MAN_DIR="/usr/local/man/man8"
planner: defs:  NEED_FLOCK NEED_REGEX HAVE_SYSVSHM HAVE_MMAP
planner:        REGEX_FLAVOR="REGEX_FLAVOR" STATFS_VFS SYSV_SETPGRP
planner:        ASSERTIONS BSD_SECURITY CLIENT_LOGIN="bin" FORCE_USERID
planner:        USE_VERSION_SUFFIXES HAVE_GZIP
planner:        COMPRESS_PATH="/usr/local/bin/gzip" COMPRESS_SUFFIX=".gz"
planner:        COMPRESS_FAST_OPT="--fast" COMPRESS_BEST_OPT="--best"
planner:        UNCOMPRESS_CMD="zcat"
READING CONF FILES...
driver: pid 8037 version 2.2.6
driver: send-cmd time 0.091 to taper: START-TAPE 19950822
driver: started dumper0 pid 8040
driver: started dumper1 pid 8041
driver: started dumper2 pid 8042
driver: started dumper3 pid 8043
driver: started dumper4 pid 8044
driver: started dumper5 pid 8045
driver: started dumper6 pid 8046
driver: started dumper7 pid 8047
taper: pid 8039 version 2.2.6
startup took 0.388 secs

SETTING UP FOR ESTIMATES...
setup_estimates: 193.0.0.78:c0t4d0s7: command 0, options:
    last_level -1 next_level0 0 level_days 0
    getting estimates 0 (-1) -1 (-1) -1 (-1)
setting up estimates took 0.002 secs

GETTING ESTIMATES...
dumper: pid 8041 version 2.2.6, udumper: pid 8043 version 2.2.6, using port 875
sing port 873
dumper: pid 8040 version 2.2.6, using port 872
dumper: pid 8042 version 2.2.6, using port 874
taper: read label `VOL0' date `X'
dumper: pid dumper: pid 8046 version 2.2.6, using port 878
dumper: pid 8045 version 2.2.6, using port 877
8044 version 2.2.6, using port 876
dumper: pid 8047 version 2.2.6, using port 879
taper: wrote label `VOL0' date `19950822'
got result for host 193.0.0.78 disk c0t4d0s7: 0 -> 482283K, -1 -> -1K, -1 -> -1K
getting estimates took 6.811 secs
FAILED QUEUE: empty
DONE QUEUE:
  0: 193.0.0.78 c0t4d0s7

ANALYZING ESTIMATES...
pondering 193.0.0.78:c0t4d0s7... next_level0 0 last_level -1 (due for level 0) (new \
disk, can't switch to degraded mode)  curr level 0 size 482283 total size 482383 \
total_lev0 482283.00 balanced-lev0size 48228.00 INITIAL SCHEDULE (size 482383):
  193.0.0.78 c0t4d0s7 pri 1 lev 0 size 482283

DELAYING DUMPS IF NEEDED, total_size 482383, tape length 2048000 mark 100

PROMOTING DUMPS IF NEEDED, total_lev0 482283.00, balanced_size 48228.00...
analysis took 0.003 secs

GENERATING SCHEDULE:
--------
193.0.0.78 c0t4d0s7 1 0 482283 16076
--------
driver: adding holding disk 0 dir /usr/disk2/amanda_hd size 153600
driver: start time 7.228 inparallel 8 bandwidth 400 diskspace 153600 dir OBSOLETE \
                datestamp 19950822 driver: drain-ends tapeq LFFO big-dumpers 5
driver: result time 7.228 from taper: TAPE-OK
driver: dumping 193.0.0.78:c0t4d0s7 directly to tape
driver: send-cmd time 7.228 to taper: PORT-WRITE 00-00001 193.0.0.78 c0t4d0s7 0
driver: result time 7.231 from taper: PORT 1166
driver: send-cmd time 7.232 to dumper0: PORT-DUMP 01-00002 1166 193.0.0.78 c0t4d0s7 0 \
                DUMP |;bsd-auth;
driver: state time 7.235 free kps: 370 space: 153600 taper: writing idle dumpers: 7 \
                qlen tapeq: 0 runq: 0 stoppedq: 0
driver: hdisk-state time 7.235 hdisk 0: free 153600 dumpers 0
driver: result time 12.701 from dumper0: FAILED 01-00002 [taper port open: Address \
                family not supported by protocol family]
driver: result time 127.230 from taper: TAPE-ERROR 00-00001 [port connect timeout]
driver: QUITTING time 127.230 telling children to quit
driver: send-cmd time 127.230 to taper: QUIT
driver: send-cmd time 127.231 to dumper0: QUIT
taper: DONE [idle wait: 2.282 secs]
driver: send-cmd time 127.239 to dumper1: QUIT
taper: writing end marker.
driver: send-cmd time 127.243 to dumper2: QUIT
driver: send-cmd time 127.247 to dumper3: QUIT
driver: send-cmd time 127.251 to dumper4: QUIT
driver: send-cmd time 127.255 to dumper5: QUIT
driver: send-cmd time 127.259 to dumper6: QUIT
driver: send-cmd time 127.260 to dumper7: QUIT
driver: FINISHED time 143.589


------------------------- END AMDUMP.1 FILE ---------------------------------




Does anyone have an idea what is happening. I run amcheck before the amdump
and everything seems fine. Could there be some problem with the definition of
the "tapetype". I have a 4mm 90m 2.0 GB DAT casette. What follows are my
amanda.conf, disklist and log files.amanda.conf and disklist files.




<----------------- amanda.conf File ------------------------------------->



org "ORDINOX"		# your organization name for reports
mailto "root"	# the mailing list for operators at your site
dumpuser "bin"		# the user to run dumps under

inparallel 8		# maximum dumpers that will run in parallel
netusage  400		# maximum net bandwidth for Amanda, in KB per sec

dumpcycle 10	# the number of days in the normal dump cycle
tapecycle 20 tapes	# the number of tapes in rotation

bumpsize 10 MB		# minimum savings (threshold) to bump level 1 -> 2
bumpdays     2		# minimum days at each level
bumpmult     2		# threshold = bumpsize * (level-1)**bumpmult

# we do not have a tape-changer
# tpchanger "chg-generic" # the tape-changer glue script
tapedev "/dev/rmt/0mn"	# or use the (no-rewind!) tape device directly

tapetype DAT	# what kind of tape it is (see tapetypes below)
labelstr "^VOL[0-9][0-9]*$"	# label constraint regex: all tapes must match

diskdir "/usr/disk2/amanda_hd"	# where the holding disk is
disksize 150 MB			# how much space can we use on it


# Amanda needs a few MB of diskspace for the log and debug files,
# as well as a database.  This stuff can grow large, so the conf directory
# isn't usually appropriate.  We use /usr/adm.  Create an amanda directory
# under there.  You need a separate infofile and logfile for each
# configuration, so create subdirectories for each conf and put the files
# there.  Specify the filenames below.

infofile "/usr/local/adm/amanda/csd/curinfo"	# database filename
logfile  "/usr/local/adm/amanda/csd/log"	# log filename

# tapetypes
#
# Define the type of tape you use here, and use it in "tapetype" above.
# Some typical types of tapes are included here.  The tapetype tells amanda
# how many MB will fit on the tape, how big the filemarks are, and how
# fast the tape device is.
#
# For completeness Amanda should calculate the inter-record gaps too, but it
# doesn't.  For EXABYTE and DAT tapes this is ok.  Anyone using 9 tracks for
# amanda and need IRG calculations?  Drop me a note if so.

define tapetype EXB-8500 {
    comment "Exabyte EXB-8500 drive on decent machine"
    length 4200 mbytes
    filemark 48 kbytes
    speed 474 kbytes
}

define tapetype EXB-8200 {
    comment "Exabyte EXB-8200 drive on decent machine"
    length 2200 mbytes
    filemark 2130 kbytes
    speed 240 kbytes
}

define tapetype DAT {
    comment "DAT tape drives"
    length 2000 mbytes		# these numbers are not accurate
    filemark 100 kbytes		# but you get the idea
    speed 183 kbytes
}

define tapetype MIMSY-MEGATAPE {
    comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
    length 2200 mbytes
    filemark 2130 kbytes
    speed 170 kbytes		# limited by the Emulex bus interface, ugh
}


# dumptypes
#
# These are referred to by the disklist file.  The dumptype specifies
# certain "options" for dumping including:
#	compress-fast	- (default) compress on the client using fast algorithm
#	compress-best	- compress using the best (and slowww) algorithm
#	no-compress	- don't compress the dump output
#	record		- (default) record the dump in /etc/dumpdates
#	no-record	- don't record the dump, for testing
#	no-hold		- don't go to the holding disk, good for dumping
#			  the holding disk partition itself.
#	skip-full	- Skip the disk when a level 0 is due, to allow
#			  full backups outside Amanda, eg when the machine
#			  is in single-user mode.
#	skip-incr	- Skip the disk when the level 0 is NOT due.  This
#			  is used in archive configurations, where only full
#			  dumps are done and the tapes saved.
#	no-full		- Do a level 1 every night.  This can be used, for
#			  example, for small root filesystems that only change
#			  slightly relative to a site-wide prototype.  Amanda
#			  then backs up just the changes.
#
# Also, the dumptype specifies the priority level, where "low", "medium" and
# "high" are the allowed levels.  These are only really used when Amanda has
# no tape to write to because of some error.  In that "degraded mode", as
# many incrementals as will fit on the holding disk are done, higher priority
# first, to insure the important disks are dumped first.

define dumptype comp-user {
    comment "Non-root partitions on reasonably fast machines"
    options compress-fast
    priority medium
}

define dumptype nocomp-user {
    comment "Non-root partitions on slow machines"
    options no-compress
    priority medium
}

define dumptype holding-disk {
    comment "The master-host holding disk itself"
    options no-hold
    priority medium
}

define dumptype comp-root {
    comment "Root partitions with compression"
    options compress-fast
    priority low
}

define dumptype nocomp-root {
    comment "Root partitions without compression"
    options no-compress
    priority low
}

define dumptype comp-high {
    comment "very important partitions on fast machines"
    options compress-best
    priority high
}

define dumptype nocomp-high {
    comment "very important partitions on slow machines"
    options no-compress
    priority high
}

define dumptype nocomp-test {
    comment "test dump without compression, no /etc/dumpdates recording"
    options no-compress, no-record
    priority medium
}

define dumptype comp-test {
    comment "test dump with compression, no /etc/dumpdates recording"
    options compress-fast, no-record
    priority medium
}

-----------------------------------------------------------------------------

----------------------- disklist File----------------------------------------


# The Sparc (193.0.0.78)
193.0.0.78 c0t4d0s7 nocomp-user

------------------------ END ------------------------------------------------


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic