>а покажите кусок лога, в котором видно переход с 000004L4 на 000003L4.
>
>
>там могут быть слова "EOT reached" (конец ленты). обратите внимание на это (полный лог дальше)
User defined maximum volume capacity 53,687,091,200 exceeded on device "LTO-4" (/dev/nst0).
видимо дефолтное значение, пробовал переопределить в описании пула Maximum Volume Bytes = 0
bacula-sd.conf (кусок)
Autochanger {
Name = LTO-4-Autochanger
Device = LTO-4
Changer Command = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg2
}
Device {
Name = LTO-4
Media Type = LTO-4
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Maximum File Size = 5GB
Maximum Block Size = 262144
Changer Command = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg2
AutoChanger = yes
# Label Media = yes
# Enable the Alert command only if you have the mtx package loaded
# Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# If you have smartctl, enable this, it has more info than tapeinfo
# Alert Command = "sh -c 'smartctl -H -l error %c'"
}
bacula-dir.conf (кусок с описанием пула)
Pool {
Name = pool_full
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 180 days # one year
AutoPrune = yes
# Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
# Maximum Volumes = 100 # Limit number of Volumes in Pool
# Label Format = "full-"
}
Storage {
Name = LTO-4
# Do not use "localhost" here
Address = fserver # N.B. Use a fully qualified name here
SDPort = 9103
Password = "password_to_sd"
Device = LTO-4
Media Type = LTO-4
}
привожу весь лог задания
2010-08-08 02:09:49 fserver-dir JobId 389: Start Backup JobId 389, Job=Backup_banzai_h.2010-08-08_02.05.00_41
2010-08-08 02:09:49 fserver-sd JobId 389: 3307 Issuing autochanger "unload slot 1, drive 0" command.
2010-08-08 02:10:44 fserver-dir JobId 389: Using Device "LTO-4"
2010-08-08 02:10:44 fserver-sd JobId 389: 3301 Issuing autochanger "loaded? drive 0" command.
2010-08-08 02:10:44 fserver-sd JobId 389: 3302 Autochanger "loaded? drive 0", result: nothing loaded.
2010-08-08 02:10:44 fserver-sd JobId 389: 3304 Issuing autochanger "load slot 3, drive 0" command.
2010-08-08 02:11:28 fserver-sd JobId 389: 3305 Autochanger "load slot 3, drive 0", status is OK.
2010-08-08 02:11:37 fserver-sd JobId 389: Volume "000004L4" previously written, moving to end of data.
2010-08-08 02:13:29 fserver-sd JobId 389: Ready to append to end of Volume "000004L4" at file=22.
2010-08-08 01:59:49 banzai-fd JobId 389: Generate VSS snapshots. Driver="VSS Win 2003", Drive(s)="H"
2010-08-08 02:17:31 fserver-sd JobId 389: User defined maximum volume capacity 53,687,091,200 exceeded on device "LTO-4" (/dev/nst0).
2010-08-08 02:17:38 fserver-sd JobId 389: Re-read of last block succeeded.
2010-08-08 02:17:38 fserver-sd JobId 389: End of medium on Volume "000004L4" Bytes=53,687,079,936 Blocks=832,202 at 08-Авг-2010 02:17.
2010-08-08 02:17:38 fserver-sd JobId 389: 3307 Issuing autochanger "unload slot 3, drive 0" command.
2010-08-08 02:19:40 fserver-sd JobId 389: 3301 Issuing autochanger "loaded? drive 0" command.
2010-08-08 02:19:40 fserver-sd JobId 389: 3302 Autochanger "loaded? drive 0", result: nothing loaded.
2010-08-08 02:19:40 fserver-sd JobId 389: 3304 Issuing autochanger "load slot 4, drive 0" command.
2010-08-08 02:20:21 fserver-sd JobId 389: 3305 Autochanger "load slot 4, drive 0", status is OK.
2010-08-08 02:20:31 fserver-sd JobId 389: Wrote label to prelabeled Volume "000003L4" on device "LTO-4" (/dev/nst0)
2010-08-08 02:20:31 fserver-sd JobId 389: New volume "000003L4" mounted on device "LTO-4" (/dev/nst0) at 08-Авг-2010 02:20.
2010-08-08 02:23:38 banzai-fd JobId 389: VSS Writer (BackupComplete): "System Writer", State: 0x1 (VSS_WS_STABLE)
2010-08-08 02:23:38 banzai-fd JobId 389: VSS Writer (BackupComplete): "MSDEWriter", State: 0x1 (VSS_WS_STABLE)
2010-08-08 02:37:20 fserver-sd JobId 389: Job write elapsed time = 00:20:58, Transfer rate = 5.069 M Bytes/second
2010-08-08 02:23:38 banzai-fd JobId 389: VSS Writer (BackupComplete): "Registry Writer", State: 0x1 (VSS_WS_STABLE)
2010-08-08 02:23:38 banzai-fd JobId 389: VSS Writer (BackupComplete): "Event Log Writer", State: 0x1 (VSS_WS_STABLE)
2010-08-08 02:23:38 banzai-fd JobId 389: VSS Writer (BackupComplete): "COM+ REGDB Writer", State: 0x1 (VSS_WS_STABLE)
2010-08-08 02:23:38 banzai-fd JobId 389: VSS Writer (BackupComplete): "WMI Writer", State: 0x1 (VSS_WS_STABLE)
2010-08-08 02:23:38 banzai-fd JobId 389: VSS Writer (BackupComplete): "TermServLicensing", State: 0x1 (VSS_WS_STABLE)
2010-08-08 02:37:22 fserver-dir JobId 389: Bacula fserver-dir 5.0.2 (28Apr10): 08-Авг-2010 02:37:22
Build OS: i686-redhat-linux-gnu redhat
JobId: 389
Job: Backup_banzai_h.2010-08-08_02.05.00_41
Backup Level: Full
Client: "banzai-fd" 5.0.2 (28Apr10) Linux,Cross-compile,Win64
FileSet: "h_backup" 2010-06-09 15:15:54
Pool: "pool_full" (From Job FullPool override)
Catalog: "MyCatalog" (From Client resource)
Storage: "LTO-4" (From Job resource)
Scheduled time: 08-Авг-2010 02:05:00
Start time: 08-Авг-2010 02:10:44
End time: 08-Авг-2010 02:37:22
Elapsed time: 26 mins 38 secs
Priority: 10
FD Files Written: 2
SD Files Written: 2
FD Bytes Written: 6,377,269,163 (6.377 GB)
SD Bytes Written: 6,377,269,481 (6.377 GB)
Rate: 3990.8 KB/s
Software Compression: 79.2 %
VSS: yes
Encryption: no
Accurate: no
Volume name(s): 000004L4|000003L4
Volume Session Id: 28
Volume Session Time: 1280841285
Last Volume Bytes: 3,924,523,008 (3.924 GB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
2010-08-08 02:37:22 fserver-dir JobId 389: Begin pruning Jobs older than 6 months .
2010-08-08 02:37:22 fserver-dir JobId 389: No Jobs found to prune.
2010-08-08 02:37:22 fserver-dir JobId 389: Begin pruning Jobs.
2010-08-08 02:37:22 fserver-dir JobId 389: No Files found to prune.
2010-08-08 02:37:22 fserver-dir JobId 389: End auto prune.