> What amanda proceses are running ? Just ufsdumps ?
Well, here's an excerpt from top as I run my latest test:
| load averages: 0.03, 0.07, 0.19 14:48:19
| 56 processes: 54 sleeping, 1 stopped, 1 on cpu
| CPU states: 99.2% idle, 0.6% user, 0.2% kernel, 0.0% iowait, 0.0% swap
| Memory: 128M real, 25M free, 54M swap in use, 286M swap free
|
| PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
| 7041 root 1 58 0 2016K 272K sleep 0:00 0.00% sendbackup
| 7044 root 1 48 0 4392K 496K sleep 0:00 0.00% ufsdump
| 7047 root 1 58 0 4400K 472K sleep 0:00 0.00% ufsdump
| 7048 root 1 59 0 4400K 2712K sleep 0:00 0.00% ufsdump
| 7049 root 1 59 0 4400K 2392K sleep 0:00 0.00% ufsdump
| 7050 root 1 59 0 4400K 2320K sleep 0:00 0.00% ufsdump
| 7051 root 1 58 0 4392K 968K sleep 0:00 0.00% ufsdump
| 7042 root 1 58 0 2016K 160K sleep 0:00 0.00% sendbackup
| 7043 root 1 48 0 1032K 120K sleep 0:00 0.00% sh
| 7045 root 1 58 0 992K 136K sleep 0:00 0.00% sed
| 7046 root 1 58 0 1352K 368K sleep 0:00 0.00% ufsrestore
And the process tree from /usr/proc/bin/ptree:
| 7041 /usr/libexec/sendbackup
| 7044 dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
| 7047 dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
| 7050 dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
| 7048 dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
| 7049 dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
| 7051 dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
| 7042 /usr/libexec/sendbackup
| 7043 sh -c /usr/sbin/ufsrestore -tvf - 2>&1 | sed -e ' s/^leaf[
| 7045 sed -e s/^leaf[ ]*[0-9]*[ ]*\.// t /^dir[ ]/ { s/^dir[
| 7046 /usr/sbin/ufsrestore -tvf -
> Did truss only show the waiting for input /sleeping or was more happening?
About once every few minutes is would spit out some output, but most of the
time it would just sit there poling.
For instance, from my current test, here's some output from truss. Each
I let each output go for a few minutes. I waited to see if I could capture
output from one of the processes, but I got too impatient.
--[ Process 7041: /usr/libexec/sendbackup ]-----------------------------------
Base time stamp: 1001616901.2642 [ Thu Sep 27 14:55:01 EDT 2001 ]
7041: psargs: /usr/libexec/sendbackup
7041: read(11, 0x000393A0, 1024) (sleeping...)
<Nothing else gets reported over the span of a few minutes>
------------------------------------------------------------------------------
---[ Process 7044: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0 ]--------------------
7044: *** SGID: rgid/egid/sgid = 1 / 7 / 7 ***
Base time stamp: 1001617335.7224 [ Thu Sep 27 15:02:15 EDT 2001 ]
7044: psargs: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
7044: waitid(2, 154, 0xFFBEE0E0, 03) (sleeping...)
<Again, nothing else>
------------------------------------------------------------------------------
---[ Process 7047: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0 ]--------------------
7047: *** SGID: rgid/egid/sgid = 1 / 7 / 7 ***
Base time stamp: 1001617486.2023 [ Thu Sep 27 15:04:46 EDT 2001 ]
7047: psargs: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
7047: read(15, 0xFFBEEC14, 4) (sleeping...)
<Nothing...>
------------------------------------------------------------------------------
---[ Process 7050: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0 ]--------------------
7050: *** SGID: rgid/egid/sgid = 1 / 7 / 7 ***
Base time stamp: 1001617536.5656 [ Thu Sep 27 15:05:36 EDT 2001 ]
7050: psargs: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
7050: sigsuspend(0xFFBEDFF8) (sleeping...)
<Noting...>
------------------------------------------------------------------------------
---[ Process 7048: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0 ]--------------------
7048: *** SGID: rgid/egid/sgid = 1 / 7 / 7 ***
Base time stamp: 1001617770.0908 [ Thu Sep 27 15:09:30 EDT 2001 ]
7048: psargs: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
7048: 0.0311 poll(0xFFBEDF78, 0, 10) = 0
7048: 0.0345 poll(0xFFBEDF78, 0, 10) = 0
7048: 0.0451 poll(0xFFBEDF78, 0, 10) = 0
7048: 0.0545 poll(0xFFBEDF78, 0, 10) = 0
<... polls go on and on ...>
------------------------------------------------------------------------------
---[ Process 7049: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0 ]se time stamp:
1001618123.1387 [ Thu Sep 27 15:15:23 EDT 2001 ]
7049: psargs: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
7049: sigsuspend(0xFFBEDFF8) (sleeping...)
<Nothing...>
------------------------------------------------------------------------------
---[ Process 7051: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0 ]--------------------
7051: *** SGID: rgid/egid/sgid = 1 / 7 / 7 ***
Base time stamp: 1001618924.8598 [ Thu Sep 27 15:28:44 EDT 2001 ]
7051: psargs: dump 0sf 1048576 - /dev/rdsk/c0t0d0s0
7051: write(1, 0xFEFD0000, 32768) (sleeping...)
<Nothing...>
------------------------------------------------------------------------------
---[ Process 7042: /usr/libexec/sendbackup ]----------------------------------
Base time stamp: 1001618967.8986 [ Thu Sep 27 15:29:27 EDT 2001 ]
7042: psargs: /usr/libexec/sendbackup
7042: write(3, 0xFFBEF920, 1024) (sleeping...)
<Nothing...>
------------------------------------------------------------------------------
---[ Process 7043: sh -c /usr/sbin/ufsrestore -tvf - ... ]--------------------
Base time stamp: 1001619125.0266 [ Thu Sep 27 15:32:05 EDT 2001 ]
7043: psargs: sh -c /usr/sbin/ufsrestore -tvf - 2>&1 | sed -e '
s/^leaf[ ]*[0
7043: waitid(0, 7045, 0xFFBEFBD0, 0203) (sleeping...)
<Nothing...>
------------------------------------------------------------------------------
---[ Process 7045: sed -e s/^leaf[ ...] -------------------------------------
Base time stamp: 1001619160.3049 [ Thu Sep 27 15:32:40 EDT 2001 ]
7045: psargs: sed -e
s/^leaf[ ]*[0-9]*[ ]*\.//
t
/^dir[ ]/ {
s/^dir[ ]*[0
7045: read(0, 0x00026828, 512) (sleeping...)
<Nothing...>
------------------------------------------------------------------------------
---[ Process 7046: /usr/sbin/ufsrestore -tvf - ]------------------------------
Base time stamp: 1001619182.5484 [ Thu Sep 27 15:33:02 EDT 2001 ]
7046: psargs: /usr/sbin/ufsrestore -tvf -
7046: read(0, 0x0014AA10, 47104) (sleeping...)
<Nothing...>
------------------------------------------------------------------------------
> What is logged in your syslog ?
Nothing, amanda doesn't normally send anything to syslog on my system.
Here's my setup on the server:
---[ /etc/services ]----------------------------------------------------------
amanda 10080/udp # Amanda backup client
amandaidx 10082/tcp # Amanda index server
amidxtape 10083/tcp # Amanda tape server
------------------------------------------------------------------------------
---[ /etc/inetd.conf ]--------------------------------------------------------
amanda dgram udp wait root /usr/libexec/amandad amandad
amandaidx stream tcp nowait root /usr/libexec/amindexd amindexd
amidxtape stream tcp nowait root /usr/libexec/amidxtaped amidxtaped
------------------------------------------------------------------------------
The clients each have the same /etc/services entries, but only the "amanda"
entry in inetd.conf.
Michael