I’m having problems labeling a couple new volumes. I
tried entering ‘label barcodes’, which works on most tapes but I
have several it that it doesn’t return a status, pool or media type
for. See volume ‘000107’ that I singled out below.
I then try to ‘label’ the volume but bacula
complains that it is already labeled. When I attempt to change the volume
status I get a sql error stating that no volume exists.
Does anyone know what is going on? See bacula output below
for more info.
Thanks,
JJ
*status slots
Slot | Volume Name
| Status | Media
Type |
Pool |
------+------------------+-----------+----------------------+--------------------|
..
18*| 000107
| ?
|
?
|
? |
..
*label
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]: 1
Enter new Volume name: 000107
Enter slot (0 or Enter for none): 18
Defined Pools:
1: Onsite
2: Catalog
3: Offsite
4: Scratch
Select the Pool (1-4): 4
Connecting to Storage daemon Tape at
bacula.microslu.washington.edu:9103 ...
Sending label command for Volume "000107" Slot 18
...
3307 Issuing autochanger "unload slot 15, drive 1"
command.
3304 Issuing autochanger "load slot 18, drive 1"
command.
3305 Autochanger "load slot 18, drive 1", status
is OK.
3920 Cannot label Volume because it is already labeled:
"000107"
Label command failed for Volume 000107.
Do not forget to mount the drive!!!
*mount
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]: 1
Enter autochanger slot: 18
3001 Device "Drive2" (/dev/nst1) is mounted with
Volume "000107"
*update volume=000107
Parameters to modify:
1: Volume Status
2: Volume Retention Period
3: Volume Use Duration
4: Maximum Volume Jobs
5: Maximum Volume Files
6: Maximum Volume Bytes
7: Recycle Flag
8: Slot
9: InChanger Flag
10: Volume Files
11: Pool
12: Volume from Pool
13: All Volumes from Pool
14: All Volumes from all Pools
15: Enabled
16: RecyclePool
17: Action On Purge
18: Done
Select parameter to modify (1-18): 1
sql_get.c:1062 Media record for Volume "000107"
not found.
Jeremiah Jester
Senior Informatics Specialist
UW Microbiology - Katze Lab
P: 206-732-6185