Hello,
i tried that, but didnt work. I ran an amflush and after the first tape was
filled up the amflush finished without sending the email to change the tape. It
did not even sent the normal email that it finished the amdump. It just quietly
terminated amdump.
I am still using amanda 3.3.3 but with the patches you send my on 19.2.2013.
If i run an amstatus i still see the following:
Using /var/amanda/cf-daily-lto/logs/amflush.1
>From Thu Jul 4 14:54:12 UTC 2013
framestore.cartoon-film.de:/tank/koh/render 0 286g process
terminated while waiting to flush
framestore.cartoon-film.de:/tank/koh/user/./_rest_ 0 0g process
terminated while waiting to flush
framestore.cartoon-film.de:/tank/koh/user/./k-o 0 878g flushed
(23:03:10)
framestore.cartoon-film.de:/tank/koh/user/./p-t 0 54g flushed
(23:36:42), PARTIAL
framestore.cartoon-film.de:/tank/koh/user/./u-z 0 7g process
terminated while waiting to flush
framestore.cartoon-film.de:/usr 0 15g process
terminated while waiting to flush
mail.cartoon-film.de:/ 0 0g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/disk1/pg_data 0 0g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/disk1/sambawelt 0 33g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/disk2/smb_buero 0 45g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/disk2/smb_laura 0 15g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/disk2/smb_laura2_buero 0 1g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/disk2/smb_laura2_compo 0 11g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/disk2/smb_laura2_keyscene 0 1g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/disk2/smb_laura2_presentation 0 5g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/disk2/smb_zok2 0 5g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/extern1/smb_SaveOurNature 0 97g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/extern1/smb_kein_ohr_hasen 0 19g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/extern1/smb_laura2_merchandising 0 21g process
terminated while waiting to flush
mail.cartoon-film.de:/mnt/extern1/smb_laura_merchandise 0 21g process
terminated while waiting to flush
SUMMARY part real estimated
size size
partition : 20
estimated : 0 0g
flush : 20 1521g
failed : 0 0g ( 0.00%)
wait for dumping: 0 0g ( 0.00%)
dumping to tape : 0 0g ( 0.00%)
dumping : 0 0g 0g ( 0.00%) ( 0.00%)
dumped : 0 0g 0g ( 0.00%) ( 0.00%)
wait for writing: 0 0g 0g ( 0.00%) ( 0.00%)
wait to flush : 18 588g 588g (100.00%) ( 0.00%)
writing to tape : 0 0g 0g ( 0.00%) ( 0.00%)
failed to tape : 0 0g 0g ( 0.00%) ( 0.00%)
taped : 2 933g 933g (100.00%) ( 61.35%)
tape 1 : 2 933g 933g (109.84%) cf-daily-lto23 (20 chunks)
4 dumpers idle : no-dumpers
taper status: Idle
taper qlen: 19
network free kps: 80000
holding space : 1168g (403.56%)
taper busy : 8:41:00 ( 99.46%)
0 dumpers busy : 8:43:49 (100.00%) no-dumpers: 8:43:41 ( 99.97%)
not-idle: 0:00:08 ( 0.03%)
The last lines of amflush.1 show this:
driver: result time 31429.525 from taper: REQUEST-NEW-TAPE 00-00002
driver: send-cmd time 31429.525 to taper: START-SCAN worker0 00-00002
driver: send-cmd time 31429.525 to taper: NEW-TAPE worker0 00-00002
driver: state time 31429.527 free kps: 80000 space: 1225029868 taper: writing
idle-dumpers: 4 qlen tapeq: 18 runq: 0 roomq: 0 wakeup: 0 driver-idle:
no-dumpers
driver: interface-state time 31429.527 if default: free 80000
driver: hdisk-state time 31429.527 hdisk 0: free 1225029868 dumpers 0 hdisk 1:
free 0 dumpers 0
driver: result time 31429.527 from taper: NO-NEW-TAPE 00-00002
dump of driver schedule before start degraded mode:
--------
--------
dump of driver schedule after start degraded mode:
--------
--------
driver: state time 31429.528 free kps: 80000 space: 1225029868 taper: DOWN
idle-dumpers: 4 qlen tapeq: 18 runq: 0 roomq: 0 wakeup: 0 driver-idle:
no-dumpers
driver: interface-state time 31429.528 if default: free 80000
driver: hdisk-state time 31429.528 hdisk 0: free 1225029868 dumpers 0 hdisk 1:
free 0 dumpers 0
driver: result time 31429.528 from taper: PARTIAL 00-00002 INPUT-GOOD
TAPE-ERROR "[sec 1851.000000 bytes 58870693888 kps 31059.379795 orig-kb
1024768320]" "" "No acceptable volumes found"
driver: finished-cmd time 31429.528 taper wrote
framestore.cartoon-film.de:/tank/koh/user/./p-t
driver: taper failed framestore.cartoon-film.de /tank/koh/user/./p-t with tape
error: No acceptable volumes found
driver: taper will retry framestore.cartoon-film.de /tank/koh/user/./p-t
driver: state time 31429.528 free kps: 80000 space: 1225029868 taper: DOWN
idle-dumpers: 4 qlen tapeq: 19 runq: 0 roomq: 0 wakeup: 0 driver-idle:
no-dumpers
driver: interface-state time 31429.528 if default: free 80000
driver: hdisk-state time 31429.528 hdisk 0: free 1225029868 dumpers 0 hdisk 1:
free 0 dumpers 0
driver: QUITTING time 31429.528 telling children to quit
driver: send-cmd time 31429.528 to taper: QUIT
driver: FINISHED time 31430.762
On 03.07.2013, at 19:43, Jean-Louis Martineau wrote:
> Karsten,
>
> see: man amanda-interactivity
>
> tpchanger "chg-single:tape:/dev/nst0"
> define interactivity email {
> plugin "email"
> property "mailto" "[email protected]"
> }
> interactivity email
> runtapes 2
>
>
> Jean-Louis
>
>
> On 07/02/2013 11:04 AM, Karsten Fuhrmann wrote:
>> Hello,
>> i am trying to get this working for ages, but i seem to miss something all
>> the time.
>> So i just want to use runtapes > 1 because some of my filesystems are bigger
>> than my tapesize. I dont have a robot changer, just a lto drive, so i have
>> to change tapes by hand. I would like to get an email when i need to change
>> the tape. Can someone just post my the relevant lines of amanda.conf to do
>> that?
>>
>> Greetings,
>> Karsten Fuhrmann
>> System Administrator
>> Rothkirch Cartoon-Film GmbH
>> Hasenheide. 54
>> D-10967 Berlin
>> phone +49 30 698084-109
>> fax +49 30 698084-29
>> mobile +49 176 49118462
>> skype: parceval3000
>> AIM: [email protected] <mailto:[email protected]>
>> Jabber: [email protected] <mailto:[email protected]>
>>
>
Greetings,
Karsten Fuhrmann
System Administrator