Bacula-users

Re: [Bacula-users] unload drive failing

2010-06-22 17:41:48
Subject: Re: [Bacula-users] unload drive failing
From: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Tue, 22 Jun 2010 14:38:06 -0700
Yes, I do. Though, when I try to do 'update volume' the volume doesn't appear 
in this list to set to append. I was thinking that using 'label' would add the 
volume to the catalog/pool. Or maybe I need to 'add' the volume to a pool or 
catalog?

-JJ

*update
Update choice:
     1: Volume parameters
     2: Pool from resource
     3: Slots from autochanger
     4: Long term statistics
Choose catalog item to update (1-4): 1
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
Defined Pools:
     1: Onsite
     2: Catalog
     3: Offsite
     4: Scratch
Select the Pool (1-4): 3
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+--
                                                                                
                         ----+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | 
VolRetention | Recycle | S                                                      
                                                   lot | InChanger | MediaType 
| LastWritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+--
                                                                                
                         ----+-----------+-----------+---------------------+
|      36 | KL0388     | Full      |       1 | 511,433,975,808 |      513 |   
15,120,000 |       1 |                                                          
                                                   0 |         0 | LTO2      | 
2010-06-21 15:57:04 |
|      37 | KL0354     | Full      |       1 | 468,156,874,752 |      469 |   
15,120,000 |       1 |                                                          
                                                   0 |         0 | LTO2      | 
2010-06-21 18:38:20 |
|      38 | KL0357     | Full      |       1 | 306,796,170,240 |      307 |   
15,120,000 |       1 |                                                          
                                                   0 |         0 | LTO2      | 
2010-06-19 05:38:20 |
|      39 | KL0368     | Error     |       1 | 112,350,099,456 |      113 |   
15,120,000 |       1 |                                                          
                                                   0 |         0 | LTO2      | 
2010-06-18 11:40:45 |
|      40 | KL0360     | Full      |       1 | 616,387,064,832 |      621 |   
15,120,000 |       1 |                                                          
                                                   0 |         0 | LTO2      | 
2010-06-22 05:08:44 |
|      41 | KL0308     | Full      |       1 | 600,115,074,048 |      601 |   
15,120,000 |       1 |                                                          
                                                   0 |         0 | LTO2      | 
2010-06-22 01:20:24 |
|      42 | KL0421     | Full      |       1 | 508,448,102,400 |      510 |   
15,120,000 |       1 |                                                          
                                                   0 |         0 | LTO2      | 
2010-06-21 21:47:48 |
|      71 | KL0307     | Full      |       1 | 366,277,976,064 |      367 |   
15,552,000 |       1 |                                                          
                                                   1 |         1 | LTO2      | 
2010-06-22 14:00:12 |
|      72 | KL0401     | Append    |       1 |  45,997,056,000 |       46 |   
15,552,000 |       1 |                                                          
                                                   2 |         1 | LTO2      | 
2010-06-22 14:33:51 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+--
                                                                                
                         ----+-----------+-----------+---------------------+
Enter *MediaId or Volume name: KL0432
sql_get.c:1062 Media record for Volume "KL0432" not found.
*

-----Original Message-----
From: John Drescher [mailto:drescherjm AT gmail DOT com] 
Sent: Tuesday, June 22, 2010 2:31 PM
To: Jeremiah D. Jester
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] unload drive failing

On Tue, Jun 22, 2010 at 5:27 PM, Jeremiah D. Jester <jjest AT u.washington DOT 
edu> wrote:
> Hi John,
> Thans. Here is what I did. Any thoughts on where I'm going wrong?
> JJ
>
> *release
> The defined Storage resources are:
>     1: File
>     2: Tape
> Select Storage resource (1-2): 2
> Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
> Enter autochanger drive[0]: 1
> 3301 Issuing autochanger "loaded? drive 1" command.
> 3302 Autochanger "loaded? drive 1", result: nothing loaded.
> 3022 Device "Drive2" (/dev/st1) released.
>
> *unmount
> The defined Storage resources are:
>     1: File
>     2: Tape
> Select Storage resource (1-2): 2
> Enter autochanger drive[0]: 1
> 3301 Issuing autochanger "loaded? drive 1" command.
> 3302 Autochanger "loaded? drive 1", result: nothing loaded.
> 3002 Device "Drive2" (/dev/st1) unmounted.
>
>
> *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: KL0423
> Enter slot (0 or Enter for none): 3
> Defined Pools:
>     1: Onsite
>     2: Catalog
>     3: Offsite
>     4: Scratch
> Select the Pool (1-4): 3
> Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
> Sending label command for Volume "KL0423" Slot 3 ...
> 3301 Issuing autochanger "loaded? drive 1" command.
> 3302 Autochanger "loaded? drive 1", result: nothing loaded.
> 3304 Issuing autochanger "load slot 3, drive 1" command.
> 3992 Bad autochanger "load slot 3, drive 1": ERR=Child exited with code 1.
> Results=Drive 1 Full (Storage Element 0 loaded)
>
> Label command failed for Volume KL0423.
> Do not forget to mount the drive!!!
>

Why are you labeling volumes for your autochanger? I thought it had a barcode 
reader.


John

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>