I am running Amanda 3.1.1 on a Sun Solaris 10 x86 server.


MY QUESTION:

As you can see below when tape D01004 was at 92% and amanda was looking for a 
file to finish writing to the remainder of the tape, amanda picked a file that 
was 37GB in size which is
much greater than the remaining size on tape which is 8% x 350GB = 28GB, yet 
there were plenty of files waiting to be written to tape that were less than 
28GB.

Why would amanda pick a 37GB file when there is only ~28GB left on the tape and 
when there were plenty of files waiting to go to tape that were less than 28GB?

And of course I get the following from amreport.

FAILURE DUMP SUMMARY:
  hertz /gauss/export/users-h lev 0  partial taper: No space left on device
  hertz /gauss/export/users-x lev 0  partial taper: No space left on device

The same thing happened when going from tape D01003 to D01004 but I was not 
able to get the amreport and amstatus output.

If you look at the  amstatus daily --waittaper output below the 37GB file that 
was sent to tape was the second largest file waiting. 


Thanks

Robert


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

My tape size is set to 350GB.


define tapetype LTO2-HWC {
    comment "LTO-2-Hardware Compression on."
    blocksize 1024 kbytes
    length 350000 mbytes         #350G compressed
    filemark 0 kbytes
    speed 27315 kps              #27 Mb/s
}


My holdingdisk is 700GB


holdingdisk hd1 {
    comment "holding disk"
    directory "/zvol/amanda/holdingdisk/daily"
    use 700GB   
    chunksize 10GB
}

my flush-threshold values.


flush-threshold-dumped        185 
flush-threshold-scheduled     185 
taperflush                    100
#taperflush                    0
autoflush                     yes 


taperalgo largestfit
dumporder "ttTTTT"        # specify the priority order of each dumper



On my last amanda run amreport showed the following:

USAGE BY TAPE:
  Label               Time         Size      %    Nb    Nc
  D01003              2:08      284918M   81.4     9     9
  D01004              2:02      321893M   92.0     6     6

DUMP SUMMARY:
                                                 DUMPER STATS                   
TAPER STATS
HOSTNAME     DISK               L  ORIG-MB   OUT-MB  COMP%   MMM:SS     KB/s   
MMM:SS     KB/s
--------------------------------- ------------------------------------------ 
-----------------
hertz        -ss/export/users-a 0    26794    26794    --        FLUSH          
11:48  38753.2
hertz        -ss/export/users-a 1    26783    26783    --        FLUSH          
12:25  36812.9
hertz        -ss/export/users-a 2    26783    26783    --        FLUSH          
12:14  37364.6
hertz        -ss/export/users-a 1       48       48    --     28:16     28.8    
              
hertz        -ss/export/users-b 0    29130    29130    --     81:55   6069.3    
              
hertz        -ss/export/users-c 0    64150    64150    --    132:42   8250.6    
20:44  52805.4
hertz        -ss/export/users-d 0    26484    26484    --     97:55   4616.0    
              
hertz        -ss/export/users-e 0     9753     9753    --     17:50   9332.4    
              
hertz        -ss/export/users-f 0    12226    12226    --      8:49  23679.5    
21:21   9773.0
hertz        -ss/export/users-g 0    26838    26838    --     41:54  10931.7    
              
hertz        -ss/export/users-h 0    37395    37395    --     36:45  17366.4    
              
hertz        -ss/export/users-i 0      404      404    --      0:51   8170.1    
              
hertz        -ss/export/users-j 0    57423    57423    --    120:13   8151.7    
22:01  44512.2
hertz        -ss/export/users-k 0    11347    11347    --     24:53   7783.3    
              
hertz        -ss/export/users-l 0    71620    71620    --    144:56   8433.8    
30:07  40586.1
hertz        -ss/export/users-m 0    60906    60906    --     50:06  20745.9    
25:50  40237.0
hertz        -ss/export/users-n 0    42344    42344    --    105:39   6839.8    
              
hertz        -ss/export/users-o 0     9718     9718    --     51:37   3213.7    
              
hertz        -ss/export/users-p 0    24055    24055    --     59:56   6849.2    
              
hertz        -ss/export/users-q 1    10807    10807    --        FLUSH          
 5:58  30912.5
