[Bacula-users] Tape struggles
2008-12-01 11:51:09
>>From time to time, I find difficulty with backing up to tape,
particularly when the machine
reboots. Here's the current state which seems "broken".
Software:
uname -a
FreeBSD backup.cns.utoronto.ca 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5
#0: Thu Nov 20 06:46:55 EST 2008
root AT backup.utoronto DOT ca:/backup/opt/obj/backup/opt/src/sys/GENERIC
i386
$ pkg_info | grep bacula
bacula-bat-2.4.3 The network backup solution (GUI)
bacula-client-2.4.3 The network backup solution (client)
bacula-docs-2.4.3 The Bacula document set
bacula-server-2.4.3 The network backup solution (server)
Hardware:
$ dmesg | grep -i scsi
ahc0: <Adaptec 3960D Ultra160 SCSI adapter> port 0x9400-0x94ff mem
0xfc7fe000-0xfc7fefff irq 28 at device 3.0 on pci1
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec 3960D Ultra160 SCSI adapter> port 0x9800-0x98ff mem
0xfc7ff000-0xfc7fffff irq 29 at device 3.1 on pci1
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
Waiting 5 seconds for SCSI devices to settle
sa0: <CERTANCE ULTRIUM 2 1914> Removable Sequential Access SCSI-3 device
Demonstration of problem:
a. The status of the tape drive seems fine:
*status storage
The defined Storage resources are:
1: Storage-backup
2: Storage-bsd
3: Storage-joey
4: Storage-msc
5: Storage-pics
6: Storage-tank
7: Storage-remote-cache
8: Storage-remote-tank
9: Storage-remote-tank-large
10: Storage-tape
Select Storage resource (1-10): 10
Connecting to Storage daemon Storage-tape at backup.cns.utoronto.ca:9103
backup-sd Version: 2.4.3 (10 October 2008) i386-portbld-freebsd7.0
freebsd 7.0-RELEASE-p4
Daemon started 01-Dec-08 11:21, 2 Jobs run since started.
Heap: heap=0 smbytes=157,179 max_bytes=291,078 bufs=101 max_bufs=127
Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8
Running Jobs:
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
12241 Diff 1,251 868.6 M OK 22-Nov-08 05:06 msc-data
12242 Incr 36 16.50 M OK 22-Nov-08 05:07 pics-system
12243 Incr 71 23.88 M OK 22-Nov-08 05:08 pics-data
12245 Incr 95 1.526 G Error 22-Nov-08 05:25 bsd-data
12244 Full 1 239.2 M OK 22-Nov-08 05:25 backup-catalog
12246 Incr 2 255 OK 22-Nov-08 14:17 backup-system
12247 0 0 Error 22-Nov-08 21:19 Restore-backup
12346 Incr 0 0 Cancel 01-Dec-08 11:17 backup-system
12347 Incr 0 0 Cancel 01-Dec-08 11:21 backup-data
12348 Incr 0 0 Cancel 01-Dec-08 11:23 backup-system
====
Device status:
Device "Device-backup" (/backup/bacula) is not open.
Device "Device-bsd" (/backup/bacula/bsd) is not open.
Device "Dell-PV-110T" (/dev/nsa0) is mounted with:
Volume: BG7385
Pool: Default
Media type: LTO-2
Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
Positioned at File=0 Block=0
====
Used Volume status:
BG7385 on device "Dell-PV-110T" (/dev/nsa0)
Reader=0 writers=0 devres=0 volinuse=1
====
====
*
So the tape is mounted and labeled. Now when I go to run a job I am
asked to issue a label command:
.....
Select Job resource (1-19): 1
Run Backup job
JobName: backup-system
Level: Incremental
Client: backup-fd
FileSet: System
Pool: Default (From Job resource)
Storage: Storage-tape (From Pool resource)
When: 2008-12-01 11:42:16
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=12349
You have messages.
*
*messages
01-Dec 11:42 backup-dir JobId 12349: Start Backup JobId 12349,
Job=backup-system.2008-12-01_11.42.11
01-Dec 11:42 backup-dir JobId 12349: Using Device "Dell-PV-110T"
01-Dec 11:42 backup-sd JobId 12349: Job
backup-system.2008-12-01_11.42.11 waiting. Cannot find any appendable
volumes.
Please use the "label" command to create a new Volume for:
Storage: "Dell-PV-110T" (/dev/nsa0)
Pool: Default
Media type: LTO-2
*
What do I do to get the system back to its ground state?
The tape drive _was_ working fine for several weeks and had about 65
Gbytes of data
written to it. All tapes had been thoroughly tested using btape and
fill before being put into
production.
Frustrated...
--
Russell Sutherland
russ AT quist DOT ca
+1.416.696.7600
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>
|
- [Bacula-users] Tape struggles,
Russell Sutherland <=
|
|
|