Bacula-users

[Bacula-users] [Fwd: Almost empty full tapes]

2008-04-23 13:36:28
Subject: [Bacula-users] [Fwd: Almost empty full tapes]
From: Quinton Jansen <Quinton.Jansen AT ec.gc DOT ca>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 23 Apr 2008 09:31:11 -0700
On my PX506 loaded with LTO3 SCSI tape drives and bacula 2.2.9-b6, I've

been experiencing a number of occasions where the tapes are not actually 
filled.

No error messages in dmesg.
btape won't write to the tape anymore..  read-only
mt will write just fine
Updating volstatus to append and remounting did not work.

Does anybody have a hint or solution to solve the problem?

Quinton

volumename | volstatus | slot | inchanger | lastwritten | volbytes | 
volfiles | name
------------+-----------+------+-----------+---------------------+--------------+----------+------------
BJB767L3 | Full | 21 | 1 | 2008-04-19 04:14:35 | 942971904 | 1 | PX506-Full
BJB765L3 | Full | 23 | 1 | 2008-04-19 04:16:39 | 270434304 | 1 | PX506-Full
BJB764L3 | Full | 24 | 1 | 2008-04-19 04:18:38 | 509515776 | 1 | PX506-Full
BJB763L3 | Full | 25 | 1 | 2008-04-19 04:21:14 | 844655616 | 1 | PX506-Full
BJB762L3 | Full | 26 | 1 | 2008-04-19 04:23:00 | 73866240 | 1 | PX506-Full
BJB761L3 | Full | 27 | 1 | 2008-04-19 04:25:06 | 445777920 | 1 | PX506-Full
BJB760L3 | Full | 28 | 1 | 2008-04-19 04:27:04 | 24321024 | 1 | PX506-Full
BJB799L3 | Full | 29 | 1 | 2008-04-19 04:29:04 | 302819328 | 1 | PX506-Full
BJB798L3 | Full | 30 | 1 | 2008-04-19 04:31:09 | 464615424 | 1 | PX506-Full
AAA043L3 | Full | 57 | 1 | 2008-04-19 04:33:41 | 765434880 | 1 | PX506-Full
AAA023L3 | Full | 81 | 1 | 2008-04-19 04:35:38 | 232630272 | 1 | PX506-Full
LLE733L3 | Full | 51 | 1 | 2008-04-19 04:37:46 | 318044160 | 1 | PX506-Full
BJB768L3 | Full | 20 | 1 | 2008-04-19 11:43:48 | 129189150720 | 130 | 
PX506-Full
BJB795L3 | Full | 14 | 1 | 2008-04-19 11:48:26 | 170491216896 | 174 | 
PX506-Full
BJB769L3 | Full | 19 | 1 | 2008-04-19 20:02:39 | 579621288960 | 580 | 
PX506-Full
BJB766L3 | Full | 22 | 1 | 2008-04-20 00:07:00 | 593693614080 | 594 | 
PX506-Full

snippet from bacula-sd:
PX506-A is used for full backups
PX506-B is used for daily diff backups

Autochanger {
 Name = PX506-A
 Device = "PX506-0"
 Device = "PX506-1"
 Device = "PX506-2"
 Device = "PX506-3"
 Device = "PX506-4"
 Changer Command = "/etc/bacula/mtx-changer-px506 %c %o %S %a %d"
 Changer Device = /dev/sg0
}

Autochanger {
 Name = PX506-B
 Device = "PX506-5"
 #Device = "PX506-4"
 Changer Command = "/etc/bacula/mtx-changer-px506 %c %o %S %a %d"
 Changer Device = /dev/sg0
}

Device {
 Name = "PX506-0"
 Device Type = Tape
 Drive Index = 0       # SCSI ID 1
 Media Type = LTO-3
 Archive Device = /dev/nst0
 AutomaticMount = yes;               # when device opened, read it
 AlwaysOpen = yes;
 RemovableMedia = yes;
 RandomAccess = no;
 AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
 Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
 Spool Directory = /var/bacula/spool/px506-0
 Maximum Network Buffer Size = 65536
 Maximum Spool Size = 1024G
 Maximum Job Spool Size = 30G
 Maximum Changer Wait = 600
 Maximum Open Wait = 600
 LabelMedia = yes
}


PX506-[1-5] configured the same (different device and spool location).

snippet from bacula-dir.conf:
Storage {
 Name = PX506-Econet-Full
 Address = bottom.pyr.ec.gc.ca
 SDPort = 9103
 Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
 Device = PX506-A
 Media Type = LTO-3
 Maximum Concurrent Jobs = 25
 Autochanger = yes
}

Storage {
 Name = PX506-Econet-Diff
 Address = bottom.pyr.ec.gc.ca
 SDPort = 9103
 Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
 Device = PX506-B
 Media Type = LTO-3
 Maximum Concurrent Jobs = 10
 Autochanger = yes
}




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>