Bacula-users

Re: [Bacula-users] Tapes not fully used

2015-08-20 05:30:24
Subject: Re: [Bacula-users] Tapes not fully used
From: "More, Ankush" <ankush.more AT capgemini DOT com>
To: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
Date: Thu, 20 Aug 2015 09:25:01 +0000

Hello Ana,

 

I will do some test or replace that tapes.

Thanks a lot.

 

Thank you,

Ankush More

 

From: Ana Emília M. Arruda [mailto:emiliaarruda AT gmail DOT com]
Sent: Wednesday, August 19, 2015 8:36 AM
To: More, Ankush
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Tapes not fully used

 

Hello Ankush,

 

This is occuring with just a few tapes. Most of them seems to me they are fine. The number of bytes written to tape is variable since it will depend on specific characteristics of your backup data (number of files, file sizes, compression, etc.).

 

In the cases that a few number of bytes is written (MediaId 124 and 125, for example), it is possible that you have problems with your media. Is it possible for you to run some tests with btape and these specific medias?

 

If this is a recent situation/problem, than it would be fine to check the cleanning tape/process too.

 

Best regards,

Ana

 

On Tue, Aug 18, 2015 at 3:13 AM, More, Ankush <ankush.more AT capgemini DOT com> wrote:

Hi Ana,

 

Please find attached log, in same pool some tapes are underutilized and some over.

“Maximum Volume Bytes” not specified for pool using tapes.  

 

[root@bacula bacula]# lsscsi -g

[0:0:0:0]    cd/dvd  HL-DT-ST RW/DVD GCC-4244N 2.00  /dev/sr0   /dev/sg0

[2:0:0:0]    mediumx HP       MSL6000 Series   0520  /dev/sch0  /dev/sg1

[2:0:0:1]    tape    HP       Ultrium 4-SCSI   B63W  /dev/st0   /dev/sg2

[2:0:0:2]    tape    HP       Ultrium 4-SCSI   B63W  /dev/st1   /dev/sg3

[2:0:1:0]    tape    HP       Ultrium 4-SCSI   B63W  /dev/st2   /dev/sg4

[2:0:1:1]    tape    HP       Ultrium 4-SCSI   B63W  /dev/st3   /dev/sg5

[2:0:2:0]    tape    HP       Ultrium 4-SCSI   B63W  /dev/st4   /dev/sg6

[2:0:2:1]    tape    HP       Ultrium 4-SCSI   B63W  /dev/st5   /dev/sg7

[3:0:0:0]    enclosu HP       MSA2312fc        M114  -         /dev/sg8

[3:0:0:3]    disk    HP       MSA2312fc        M114  /dev/sda   /dev/sg9

 

 

bacula.log:

01-Aug 05:11 bacula-sd JobId 3762: End of medium on Volume "NY5362L4" Bytes=2,272,431,716,352 Blocks=35,224,945 at 01-Aug-2015 05:11.

01-Aug 20:17 bacula-sd JobId 3816: End of medium on Volume "NY5414L4" Bytes=2,872,716,650,496 Blocks=38,275,228 at 01-Aug-2015 20:17.

02-Aug 03:27 bacula-sd JobId 3844: End of medium on Volume "NY5138L4" Bytes=2,395,065,157,632 Blocks=37,125,885 at 02-Aug-2015 03:27.

02-Aug 05:19 bacula-sd JobId 3866: End of medium on Volume "NY5356L4" Bytes=3,699,709,332,480 Blocks=45,744,566 at 02-Aug-2015 05:19.

02-Aug 05:06 bacula-sd JobId 3865: End of medium on Volume "NY5426L4" Bytes=2,218,678,189,056 Blocks=3,926,768 at 02-Aug-2015 05:06.

02-Aug 17:01 bacula-sd JobId 3899: End of medium on Volume "NY5353L4" Bytes=1,094,372,665,344 Blocks=16,963,861 at 02-Aug-2015 17:01.

02-Aug 16:26 bacula-sd JobId 3867: End of medium on Volume "NY5155L4" Bytes=1,487,262,680,064 Blocks=23,054,046 at 02-Aug-2015 16:26.

02-Aug 20:54 bacula-sd JobId 3868: End of medium on Volume "NY5100L4" Bytes=620,055,604,224 Blocks=9,611,476 at 02-Aug-2015 20:54.

