Looks like I, too, can reproduce the premature-tape-fill problem with
LTO1 that someone reported recently:
23-Oct 02:48 babylon5-dir: Begin pruning Jobs.
23-Oct 02:48 babylon5-dir: No Jobs found to prune.
23-Oct 02:48 babylon5-dir: Begin pruning Files.
23-Oct 02:48 babylon5-dir: No Files found to prune.
23-Oct 02:48 babylon5-dir: End auto prune.
23-Oct 03:45 babylon5-dir: Prior failed job found. Upgrading to
Differential.
23-Oct 03:45 babylon5-dir: Start Backup JobId 54,
Job=Catalog_Save.2005-10-23_03.45.00
23-Oct 03:45 babylon5-sd: Catalog_Save.2005-10-23_03.45.00 Error:
block.c:552 Write error at 44:1 on device /dev/nst1. ERR=Input/output error.
23-Oct 03:46 babylon5-sd: Catalog_Save.2005-10-23_03.45.00 Error:
Backspace record at EOT failed. ERR=Input/output error
23-Oct 03:46 babylon5-sd: End of medium on Volume "LTO-0002"
Bytes=39,904,796,593 Blocks=618,566 at 23-Oct-2005 03:46.
23-Oct 03:46 babylon5-sd: Please mount Volume "LTO-0003" on Storage
Device "Ultrium-LTO1" for Job Catalog_Save.2005-10-23_03.45.00
23-Oct 04:46 babylon5-sd: Please mount Volume "LTO-0003" on Storage
Device "Ultrium-LTO1" for Job Catalog_Save.2005-10-23_03.45.00
23-Oct 06:46 babylon5-sd: Please mount Volume "LTO-0003" on Storage
Device "Ultrium-LTO1" for Job Catalog_Save.2005-10-23_03.45.00
23-Oct 10:46 babylon5-sd: Please mount Volume "LTO-0003" on Storage
Device "Ultrium-LTO1" for Job Catalog_Save.2005-10-23_03.45.00
list volumes
Using default Catalog name=MyCatalog DB=bacula
Pool: LTO
+---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | LTO-0001 | Full | 128,434,922,406 | 128 |
31,536,000 | 1 | 0 | 1 | LTO1 | 2005-10-18 13:29:37 |
| 2 | LTO-0002 | Full | 39,904,796,593 | 44 |
31,536,000 | 1 | 0 | 1 | LTO1 | 2005-10-23 03:46:06 |
| 3 | LTO-0003 | Append | 1 | 0 |
31,536,000 | 1 | 0 | 1 | LTO1 | 0000-00-00 00:00:00 |
| 4 | LTO-0004 | Append | 1 | 0 |
31,536,000 | 1 | 0 | 1 | LTO1 | 0000-00-00 00:00:00 |
+---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: VXA
+---------+------------+-----------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------+-----------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 5 | VXA-0001 | Append | 5,546,964,186 | 38 |
7,776,000 | 1 | 0 | 1 | VXA170 | 2005-10-23 02:48:26 |
| 6 | VXA-0002 | Purged | 1 | 0 |
7,776,000 | 1 | 0 | 1 | VXA170 | 0000-00-00 00:00:00 |
| 7 | VXA-0003 | Purged | 1 | 0 |
7,776,000 | 1 | 0 | 1 | VXA170 | 0000-00-00 00:00:00 |
| 8 | VXA-0004 | Purged | 1 | 0 |
7,776,000 | 1 | 0 | 1 | VXA170 | 0000-00-00 00:00:00 |
| 9 | VXA-0005 | Purged | 1 | 0 |
7,776,000 | 1 | 0 | 1 | VXA170 | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Three prior differential backups of this job to this volume succeeded.
babylon5:root:~:1 # tapeinfo -f /dev/sg6
Product Type: Tape Drive
Vendor ID: 'HP '
Product ID: 'Ultrium 1-SCSI '
Revision: 'E0AV'
Attached Changer: No
SerialNumber: 'IE71C01483'
MinBlock:1
MaxBlock:16777215
SCSI ID: 8
SCSI LUN: 0
Ready: no
After updating the volume status to Append and remounting it:
babylon5:root:~:2 # tapeinfo -f /dev/sg6
Product Type: Tape Drive
Vendor ID: 'HP '
Product ID: 'Ultrium 1-SCSI '
Revision: 'E0AV'
Attached Changer: No
SerialNumber: 'IE71C01483'
MinBlock:1
MaxBlock:16777215
SCSI ID: 8
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x40
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
BOP: yes
Block Position: 0
umount
The defined Storage resources are:
1: VXA1
2: LTO1
Select Storage resource (1-2): 2
3001 Device "/dev/nst1" unmounted.
mount
The defined Storage resources are:
1: VXA1
2: LTO1
Select Storage resource (1-2): 2
3905 Device /dev/nst1 open but no Bacula volume is mounted.
If this is not a blank tape, try unmounting and remounting the Volume.
23-Oct 14:21 babylon5-sd: Catalog_Save.2005-10-23_03.45.00 Warning:
Requested Volume "LTO-0002" on /dev/nst1 is not a Bacula labeled Volume,
because: ERR=block.c:793 Read zero bytes at 0:0 on device /dev/nst1.
23-Oct 14:21 babylon5-sd: Please mount Volume "LTO-0002" on Storage
Device "Ultrium-LTO1" for Job Catalog_Save.2005-10-23_03.45.00
status storage=LTO1
Connecting to Storage daemon LTO1 at babylon5.babcom.com:9103
babylon5-sd Version: 1.36.3 (22 April 2005) i686-pc-linux-gnu slackware
7.0.0
Daemon started 18-Oct-05 14:55, 42 Jobs run since started.
Running Jobs:
Differential Backup job Catalog_Save JobId=54 Volume="LTO-0002"
device="/dev/nst1"
Files=1 Bytes=98,400 Bytes/sec=2
FDReadSeqNo=14 in_msg=13 out_msg=5 fd=9
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
44 Incr 31 1,139,298 OK 22-Oct-05 02:47 Yama_Save
45 Diff 1 29,866,378 OK 22-Oct-05 03:46 Catalog_Save
46 Incr 183 302,532,164 OK 22-Oct-05 21:13 Pond_Save
47 Incr 193 217,990,884 OK 23-Oct-05 02:22
Babylon5_Save
48 Incr 90 104,102,331 OK 23-Oct-05 02:27
Llioness_Save
49 Incr 159 279,388,678 OK 23-Oct-05 02:31
Mabolgamp_Save
50 Incr 22 8,790,179 OK 23-Oct-05 02:32 Minbar_Save
51 Incr 6 77,972 OK 23-Oct-05 02:32 Nijo_Save
52 Incr 192 339,318,962 OK 23-Oct-05 02:48 Vorlon_Save
53 Incr 35 1,756,513 OK 23-Oct-05 02:48 Yama_Save
====
Device status:
Device "/dev/nst0" is mounted with Volume "VXA-0001"
Total Bytes=5,546,964,186 Blocks=86,002 Bytes/block=64,498
Positioned at File=38 Block=0
Device "/dev/nst1" open but no Bacula volume is mounted.
Device is BLOCKED waiting for appendable media.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0
I don't know for certain yet whether this indicates some hardware
problem related to the drive, or whether we have a problem with LTO
drives. I'm looking into it. I've tried swapping the terminator,
rebooting the drive, unmounting and remounting, and no joy. I was able
to mount a different tape (LTO-0001) with no problems, though, and after
eof'ing the tape I was able to relabel it and use it again without
problems. All indications are that something is erasing or scrambling
the tape label.
I don't know whether this is Bacula doing it, or something else. But
perhaps we need a new console command -- not a "relabel", but rather
"rewrite tape label from catalog". I believe at least one person has
asked before for a way to non-destructively do this.
--
Phil Stracchino [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
Mobile: 603-216-7037 Landline: 603-886-3518
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users