Bacula-users

Re: [Bacula-users] Device is BLOCKED waiting for mount of volume "TapeVol-0001"

2008-12-15 18:13:38
Subject: Re: [Bacula-users] Device is BLOCKED waiting for mount of volume "TapeVol-0001"
From: Arno Lehmann <al AT its-lehmann DOT de>
To: "Bacula-users AT lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 16 Dec 2008 00:11:06 +0100
Hi,

15.12.2008 23:34, Arch Willingham wrote:
> The file backups work fine but I am havign problems backing up to a tape 
> drive. Every time I try to run a test, it hangs on 
> 
> Starting backup job Group Tape job ..
> 
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> A job name must be specified.
> The defined Job resources are:
>     
>     10: Group Tape job
> Select Job resource (1-10): 10
> Run Backup job
> JobName:  Group Tape job
> Level:    Full
> Client:   group-fd
> FileSet:  Group server files - test data only
> Pool:     Tape Backups Pool - weekly (From Job resource)
> Storage:  Tape Backups (From Job resource)
> When:     2008-12-15 17:14:23
> Priority: 10
> OK to run? (yes/mod/no):
> 
> .. the backup job is now running. When complete, the results will be shown 
> below ..
> 
> 15-Dec 17:14 bacula-dir JobId 96: Start Backup JobId 96, 
> Job=Group_Tape_job.2008-12-15_17.14.30
> 15-Dec 17:15 bacula-dir JobId 96: Using Device "Sony_SDX-400V"
> 15-Dec 17:16 bacula-sd JobId 96: Please mount Volume "TapeVol-0001" or label 
> a new one for:
>     Job:          Group_Tape_job.2008-12-15_17.14.30
>     Storage:      "Sony_SDX-400V" (/dev/nst0)
>     Pool:         Tape Backups Pool - weekly
>     Media type:   8mmAIT-1
> 
> 
>  and there it sits. If I go to the status screen, I get a "is waiting for a 
> mount request" (I'm using webmin) on teh tape.

Have you ever tried mounting the requested tape, or labeling a new one?

...
> If I close then run "/etc/rc.d/init.d/bacula-sd stop" and then run: 
> 
> 
> btape -c bacula-sd.conf /dev/nst0
> 
> I get this:
> 
> Tape block granularity is 1024 bytes.
> btape: butil.c:285 Using device: "/dev/nst0" for writing.
> btape: btape.c:372 open device "Sony_SDX-400V" (/dev/nst0): OK
> *test

readlabel would be a better choice here - test overwrites the tape, 
i.e. it removes the tape label, too...

Arno


-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users