04-Aug 03:01 bacula-sd JobId 3939: End of medium on Volume "Vol-0106" Bytes=19,764,295,546 Blocks=306,367 at 04-Aug-2015 03:01.

04-Aug 03:01 bacula-sd JobId 3939: End of medium on Volume "Vol-0107" Bytes=15,612,095 Blocks=242 at 04-Aug-2015 03:01.

04-Aug 22:39 bacula-sd JobId 3957: End of medium on Volume "NY5391L4" Bytes=1,389,386,557,440 Blocks=21,536,869 at 04-Aug-2015 22:39.

06-Aug 23:14 bacula-sd JobId 4005: End of medium on Volume "NY5359L4" Bytes=1,854,002,239,488 Blocks=28,738,873 at 06-Aug-2015 23:14.

08-Aug 07:45 bacula-sd JobId 4089: End of medium on Volume "NY5166L4" Bytes=2,380,241,074,176 Blocks=36,896,097 at 08-Aug-2015 07:45.

08-Aug 07:20 bacula-sd JobId 4065: End of medium on Volume "NY5411L4" Bytes=2,576,874,037,248 Blocks=14,942,088 at 08-Aug-2015 07:20.

09-Aug 00:51 bacula-sd JobId 4060: End of medium on Volume "NY5041L4" Bytes=2,428,844,608,512 Blocks=37,649,500 at 09-Aug-2015 00:51.

09-Aug 12:08 bacula-sd JobId 4221: End of medium on Volume "NY5366L4" Bytes=4,050,152,709,120 Blocks=62,781,384 at 09-Aug-2015 12:08.

09-Aug 18:01 bacula-sd JobId 4148: End of medium on Volume "NY5421L4" Bytes=2,060,066,727,936 Blocks=31,933,077 at 09-Aug-2015 18:01.

09-Aug 17:27 bacula-sd JobId 4244: End of medium on Volume "NY5384L4" Bytes=3,251,013,470,208 Blocks=50,393,933 at 09-Aug-2015 17:27.

09-Aug 22:08 bacula-sd JobId 4297: End of medium on Volume "NY5043L4" Bytes=1,087,088,292,864 Blocks=16,850,946 at 09-Aug-2015 22:08.

08-Aug 11:45 bacula-sd JobId 4113: End of medium on Volume "NY5021L4" Bytes=1,354,928,311,296 Blocks=15,060,429 at 08-Aug-2015 11:45.

10-Aug 02:55 bacula-sd JobId 4315: End of medium on Volume "NY5009L4" Bytes=1,615,896,640,512 Blocks=25,048,000 at 10-Aug-2015 02:55.

09-Aug 17:09 bacula-sd JobId 4251: End of medium on Volume "NY5420L4" Bytes=2,160,660,031,488 Blocks=33,492,373 at 09-Aug-2015 17:09.

09-Aug 22:32 bacula-sd JobId 4251: End of medium on Volume "NY5218L4" Bytes=2,344,265,376,768 Blocks=36,338,438 at 09-Aug-2015 22:32.

10-Aug 05:05 bacula-sd JobId 4272: End of medium on Volume "NY5419L4" Bytes=1,325,232,340,992 Blocks=20,542,415 at 10-Aug-2015 05:05.

10-Aug 04:36 bacula-sd JobId 4114: End of medium on Volume "NY5191L4" Bytes=1,700,249,177,088 Blocks=26,355,548 at 10-Aug-2015 04:36.

10-Aug 16:00 bacula-sd JobId 4208: End of medium on Volume "NY5372L4" Bytes=1,044,745,906,176 Blocks=16,194,597 at 10-Aug-2015 16:00.

10-Aug 16:05 bacula-sd JobId 4316: End of medium on Volume "NY5429L4" Bytes=1,326,564,320,256 Blocks=20,563,062 at 10-Aug-2015 16:05.

10-Aug 21:46 bacula-sd JobId 4209: End of medium on Volume "NY5071L4" Bytes=1,363,408,736,256 Blocks=21,134,187 at 10-Aug-2015 21:46.

11-Aug 07:11 bacula-sd JobId 4209: End of medium on Volume "NY5000L4" Bytes=1,772,274,502,656 Blocks=27,472,012 at 11-Aug-2015 07:11.

13-Aug 06:55 bacula-sd JobId 4420: End of medium on Volume "NY5094L4" Bytes=36,354,834,432 Blocks=563,535 at 13-Aug-2015 06:55.

