Re: [Bacula-users] newbie - problem labeling / adding tapes to pool
2012-09-14 16:58:39
Hi Gani,
Thanks for the response.
[root@pmappp01 bin]# ./mtx-changer /dev/sg1 list 1:TPMBU011 2:TPMBU002 3:TPMBU001 4:TPMBU005 5:TPMBU007 6: 7: 8:TPMBU003
[root@pmappp01 bin]# mtx -f /dev/sg1 status
Storage Changer /dev/sg1:1 Drives, 8 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 8 Loaded):VolumeTag = TPMBU003 Storage Element 1:Full :VolumeTag=TPMBU011
Storage Element 2:Full :VolumeTag=TPMBU002 Storage Element 3:Full :VolumeTag=TPMBU001 Storage Element 4:Full :VolumeTag=TPMBU005
Storage Element 5:Full :VolumeTag=TPMBU007 Storage Element 6:Full Storage Element 7:Full Storage Element 8:Empty
I also did an: unmount, and then: update slots scan. On slots 6,7 I got the following errors:
3304 Issuing autochanger "load slot 6, drive 0" command. 3305 Autochanger "load slot 6, drive 0", status is OK. block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.
3902 Cannot mount Volume on Storage Device ""HP-0" (/dev/nst0)" because: Requested Volume "" on "HP-0" (/dev/nst0) is not a Bacula labeled Volume, because: ERR=block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.
No VolName for Slot=6 InChanger set to zero. Connecting to Storage daemon HP Autoloader at pmappp01.tpmcomm.com:9103 ... 3307 Issuing autochanger "unload slot 6, drive 0" command.
3304 Issuing autochanger "load slot 7, drive 0" command. 3305 Autochanger "load slot 7, drive 0", status is OK. block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.
3902 Cannot mount Volume on Storage Device ""HP-0" (/dev/nst0)" because: Requested Volume "" on "HP-0" (/dev/nst0) is not a Bacula labeled Volume, because: ERR=block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.
No VolName for Slot=7 InChanger set to zero.
I'm going to try different tapes and see if it can read those barcodes,
Simon Tyler | Systems Administrator
TPM Communications | 416-408-2727 x286
simon AT tpmcomm DOT com
On Wed, Sep 5, 2012 at 11:38 PM, ganiuszka <ganiuszka AT gmail DOT com> wrote:
W dniu 06.09.2012 00:37, Simon Tyler pisze:
Hello,
I'm having some issues with bacula.
This is a new install, I have not used bacula before. So far I've
successfully backed up from a client to a file on the bacula server, now
I'm trying to get autoloader working so I can backup to tape. I want to
make it so all tapes or Volumes are a member of Default Pool.
I'm trying to label tapes and set them up so they're available in a Pool
for backups. It appears that two slots are not recognized as containing
bacula tapes and I'm not sure how to fix that. I think almost all of the
tapes were used in our previous backup solution, so I don't know why
these two slots are misbehaving. If I try the "label barcodes" command,
it offers to label slots 1-6, and 8, but not the tapes in mystery slots
6 and 7.
Please let me know if I can supply more information, or if I should be
posting somewhere else.
Hi,
It means that probably there is problem with reading tape labels in slots 6 and 7. Are you sure that tapes in slots 6 and 7 have sticked correct labels?
Could you show us output from below commands?
mtx -f /dev/sgX status
(/dev/sgX is special file of changer device)
and from mtx-changer Bacula script:
mtx-changer /dev/sgX list
(/dev/sgX is special file of changer device).
Regards.
gani
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|