hertz        -ss/export/users-q 0    10803    10803    --        FLUSH         
341:44    539.5
hertz        -ss/export/users-q 1    10803    10803    --        FLUSH          
 6:04  30391.8
hertz        -ss/export/users-q 2        3        3    --      0:29     96.8    
              
hertz        -ss/export/users-r 0    56326    56326    --     91:44  10479.8    
              
hertz        -ss/export/users-s 0    91655    91655    --    167:25   9343.8    
40:44  38402.0
hertz        -ss/export/users-t 0     9534     9534    --     13:48  11792.9    
              
hertz        -ss/export/users-u 0     2609     2609    --      3:08  14220.7    
              
hertz        -ss/export/users-v 0    19500    19500    --     49:55   6667.9    
              
hertz        -ss/export/users-w 0    48145    48145    --    100:16   8195.2    
              
hertz        -ss/export/users-x 0    70863    70863    --       PARTIAL         
16:31  73222.7
hertz        -ss/export/users-y 0    35999    35999    --     58:39  10474.4    
              
hertz        -ss/export/users-z 0    35903    35903    --     75:45   8089.3   

[97][amandaba...@hertz]:~% amstatus daily --waittaper
Using /var/amanda/daily/amdump
>From Sun Jul 4 01:34:47 EDT 2010

hertz:/gauss/export/users-a 1        47m dump done (2:25:37), waiting for 
writing to tape
hertz:/gauss/export/users-b 0     29130m dump done (8:38:32), waiting for 
writing to tape
hertz:/gauss/export/users-d 0     26484m dump done (8:20:24), waiting for 
writing to tape
hertz:/gauss/export/users-e 0      9753m dump done (2:42:03), waiting for 
writing to tape
hertz:/gauss/export/users-g 0     26838m dump done (4:52:43), waiting for 
writing to tape
hertz:/gauss/export/users-h 0     37395m writing to tape (8527m done (22.80%)) 
(11:41:04)
hertz:/gauss/export/users-i 0       404m dump done (1:58:27), waiting for 
writing to tape
hertz:/gauss/export/users-k 0     11347m dump done (3:06:56), waiting for 
writing to tape
hertz:/gauss/export/users-n 0     42344m dump done (6:42:28), waiting for 
writing to tape
hertz:/gauss/export/users-o 0      9718m dump done (3:17:14), waiting for 
writing to tape
hertz:/gauss/export/users-p 0     24054m dump done (4:56:48), waiting for 
writing to tape
hertz:/gauss/export/users-q 2         2m dump done (1:57:35), waiting for 
writing to tape
hertz:/gauss/export/users-t 0      9533m dump done (2:24:12), waiting for 
writing to tape
hertz:/gauss/export/users-u 0      2608m dump done (2:01:35), waiting for 
writing to tape
hertz:/gauss/export/users-v 0     19499m dump done (3:56:51), waiting for 
writing to tape
hertz:/gauss/export/users-w 0     48144m dump done (7:11:56), waiting for 
writing to tape
hertz:/gauss/export/users-y 0     35999m dump done (5:31:40), waiting for 
writing to tape
hertz:/gauss/export/users-z 0     35902m dump done (4:33:00), waiting for 
writing to tape

SUMMARY          part      real  estimated
                           size       size
partition       :  32
estimated       :  26               704856m
flush           :   6    112773m
failed          :   0                    0m           (  0.00%)
wait for dumping:   0                    0m           (  0.00%)
dumping to tape :   0                    0m           (  0.00%)
dumping         :   0         0m         0m (  0.00%) (  0.00%)
dumped          :  26    854377m    704856m (121.21%) (121.21%)
wait for writing:  17    331815m    290273m (114.31%) ( 47.08%)
wait to flush   :   0         0m         0m (100.00%) (  0.00%)
writing to tape :   1     37395m     34541m (108.26%) (  5.31%)
failed to tape  :   0         0m         0m (  0.00%) (  0.00%)
taped           :  14    597941m    492814m (121.33%) ( 73.13%)
6 dumpers idle  : no-dumpers
taper status: Writing hertz:/gauss/export/users-h
   



_____________________________________________________________________
Robert P. McGraw, Jr.
Manager, Computer System                    EMAIL: [email protected]
Purdue University                            ROOM: MATH-807
Department of Mathematics                   PHONE: (765) 494-6055
150 N. University Street
West Lafayette, IN 47907-2067

Reply via email to