On Monday, 30 March 2009 23:31:13 -0300, Daniel Bareiro wrote: > During the last process of backup scheduled by Bacula, I received the > following notification by email. > > 30-Mar 08:27 backup1-sd: Please mount Volume "EducarFull0004" on Storage > Device "Drive-1" (/dev/nst0) for Job Cygnus.2009-03-28_00.00.19 > > Reviewing the state of the volumes, I found the following situation: > > Pool: Full > +---------+----------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ > | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | > VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | > +---------+----------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ > | 1,036 | EducarFull0002 | Append | 31,702,518,884 | 44 | > 7,776,000 | 1 | 2 | 0 | DLT-7000 | 2008-05-13 22:26:53 | > | 1,038 | EducarFull0001 | Purged | 34,189,164,863 | 50 | > 7,776,000 | 1 | 1 | 0 | DLT-7000 | 2008-04-07 00:48:17 | > | 1,039 | EducarFull0003 | Purged | 38,584,790,717 | 69 | > 7,776,000 | 1 | 3 | 0 | DLT-7000 | 2008-05-04 23:32:04 | > | 1,042 | EducarFull0005 | Purged | 34,119,283,723 | 66 | > 7,776,000 | 1 | 1 | 0 | DLT-7000 | 2008-08-04 00:01:13 | > | 1,043 | EducarFull0006 | Purged | 35,871,291,720 | 44 | > 7,776,000 | 1 | 2 | 0 | DLT-7000 | 2008-09-08 01:28:55 | > | 1,046 | EducarFull0009 | Purged | 38,888,730,357 | 77 | > 7,776,000 | 1 | 3 | 0 | DLT-7000 | 2008-09-07 22:56:25 | > | 1,047 | EducarFull0004 | Append | 18,302,518,203 | 43 | > 7,776,000 | 1 | 1 | 0 | DLT-7000 | 2008-11-18 00:23:00 | > | 1,048 | EducarFull0007 | Purged | 38,663,188,669 | 69 | > 7,776,000 | 1 | 2 | 0 | DLT-7000 | 2008-11-02 00:39:19 | > | 1,049 | EducarFull0008 | Purged | 33,354,768,116 | 39 | > 7,776,000 | 1 | 3 | 0 | DLT-7000 | 2008-11-02 03:03:03 | > | 1,050 | EducarFull0010 | Full | 35,826,198,945 | 62 | > 7,776,000 | 1 | 1 | 1 | DLT-7000 | 2009-03-28 01:26:49 | > | 1,051 | EducarFull0011 | Full | 34,782,209,484 | 62 | > 7,776,000 | 1 | 2 | 1 | DLT-7000 | 2009-03-01 01:12:40 | > | 1,052 | EducarFull0012 | Full | 43,395,971,463 | 52 | > 7,776,000 | 1 | 3 | 1 | DLT-7000 | 2009-03-01 03:44:33 | > +---------+----------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ > > Apparently Bacula is wanting to use a volume that is not in autochanger and > whose state is Append when being all the volumes in autochanger in Full > state.
I was reading in the Bacula's manual about the algorithm that Bacula uses when it needs a new volume, and comparing it with the behavior that mentioned above, there is something is not clear to me of the steps that the algorithm follows: * "If the request is for an Autochanger device, look only for Volumes in the Autochanger (i.e. with InChanger set and that have the correct Storage device)". Then why it can be that a volume with InChanger=0 has been chosen? * "Search the Pool for a Volume with VolStatus=Append (if there is more than one, the Volume with the oldest date last written is chosen. If two have the same date then the one with the lowest MediaId is chosen)". With that criterion I think that it must have chosen the EducarFull0002 volume. Why it can be that EducarFull0004 has been chosen? Thanks in advance. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users