RE: Tape changer is not sending mail notification
2006-03-26 04:56:10
I have found following:
-bash-2.05b$ tail -f /var/lib/amanda/Weekly/amdump.1
changer_query: changer return was 99 1
changer_query: searchable = 0
changer_find: looking for archive9 changer is searchable = 0
changer: opening pipe to: /usr/lib/amanda/chg-manual -slot current
changer: got exit: 0 str: 47 tape:/dev/nst0
taper: slot 47: date 20060323 label archive8 (active tape)
changer: opening pipe to: /usr/lib/amanda/chg-manual -slot next
driver: state time 172669.124 free kps: 2000 space: 26870082 taper: writing
idle-dumpers: 4 qlen tapeq: 1 runq: 1 roomq: 0 wakeup: 86400 driver-idle:
no-diskspace
driver: interface-state time 172669.124 if : free 600 if ETH0: free 400 if
LOCAL: free 1000
driver: hdisk-state time 172669.124 hdisk 0: free 26870082 dumpers 0
Why the line : changer_find: looking for archive9 changer is searchable = 0
It's mean that even if I plug in next tape it won't be searchable?
I have replaced tape and the left dumped data didn't start automatically to
the next tape:
-bash-2.05b$ /usr/sbin/amstatus Weekly
Using /var/lib/amanda/Weekly/amdump.1 from Thu Mar 23 18:56:34 IST 2006
alphacentauri:/Data/QualityAssuranceTests 2 0k finished
(19:03:25)
alphacentauri:/Data/SNM/AnimalStudies/ATE_data 1 51k finished
(19:02:57)
alphacentauri:/Data/SNM/AnimalStudies/Budapest 2 1k finished
(19:03:10)
alphacentauri:/Data/SNM/AnimalStudies/Cleveland 0 5043521k finished
(23:00:32)
alphacentauri:/Data/SNM/AnimalStudies/Detroit 0 35962459k writing
to tape (17:56:48)
alphacentauri:/Data/SNM/AnimalStudies/Experiments 2 16k finished
(19:02:12)
alphacentauri:/Data/SNM/AnimalStudies/OldRambam 0 16807853k dump
done (18:54:36), wait for writing to tape
alphacentauri:/Data/SNM/AnimalStudies/PathologyPictures 0 508748k finished
(19:06:58)
alphacentauri:/Data/SNM/AnimalStudies/Rambam 0 20083868k finished
(5:01:13)
alphacentauri:/Data/SNM/AnimalStudies/Reports 0 4879k finished
(19:02:41)
alphacentauri:/Data/SNM/ClinicalStudies 2 3422k finished
(19:03:44)
alphacentauri:/Data/SNM/SyncStim 0 1425761k finished
(21:20:36)
alphacentauri:/Data/Urology 0 4208888k finished
(22:33:17)
alphacentauri:/Shares 0 13715334k finished
(0:32:02)
alphacentauri:/boot 2 0k finished
(19:02:26)
alphacentauri:/etc 1 212k finished
(19:04:00)
alphacentauri:/home 0 64904785k wait for
dumping
mars:/Results 1 142k finished
(19:02:44)
mars:/boot 1 0k finished
(19:02:24)
mars:/etc 1 52k finished
(19:02:11)
mars:/home/shaia/BioControl 1 37000k finished
(19:03:36)
SUMMARY part real estimated
size size
partition : 21
estimated : 21 162348597k
flush : 0 0k
failed : 0 0k ( 0.00%)
wait for dumping: 1 64904785k ( 39.98%)
dumping to tape : 0 0k ( 0.00%)
dumping : 0 0k 0k ( 0.00%) ( 0.00%)
dumped : 20 97802207k 97443812k (100.37%) ( 60.24%)
wait for writing: 1 16807853k 16807978k (100.00%) ( 10.35%)
wait to flush : 0 0k 0k (100.00%) ( 0.00%)
writing to tape : 1 35962459k 35838227k (100.35%) ( 22.15%)
failed to tape : 0 0k 0k ( 0.00%) ( 0.00%)
taped : 18 45031895k 44797607k (100.52%) ( 27.74%)
tape 1 : 18 45031895k 44797607k ( 54.93%) archive8
4 dumpers idle : no-diskspace
taper writing, tapeq: 1
network free kps: 2000
holding space : 26870082k ( 33.74%)
dumper0 busy : 23:50:37 ( 49.81%)
dumper1 busy : 0:00:36 ( 0.02%)
taper busy : 2:14:03 ( 4.67%)
0 dumpers busy : 1+0:00:57 ( 50.17%) no-diskspace: 23:59:45 (
99.92%)
start-wait: 0:01:11 (
0.08%)
1 dumper busy : 23:51:15 ( 49.83%) no-bandwidth: 23:48:29 (
99.81%)
start-wait: 0:02:46 (
0.19%)
2 dumpers busy : 0:00:01 ( 0.00%) start-wait: 0:00:01
(100.00%)
There is still a disk to write to the tape and nothing is written to the
next tape.
Please advice.
On Sun, Mar 26, 2006 at 12:53:47AM +0200, Nathanel wrote:
> Ye, /usr/bin/Mail are correct.
> -bash-2.05b$ /usr/bin/Mail
> No mail for Amanda.
>
>
> -----Original Message-----
> From: Ian Turner [mailto:ian AT zmanda DOT com]
> Sent: Sunday, March 26, 2006 12:45 AM
> To: Nathanel
> Cc: amanda-users AT amanda DOT org
> Subject: Re: Tape changer is not sending mail notification
>
> On Saturday 25 March 2006 16:49, Nathanel wrote:
> > MAILER=/usr/bin/Mail
>
> Is this correct for your system?
>
More important than whether /usr/bin/Mail will report no mail
is whether it will send mail to the appropriate user.
>From the command line can you do:
/usr/bin/Mail <amanda_user>
and get a message to the amanda user?
BTW you say the Mail program reported:
No mail for Amanda.
Is your amanda user actually "Amanda" with a capital 'A'?
If not why is Mail reporting it capitalized?
If yes, are your various config files consistant in
specifying the amanda user with (or without) a capital?
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|
|
|