On Tue, Apr 21, 2009 at 11:13 AM, Russell Sutherland <russ AT quist DOT ca>
wrote:
> Ok...
>
> I updated the VolStatus to append. DId that. All seems well.
>
> *list Media Pool=Default
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes |
> VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |
> LastWritten |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
> | 595 | Catalog-01 | Append | 1 | 4,023,197,419 |
> 0 | 34,560,000 | 1 | 0 | 0 | Media-backup |
> 2008-11-12 04:59:35 |
> | 642 | BG7385 | Error | 1 | 64,673,086,464 |
> 208 | 34,560,000 | 1 | 0 | 0 | LTO-2 |
> 2008-11-28 21:15:43 |
> | 652 | BG7386 | Full | 1 | 364,615,759,872 |
> 1,058 | 34,560,000 | 1 | 0 | 0 | LTO-2 |
> 2009-01-28 06:15:07 |
> | 653 | BG7387 | Full | 1 | 380,757,436,416 |
> 1,141 | 34,560,000 | 1 | 0 | 0 | LTO-2 |
> 2009-04-03 04:42:06 |
> | 669 | BG7388 | Append | 1 | 194,570,772,480 |
> 322 | 34,560,000 | 1 | 0 | 0 | LTO-2 |
> 2009-04-20 03:42:15 |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
>
> *status
> Status available for:
> 1: Director
> 2: Storage
> 3: Client
> 4: All
> Select daemon type for status (1-4): 2
> The defined Storage resources are:
> 1: Storage-backup
> .....
> 11: Storage-tape
> Select Storage resource (1-11): 11
> Connecting to Storage daemon Storage-tape at backup.cns.utoronto.ca:9103
>
> backup-sd Version: 3.0.0 (06 April 2009) i386-portbld-freebsd7.1
> freebsd 7.1-RELEASE-p4
> Daemon started 20-Apr-09 12:02, 15 Jobs run since started.
> Heap: heap=0 smbytes=484,075 max_bytes=551,772 bufs=105 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
> ===================================================================
> 14515 Incr 0 0 Cancel 21-Apr-09 10:52 backup-joey
> ....
> 14524 Incr 0 0 Error 21-Apr-09 10:54 bsd-data
> 14525 Incr 0 0 Error 21-Apr-09 10:54 bsd-home
> ====
>
> 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: BG7388
> 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:
> BG7388 on device "Dell-PV-110T" (/dev/nsa0)
> Reader=0 writers=0 devres=0 volinuse=0
> ====
>
> ====
>
>
> Now when a job is rerun, things break again.
>
> * run....
>
>
> *status storage
> The defined Storage resources are:
> 1: Storage-backup
> ....
> 11: Storage-tape
> Select Storage resource (1-11): 11
> Connecting to Storage daemon Storage-tape at backup:9103
>
> backup-sd Version: 3.0.0 (06 April 2009) i386-portbld-freebsd7.1
> freebsd 7.1-RELEASE-p4
> Daemon started 20-Apr-09 12:02, 15 Jobs run since started.
> Heap: heap=0 smbytes=617,107 max_bytes=617,225 bufs=123 max_bufs=127
> Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8
>
> Running Jobs:
> Writing: Incremental Backup job backup-system JobId=14526 Volume=""
> pool="Default" device="Dell-PV-110T" (/dev/nsa0)
> spooling=0 despooling=0 despool_wait=0
> Files=0 Bytes=0 Bytes/sec=0
> FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
> ====
>
> Jobs waiting to reserve a drive:
> ====
>
> Terminated Jobs:
> JobId Level Files Bytes Status Finished Name
> ===================================================================
> 14515 Incr 0 0 Cancel 21-Apr-09 10:52 backup-joey
> ....
> 14525 Incr 0 0 Error 21-Apr-09 10:54 bsd-home
> ====
>
> 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) open but no Bacula volume is
> currently mounted.
> Device is BLOCKED waiting to create a volume for:
> Pool: Default
> Media type: LTO-2
> Total Bytes Read=0 Blocks Read=0 Bytes/block=0
> Positioned at File=0 Block=0
> ====
>
> Used Volume status:
> ====
>
> ====
>
> *list media Pool=Default
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes |
> VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |
> LastWritten |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
> | 595 | Catalog-01 | Append | 1 | 4,023,197,419 |
> 0 | 34,560,000 | 1 | 0 | 0 | Media-backup |
> 2008-11-12 04:59:35 |
> | 642 | BG7385 | Error | 1 | 64,673,086,464 |
> 208 | 34,560,000 | 1 | 0 | 0 | LTO-2 |
> 2008-11-28 21:15:43 |
> | 652 | BG7386 | Full | 1 | 364,615,759,872 |
> 1,058 | 34,560,000 | 1 | 0 | 0 | LTO-2 |
> 2009-01-28 06:15:07 |
> | 653 | BG7387 | Full | 1 | 380,757,436,416 |
> 1,141 | 34,560,000 | 1 | 0 | 0 | LTO-2 |
> 2009-04-03 04:42:06 |
> | 669 | BG7388 | Error | 1 | 194,570,772,480 |
> 322 | 34,560,000 | 1 | 0 | 0 | LTO-2 |
> 2009-04-20 03:42:15 |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
> *
>
>
> Does this mean I have to change the tape?
>
No, I forgot a step. See here:
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/catalog-error-73048/
John M. Drescher
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|