13-Aug 23:35 bacula-sd JobId 4449: End of medium on Volume "NY5173L4" Bytes=1,051,069,436,928 Blocks=16,292,618 at 13-Aug-2015 23:35.

14-Aug 02:57 bacula-sd JobId 4450: End of medium on Volume "Vol-0113" Bytes=107,374,176,057 Blocks=1,664,410 at 14-Aug-2015 02:57.

15-Aug 07:15 bacula-sd JobId 4462: End of medium on Volume "NY5006L4" Bytes=2,327,548,124,160 Blocks=36,079,304 at 15-Aug-2015 07:15.

16-Aug 00:45 bacula-sd JobId 4565: End of medium on Volume "NY5205L4" Bytes=404,083,749,888 Blocks=6,263,698 at 16-Aug-2015 00:45.

16-Aug 00:52 bacula-sd JobId 4565: End of medium on Volume "NY5396L4" Bytes=4,643,638,272 Blocks=71,980 at 16-Aug-2015 00:52.

16-Aug 01:10 bacula-sd JobId 4565: End of medium on Volume "NY5128L4" Bytes=74,172,026,880 Blocks=1,149,739 at 16-Aug-2015 01:10.

16-Aug 23:35 bacula-sd JobId 4572: End of medium on Volume "NY5176L4" Bytes=1,155,974,916,096 Blocks=17,918,757 at 16-Aug-2015 23:35.

17-Aug 18:57 bacula-sd JobId 4603: End of medium on Volume "NY5068L4" Bytes=2,084,456,779,776 Blocks=14,741,636 at 17-Aug-2015 18:57.

 

Thank you,

Ankush More

 

From: Ana Emília M. Arruda [mailto:emiliaarruda AT gmail DOT com]
Sent: Tuesday, August 18, 2015 1:57 AM
To: More, Ankush
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Tapes not fully used

 

Hello Ankush,

 

Bacula marks a volume as Full when Maximum Volume Bytes (if specified in Pool resource) or if it reaches de end of the medium you are using (a disk partition, a tape, etc.). 

 

Based only on your list media output, in some cases we can say that the end of medium was reached, but this is not true for some volumes.

 

Could you post more information that could be useful to help you? Could you post your Bacula log lines containing "End of medium on Volume"? An output of the command "lsscsi -g" would be helpful as well.

 

Best regards,

Ana

 

 

 

On Mon, Aug 17, 2015 at 9:30 AM, More, Ankush <ankush.more AT capgemini DOT com> wrote:

Hi Team,

 

Bacula version 7.0.5

 

Using tape LTO-4 with autochanger, I notice some tapes are  not fully utilized, still show “VolStatus” as Full.

 

| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |

|     123 | NY5205L4   | Full      |       1 |   404,083,749,888 |      407 |    5,788,800 |       1 |   72 |         1 | LTO-4     | 2015-08-16 00:45:48 |

|     124 | NY5128L4   | Full      |       1 |    74,172,026,880 |       77 |    5,788,800 |       1 |   71 |         1 | LTO-4     | 2015-08-16 01:10:03 |

|     125 | NY5396L4   | Full      |       1 |     4,643,638,272 |        4 |    5,788,800 |       1 |   70 |         1 | LTO-4     | 2015-08-16 00:51:58 |

 

Some tape are utilized full or beyond the capacity.

 

| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |

|      88 | NY5366L4   | Full      |       1 | 4,050,152,709,120 |    4,050 |    5,788,800 |       1 |  107 |         1 | LTO-4     | 2015-08-09 12:08:05 |

|      89 | NY5041L4   | Full      |       1 | 2,428,844,608,512 |    2,429 |    5,788,800 |       1 |  108 |         1 | LTO-4     | 2015-08-09 00:51:34 |

|      90 | NY5384L4   | Full      |       1 | 3,251,013,470,208 |    3,251 |    5,788,800 |       1 |  109 |         1 | LTO-4     | 2015-08-09 17:27:38 |

|      95 | NY5009L4   | Full      |       1 | 1,615,896,640,512 |    1,616 |    5,788,800 |       1 |  110 |         1 | LTO-4     | 2015-08-10 02:55:41 |

|      96 | NY5043L4   | Full      |       1 | 1,087,088,292,864 |    1,087 |    5,788,800 |       1 |  111 |         1 | LTO-4     | 2015-08-09 22:08:31 |

 

Please suggest me how to avoid under utilization of tapes.

 

Thank you,

Ankush More


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

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

 

 

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users