Bacula-users

Re: [Bacula-users] unload drive failing

2010-06-22 17:31:00
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:27:22 -0700
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!!!

*mount
The defined Storage resources are:
     1: File
     2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]: 1
Enter autochanger 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)

3301 Issuing autochanger "loaded? drive 1" command.
3302 Autochanger "loaded? drive 1", result: nothing loaded.
3001 Mounted Volume: 000109
3001 Device "Drive2" (/dev/st1) is mounted with Volume "000109"

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

> I have an ADIC scalar 24 autoloader with two drives. Drive 1 
> (/dev/st0) is currently being written to via a bacula job. Drive2 
> (/dev/st1) has a volume mounted in the drive but is not being used. 
> Both were previously working.The problem is that Drive 2 won't eject/unload 
> the current volume.
>
You can not unload volumes outside of bacula when it has them mounted.

Issue release in bacula to get bacula to unload.

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>