Dan Langille wrote:
>> Surely if a tape is mounted in a drive and the label is read, this
>> should become the new location for this tape?
>
> Are you issuing a mount command after inserting the tape into the other drive?
Yes and when the restore job is submitted, here are the results.
Restore job, ID 400 is submitted:
The job will require the following
Volume(s) Storage(s) SD Device(s)
===========================================================================
*AR0030L4 HP_MSL2024 HP_MSL2024
Volumes marked with "*" are online.
22 files selected to be restored.
The HP_MSL2024 is unavailable, but the tapes have been removed and
AR0030L4 is mounted in an LTO4 drive on another machine:
3001 Mounted Volume: AR0030L4
3001 Device "flash_LTO-4" (/dev/nst0) is mounted with Volume "AR0030L4"
At this point the job fails to proceed, with the following "status all":
library1-dir Version: 5.0.2 (28 April 2010) x86_64-unknown-linux-gnu redhat
Daemon started 19-Jul-10 08:41, 62 Jobs run since started.
Heap: heap=1,740,800 smbytes=110,606 max_bytes=22,074,467 bufs=385
max_bufs=677
Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Full Backup 11 07-Sep-10 09:10 BackupCatalog Catalog1
====
Running Jobs:
Console connected at 07-Sep-10 07:07
Console connected at 07-Sep-10 07:07
Console connected at 07-Sep-10 07:12
Console connected at 07-Sep-10 07:18
JobId Level Name Status
======================================================================
400 RestoreFiles.2010-09-07_07.14.43_19 is waiting on max
Storage jobs
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
====================================================================
390 Full 1 1.773 G OK 31-Aug-10 09:21 BackupCatalog
391 Full 1 1.773 G OK 01-Sep-10 09:20 BackupCatalog
392 Full 1 1.773 G OK 02-Sep-10 09:21 BackupCatalog
393 Full 1 1.773 G OK 03-Sep-10 09:21 BackupCatalog
394 0 0 Error 03-Sep-10 10:24 RestoreFiles
395 0 0 Cancel 03-Sep-10 10:44 RestoreFiles
396 0 0 Cancel 03-Sep-10 10:50 RestoreFiles
397 Full 1 1.773 G OK 04-Sep-10 09:20 BackupCatalog
398 Full 1 1.773 G OK 05-Sep-10 09:20 BackupCatalog
399 Full 1 1.773 G OK 06-Sep-10 09:20 BackupCatalog
====
Connecting to Storage daemon File at backup1.sauce.co.nz:9103
backup1-sd Version: 5.0.2 (28 April 2010) x86_64-unknown-linux-gnu redhat
Daemon started 02-Sep-10 16:04, 5 Jobs run since started.
Heap: heap=0 smbytes=20,130 max_bytes=156,854 bufs=79 max_bufs=109
Sizes: boffset_t=8 size_t=8 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
===================================================================
388 Full 1 1.773 G OK 29-Aug-10 09:21 BackupCatalog
389 Full 1 1.773 G OK 30-Aug-10 09:21 BackupCatalog
390 Full 1 1.773 G OK 31-Aug-10 09:21 BackupCatalog
391 Full 1 1.773 G OK 01-Sep-10 09:20 BackupCatalog
392 Full 1 1.773 G OK 02-Sep-10 09:21 BackupCatalog
393 Full 1 1.773 G OK 03-Sep-10 09:21 BackupCatalog
394 0 0 Error 03-Sep-10 10:24 RestoreFiles
397 Full 1 1.773 G OK 04-Sep-10 09:20 BackupCatalog
398 Full 1 1.773 G OK 05-Sep-10 09:20 BackupCatalog
399 Full 1 1.773 G OK 06-Sep-10 09:20 BackupCatalog
====
Device status:
Autochanger "HP_MSL2024" with devices:
Drive-1
Device "FileStorage" (/mnt/storage1/bacula) is not open.
Device "Drive-1" is not open or does not exist.
====
Used Volume status:
====
====
Connecting to Storage daemon flash_LTO-4 at flash.sauce.co.nz:9103
flash-sd Version: 5.0.2 (28 April 2010) x86_64-unknown-linux-gnu redhat
Daemon started 25-Jun-10 16:00, 20 Jobs run since started.
Heap: heap=33,366,016 smbytes=32,983,569 max_bytes=33,591,046 bufs=691
max_bufs=1,304
Sizes: boffset_t=8 size_t=8 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
===================================================================
333 Full 213,713 2.750 T OK 16-Jul-10 08:49 Archive
334 Full 213,713 2.750 T OK 16-Jul-10 16:14 Archive-BAK
340 Full 216,143 2.334 T OK 21-Jul-10 11:37 Archive
342 Full 216,143 2.334 T OK 21-Jul-10 18:01 Archive-BAK
351 0 0 OK 27-Jul-10 11:01 RestoreFiles
367 0 0 OK 11-Aug-10 14:38 RestoreFiles
369 0 0 OK 12-Aug-10 10:46 RestoreFiles
370 0 0 OK 12-Aug-10 10:55 RestoreFiles
383 0 0 OK 24-Aug-10 10:27 RestoreFiles
394 0 0 Error 03-Sep-10 10:24 RestoreFiles
====
Device status:
Device "FileStorage" (/mnt/exp1/bacula) is not open.
Device "flash_LTO-4" (/dev/nst0) is mounted with:
Volume: AR0030L4
Pool: *unknown*
Media type: LTO-4
Total Bytes Read=2,048 Blocks Read=2 Bytes/block=1,024
Positioned at File=0 Block=0
====
Used Volume status:
AR0030L4 on device "flash_LTO-4" (/dev/nst0)
Reader=0 writers=0 devres=0 volinuse=0
====
Attr spooling: 0 active jobs, 0 bytes; 12 total jobs, 296,418,507 max bytes.
====
Connecting to Client backup1-fd at backup1.sauce.co.nz:9102
backup1-fd Version: 5.0.2 (28 April 2010) x86_64-unknown-linux-gnu redhat
Daemon started 02-Sep-10 16:04, 0 Jobs run since started.
Heap: heap=0 smbytes=14,056 max_bytes=14,203 bufs=57 max_bufs=58
Sizeof: boffset_t=8 size_t=8 debug=0 trace=0
Running Jobs:
Director connected at: 07-Sep-10 07:19
No Jobs running.
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
268 Full 1,781,815 12.59 T OK 16-Jun-10 14:55 backup1-ICE
278 Full 1,854,488 12.13 T OK 22-Jun-10 21:02 backup1-ICE
294 Full 1,925,729 12.71 T OK 29-Jun-10 13:02 backup1-ICE
306 Full 1,916,271 12.46 T OK 06-Jul-10 14:11 backup1-ICE
312 17,019 113.8 G OK 07-Jul-10 10:13 RestoreFiles
313 458 2.151 G OK 07-Jul-10 10:27 RestoreFiles
328 20,029 206.2 G Cancel 14-Jul-10 10:52 RestoreFiles
331 432,102 3.121 T OK 14-Jul-10 23:15 RestoreFiles
345 Full 2,355,652 11.95 T OK 24-Jul-10 15:36 Archive
349 Full 2,355,652 11.95 T OK 28-Jul-10 21:28 Archive-BAK
====
Connecting to Client library1-fd at library1.sauce.co.nz:9102
library1-fd Version: 5.0.2 (28 April 2010) x86_64-unknown-linux-gnu redhat
Daemon started 19-Jul-10 08:41, 50 Jobs run since started.
Heap: heap=0 smbytes=12,969 max_bytes=151,428 bufs=56 max_bufs=84
Sizeof: boffset_t=8 size_t=8 debug=0 trace=0
Running Jobs:
Director connected at: 07-Sep-10 07:19
No Jobs running.
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
387 Full 1 1.773 G OK 28-Aug-10 09:21 BackupCatalog
388 Full 1 1.773 G OK 29-Aug-10 09:21 BackupCatalog
389 Full 1 1.773 G OK 30-Aug-10 09:21 BackupCatalog
390 Full 1 1.773 G OK 31-Aug-10 09:21 BackupCatalog
391 Full 1 1.773 G OK 01-Sep-10 09:20 BackupCatalog
392 Full 1 1.773 G OK 02-Sep-10 09:21 BackupCatalog
393 Full 1 1.773 G OK 03-Sep-10 09:21 BackupCatalog
397 Full 1 1.773 G OK 04-Sep-10 09:20 BackupCatalog
398 Full 1 1.773 G OK 05-Sep-10 09:20 BackupCatalog
399 Full 1 1.773 G OK 06-Sep-10 09:20 BackupCatalog
====
Connecting to Client flash-fd at flash.sauce.co.nz:9102
flash-fd Version: 5.0.2 (28 April 2010) x86_64-unknown-linux-gnu redhat
Daemon started 25-Jun-10 16:00, 20 Jobs run since started.
Heap: heap=524,288 smbytes=12,874 max_bytes=212,903 bufs=56 max_bufs=174
Sizeof: boffset_t=8 size_t=8 debug=0 trace=0
Running Jobs:
Director connected at: 07-Sep-10 07:19
No Jobs running.
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
333 Full 213,713 2.750 T OK 16-Jul-10 08:49 Archive
334 Full 213,713 2.750 T OK 16-Jul-10 16:13 Archive-BAK
340 Full 216,143 2.334 T OK 21-Jul-10 11:37 Archive
342 Full 216,143 2.334 T OK 21-Jul-10 18:01 Archive-BAK
351 2 98.28 G OK 27-Jul-10 11:01 RestoreFiles
367 105 45.17 M OK 11-Aug-10 14:38 RestoreFiles
369 4 1.702 M OK 12-Aug-10 10:46 RestoreFiles
370 10 12.95 M OK 12-Aug-10 10:55 RestoreFiles
383 87 2.011 G OK 24-Aug-10 10:27 RestoreFiles
394 0 0 Error 03-Sep-10 10:24 RestoreFiles
====
Regards,
Richard
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|