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

2018-01-19 Thread Ryan Butler
Josh,

Permissions do look to be accurate. SELinux is disabled on this server.

Ryan Butler
Systems Administrator

[cid:image002.png@01D3913E.03AFD050]<https://www.inflexion.org/>

From: Josh Fisher [mailto:jfis...@pvct.com]
Sent: Friday, January 19, 2018 7:27 AM
To: Ryan Butler ; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Device is BLOCKED waiting for mount of volume


On 1/18/2018 2:21 PM, Ryan Butler wrote:
Hello all,

I recently inherited a Bacula installation (version 7.0.5, running on a CentOS 
6 server), but have no experience with Bacula. Full backups go to tape, with 
incremental backups going to a local disk on the Bacula server. The tape 
backups have so far been (mostly) successful. However, the incremental backups 
have been having consistent problems that I'm really not sure what to do to 
troubleshoot.

The backups will frequently get stuck with this showing up when I do "status 
storage":

Device "BaremetalIncrStorage" (/vol-back2/BaremetalIncr) is not open.
Device is BLOCKED waiting for mount of volume "BareIncr-34198",
   Pool:BareIncrWeekly
   Media type:  File

The first thing to check is that the user that bacula-sd runs as, likely 
bacula:tape, has write permission on /vol-back2/BaremetalIncr. Keep in mind 
that Centos 6 by default has SELinux enabled and the security context must also 
allow bacula-sd to write.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2018-01-19 Thread Josh Fisher


On 1/18/2018 2:21 PM, Ryan Butler wrote:


Hello all,

I recently inherited a Bacula installation (version 7.0.5, running on 
a CentOS 6 server), but have no experience with Bacula. Full backups 
go to tape, with incremental backups going to a local disk on the 
Bacula server. The tape backups have so far been (mostly) successful. 
However, the incremental backups have been having consistent problems 
that I’m really not sure what to do to troubleshoot.


The backups will frequently get stuck with this showing up when I do 
“status storage”:


Device "BaremetalIncrStorage" (/vol-back2/BaremetalIncr) is not open.

    Device is BLOCKED waiting for mount of volume "BareIncr-34198",

   Pool:    BareIncrWeekly

   Media type:  File



The first thing to check is that the user that bacula-sd runs as, likely 
bacula:tape, has write permission on /vol-back2/BaremetalIncr. Keep in 
mind that Centos 6 by default has SELinux enabled and the security 
context must also allow bacula-sd to write.






--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Device is BLOCKED waiting for mount of volume...

2012-06-29 Thread John Drescher
> bconsole > mount ?
> Yes.

Did you check to see if the volume file bacula wants exists and is
readable by user bacula?

John

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Device is BLOCKED waiting for mount of volume...

2012-06-29 Thread John Drescher
> I've just got this messagem from bconsole > status sd when a backup job
> runs. Also got is waiting for a mount request on the running jobs.
> I got other jobs from this server that runs normally. I've tried to restart
> bacula-dir and bacula-sd but it doesn't help. The volumes are stored in
> files on a disk and the disk got lots of space free...
>
> Which steps should I take first to solve this?
>

Did you try to mount?

John

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Device is BLOCKED waiting for mount of volume -- backups failing (bacula 5.2.2)

2011-11-30 Thread mark . bergman
[Replying to my own post to clarify that unloading/loading/mounting does NOT
solve the issue.]


In the message dated: Wed, 30 Nov 2011 17:52:12 EST,
The pithy ruminations from mark.berg...@uphs.upenn.edu on 
<[Bacula-users] Device is BLOCKED waiting for mount of volume -- backups 
failing (bacula 5
.2.2)> were:
=> I just upgraded from 5.0.2 to 5.2.2 in the hope that the bug fixes solve a 
persistent problem th
=> at we've been having (for previous reports and more details, see [1]).

[SNIP!]

=> 
=> 
=> Unloading the tape from outside bacula (with mtx), then reloading the tape, 
running "update slot
=> s", and then "mount" from within bconsole causes bacula to correctly 
recognize the presence of t
=> he tape and continue the backup.

I posted too soon...that sequence of operations does cause bacula to recognize
the presence of the tape (ie., "status stor" gives the correct information),
but bacula still does not mount the tape, still asks for the volume (or for a
new one to be labeled), and backups do not continue.

If I change the status of the volume that bacula is requesting--the tape
already in the drive but unmounted--to "disabled", then bacula unloads the
tape, selects a different tape, and the backup proceeds. I can then change the
volume status to "append" and the tape _will_ be reused in the future.

This does not seem to be a problem with the media--I've seen this issue with
at least 10 tapes, and later backups will append to those tapes.

I'd appreciate any troubleshooting suggestions.

Thanks,

Mark

=> 
=> Are there any suggestions?
=> 
=> Thanks,
=> 
=> Mark
=> 
=> [1] 
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/de
=> vice-is-blocked-waiting-for-mount-of-volume-wh-113226/
=> 
=> 
--
[Advertisement deleted]

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] "Device is BLOCKED waiting for mount of volume" when the volume is already in the drive

2011-09-03 Thread dilbert

i  had the same issue one year ago when i tried the "virtual full" feature. 
.

i also posted the problem on the devel list but nobody seems interested in 
fixing this bug.

i switched to rsync disk based backups

maybe you'll find a suitable solution .


Dil

"Mark Bergman"  a écrit dans le message de 
news:20110902163018.02029...@uphs.upenn.edu...
> We're still experiencing the same problem I described last week (please 
> see below). The only update I can offer is that the problem is not 
> dependent on the specific tape drive. If all tapes are unloaded and bacula 
> loads a volume into drive0 (as opposed to drive1 as described below), then 
> bacula still waits for the drive to mount.
>
> Are there any suggestions for a fix?
>
> Thanks,
>
> Mark
>
> --
> Begin forwarded message:
>
> Date: Fri, 26 Aug 2011 16:08:00 -0400
> From: Mark Bergman 
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] bacula does not mount tape that's already loaded
>
>
>
> We're using Bacula 5.0.2 with a 2-drive tape library. Jobs are waiting on 
> a
> mount request for a tape that's already in the desired drive. The tape was
> loaded by bacula (not manually), but does not get mounted.
>
> Bacula and "mtx" both agree that the requested tape (004037) is in drive1, 
> but
> bacula does not automount the tape and it cannot be mounted manually.
>
> The tape has been used previously, so it does not need to be labeled. The
> option "AutomaticMount" is set to "yes" for both tape drives in
> bacula-sd.conf.
>
> This problem persists after restarting bacula-sd and bacula-dir.
>
> If I unload the tape (release or umount w/in bacula, or via mtx), bacula 
> successfully reloads the tape into the correct drive, but it does not 
> mount it.
>
> Any suggestions?
>
> Thanks,
>
> Mark
>
> Selected command output below:
> 
>#stat dir
>
>Running Jobs:
>Console connected at 26-Aug-11 15:01
> JobId Level   Name   Status
>==
> 40222 Increme  client.2011-08-25_22.45.00_03 is waiting for a mount
>
>#stat stor
>Running Jobs:
>Writing: Incremental Backup job client JobId=40222 Volume="004037"
>pool="Incremental" device="drv1" (/dev/tape1)
>spooling=0 despooling=0 despool_wait=0
>Files=0 Bytes=0 Bytes/sec=0
>FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
>
>Device status:
>Autochanger "ml6000" with devices:
>   "drv0" (/dev/tape0)
>   "drv1" (/dev/tape1)
>Device "drv0" (/dev/tape0) is mounted with:
>Volume:  004035
>Pool:Archive
>Media type:  LTO2
>Slot 1 is loaded in drive 0.
>Total Bytes=15,398,240,256 Blocks=238,687 Bytes/block=64,512
>Positioned at File=6 Block=0
>Device "drv1" (/dev/tape1) open but no Bacula volume is
>currently mounted.
>Device is BLOCKED waiting for mount of volume "004037",
>   Pool:Incremental
>   Media type:  LTO2
>Slot 2 is loaded in drive 1.
>Total Bytes Read=11,999,232 Blocks Read=186 Bytes/block=64,512
>Positioned at File=0 Block=0
>
>
>Used Volume status:
>004035 on device "drv0" (/dev/tape0)
>Reader=0 writers=0 devres=0 volinuse=0
>004037 on device "drv1" (/dev/tape1)
>Reader=0 writers=0 devres=5 volinuse=0
>
>#mount storage=ml6000 drive=1 slot=2
>3001 OK mount requested. Specified slot ignored. Device="ml6000-drv1" 
> (/dev/tape1)
>26-Aug 15:30 sbia-infr-vbacula JobId 40222: Please mount Volume 
> "004037" or
>label a new one for:
>Job:  client.2011-08-25_22.45.00_03
>Storage:  "ml6000-drv1" (/dev/tape1)
>Pool: Incremental
>Media type:   LTO2
>#
>
># query
>11
>
>+---+---+---++
>| Jobs  | Files | Bytes | VolumeName |
>+---+---+---++
>|   179 |49,555,030 |25,913,161,291,440 | 004037 |
>+---+---+---++
>
>
>
>
> 
>
>mtx -f /dev/changer status | head -5
>  Storage Changer /dev/changer-ml6000:2 Drives, 40 Slots ( 6 
> Import/Export )
>Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = 
> 004035
>Data Transfer Element 1:Full (Storage Element 2 Loaded):VolumeTag = 
> 004037
>  Storage Element 1:Empty:VolumeTag=
>  Storage Element 2:Empty:VolumeTag=
> 
> Mark Bergman  voice: 215-662-7310
> mark.berg...@uphs.upenn.edu fax: 215-614-0266
> System Administrator Section of Biomedical Image Analysis
> Department of RadiologyUniversity of Pennsylvania
>  PGP Key: https://www.rad.upenn.edu/sbia/bergm

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

2008-12-16 Thread Arno Lehmann
Hi,

16.12.2008 03:00, Arch Willingham wrote:
> 1. "Have you ever tried mounting the requested tape, or labeling a new one?" 
> I tried mounting it from within Webmin but it would never mount.

I know virtually nothing about webmin's Bacula module beyond the fact 
that it exists, so I can't help you there.

I would recommend you getting used to bconsole, as I believe the 
webmin module is neither complete nor perfect, and the console 
programs are the only fully supported ways of working with Bacula.

That said, you should start verifying you can run bconsole and connect 
to your DIR.
the command 'sta dir' should gie you some output, and 'quit' closes 
bconsole.

Then, read the console chapter of the manual :-)

> I am not very proficient with Bacula and I have yet to figure how to label 
> one so that it increments on the fly. Can you help?

In bconsole issue the 'label' command. You will be prompted with some 
menus.

> 2. " readlabel would be a better choice here - test overwrites the tape, i.e. 
> it removes the tape label, too..."
> 
> Ok...I did the readlable commandthis is what it says:
> 
> 
> tape: btape.c:422 Volume has no label.

Ok, this is a tape without a Bacula label. You can label it from bconsole.

Arno

> Volume Label:
> Id: **error**VerNo : 0
> VolName   :
> PrevVolName   :
> VolFile   : 0
> LabelType : Unknown 0
> LabelSize : 0
> PoolName  :
> MediaType :
> PoolType  :
> HostName  :
> Date label written: -4712-01-01 at 00:00
> 
> 
> Does any of this help?
> 
> Thanks!
> 
> Arch
> 
> -Original Message-
> From: Arno Lehmann [mailto:a...@its-lehmann.de] 
> Sent: Monday, December 15, 2008 6:11 PM
> To: Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Device is BLOCKED waiting for mount of volume 
> "TapeVol-0001"
> 
> 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2008-12-15 Thread Arch Willingham
1. "Have you ever tried mounting the requested tape, or labeling a new one?" 
I tried mounting it from within Webmin but it would never mount. I am not very 
proficient with Bacula and I have yet to figure how to label one so that it 
increments on the fly. Can you help?

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

Ok...I did the readlable commandthis is what it says:


tape: btape.c:422 Volume has no label.

Volume Label:
Id: **error**VerNo : 0
VolName   :
PrevVolName   :
VolFile   : 0
LabelType : Unknown 0
LabelSize : 0
PoolName  :
MediaType :
PoolType  :
HostName  :
Date label written: -4712-01-01 at 00:00


Does any of this help?

Thanks!

Arch

-Original Message-
From: Arno Lehmann [mailto:a...@its-lehmann.de] 
Sent: Monday, December 15, 2008 6:11 PM
To: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Device is BLOCKED waiting for mount of volume 
"TapeVol-0001"

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2008-12-15 Thread Arno Lehmann
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2007-02-08 Thread Aaron Knister
Did you restart the storage daemon and director after making those 
changes? Also run an update slots on the ExabytePacketloader itself as 
opposed to the VXA-320. I'm about out of ideas...

Marius Dorlöchter wrote:
> Thank you for your reply. I have recorded the changes in my 
> configuration files. The failure is the same. But it appears only when 
> I try to write on a new (prelabeled) volume. Can this be the problem?
>
> Best Regards!
>
> Marius
>
>
> Aaron Knister schrieb:
>> The problem is that your jobs are configured to use the tape drive as 
>> the storage as opposed to the loader.
>>
>> The following line in your dir config -
>>
>> Storage = VXA-320
>>
>>
>> Should be changed to
>>
>> Storage = ExabytePacketloader1Ux10
>>
>> Also add this line to your sd config in the VXA-320 section-
>>
>> Changer Device = /dev/sg1
>>
>>
>>
>> You have to tell your jobs to use the Autochanger device instead of 
>> the actual tape drive. If you use the actual tape drive then its not 
>> aware of the autochanging capabilities of your loader.
>>
>> I hope that makes sense.
>>
>> -Aaron
>>
>> Marius Dorlöchter wrote:
>>> Hello,
>>>
>>> it's my fist post. Please exused my worse english. I have already 
>>> entered a bug report: http://bugs.bacula.org/view.php?id=774. But i 
>>> am not sure that it is a bug.
>>> So that is my problem.
>>>
>>> I have an autochanger Exabyte Packetloader 10. When a Job starts it 
>>> load the Tape but it is not able to mount the Volume.
>>>
>>> Device status:
>>> Autochanger "ExabytePacketloader1Ux10" with devices:
>>>"VXA-320" (/dev/st0)
>>> Device "FileStorage" (/var/bacula) is not open.
>>> Device "VXA-320" (/dev/st0) open but no Bacula volume is currently 
>>> mounted.
>>> Device is BLOCKED waiting for mount of volume "A007".
>>> Slot 7 is loaded in drive 0.
>>> Total Bytes Read=0 Blocks Read=0 Bytes/block=0
>>> Positioned at File=0 Block=0
>>> 
>>>
>>> In Use Volume status:
>>> A007 on device "VXA-320" (/dev/st0)
>>>
>>> A mount of the device don't help. I have to unmount and then to 
>>> mount it. Then the job runs. But the failure returns every night.
>>>
>>>
>>> bacula-sd.conf
>>> --
>>> ...
>>> Autochanger {
>>> Name = Exabyte Packetloader 1Ux10
>>> Device = VXA-320
>>> Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>>> Changer Device = /dev/sg1
>>> }
>>>
>>> Device {
>>> Name = VXA-320
>>> Drive Index = 0
>>> Media Type = X-23
>>> Archive Device = /dev/st0
>>> AutomaticMount = yes;
>>> AlwaysOpen = yes;
>>> RemovableMedia = yes;
>>> RandomAccess = no;
>>> AutoChanger = yes
>>> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
>>> }
>>> ...
>>>
>>> bacuala.dir.conf
>>> 
>>> ...
>>> Job {
>>>   Name = "NightlySave-server02"
>>>   Type = Backup
>>>   Level = Full
>>>   Client = server02-fd
>>>   FileSet = "Full Set"
>>>   Messages = Standard
>>>   Storage = VXA-320
>>>   Pool = Default
>>>   Schedule = "NightlySave"
>>>   Run Before Job = "/etc/bacula/before_job"
>>> }
>>>
>>> Schedule {
>>>   Name = "NightlySave"
>>>   Run = Level=Full Pool=MonatsLibraryPool 1st sun at 23:05
>>>   Run = Level=Full Pool=WochenLibraryPool 2nd-5th sun at 23:05
>>>   Run = Level=Differential Pool=MontagPool Monday at 23:05
>>>   Run = Level=Differential Pool=DienstagPool Tuesday at 23:05
>>>   Run = Level=Differential Pool=MittwochPool Wednesday at 23:05
>>>   Run = Level=Differential Pool=DonnerstagPool Thursday at 23:05
>>>   Run = Level=Differential Pool=FreitagPool Friday at 23:05
>>>   Run = Level=Full Pool=MonatsCyclePool 1st sun at 22:55
>>>   Run = Level=Full Pool=WochenCyclePool 2nd-5th sun at 22:55
>>> }
>>>
>>> Pool {
>>>   Name = MontagPool
>>>   Pool Type = Backup
>>>   Recycle = yes
>>>   AutoPrune = yes
>>>   Volume Retention = 6d
>>> }
>>> ...
>>>
>>> before_job
>>> --
>>> bconsole <>> update slots VXA-320
>>> EOF
>>>
>>>
>>> Thanks for your help.
>>>
>>> Regards!
>>>
>>> mortice
>>>
>>> - 
>>>
>>> Using Tomcat but need to do more? Need to support web services, 
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your 
>>> job easier.
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 
>>>
>>> ___
>>> Bacula-users mailing list
>>> Bacula-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>
>>>   
>>
>
>


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_

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

2007-02-08 Thread Marius Dorlöchter
Thank you for your reply. I have recorded the changes in my configuration 
files. The failure is the same. But it appears only when I
try to write on a new (prelabeled) volume. Can this be the problem?

Best Regards!

Marius

> Aaron Knister schrieb:
> > The problem is that your jobs are configured to use the tape drive as
> > the storage as opposed to the loader.
> >
> > The following line in your dir config -
> >
> > Storage = VXA-320
> >
> >
> > Should be changed to
> >
> > Storage = ExabytePacketloader1Ux10
> >
> > Also add this line to your sd config in the VXA-320 section-
> >
> > Changer Device = /dev/sg1
> >
> >
> >
> > You have to tell your jobs to use the Autochanger device instead of the
> > actual tape drive. If you use the actual tape drive then its not aware
> > of the autochanging capabilities of your loader.
> >
> > I hope that makes sense.
> >
> > -Aaron
> >
> > Marius Dorlöchter wrote:
> >> Hello,
> >>
> >> it's my fist post. Please exused my worse english. I have already
> >> entered a bug report: http://bugs.bacula.org/view.php?id=774. But i am
> >> not sure that it is a bug.
> >> So that is my problem.
> >>
> >> I have an autochanger Exabyte Packetloader 10. When a Job starts it
> >> load the Tape but it is not able to mount the Volume.
> >>
> >> Device status:
> >> Autochanger "ExabytePacketloader1Ux10" with devices:
> >>"VXA-320" (/dev/st0)
> >> Device "FileStorage" (/var/bacula) is not open.
> >> Device "VXA-320" (/dev/st0) open but no Bacula volume is currently
> >> mounted.
> >> Device is BLOCKED waiting for mount of volume "A007".
> >> Slot 7 is loaded in drive 0.
> >> Total Bytes Read=0 Blocks Read=0 Bytes/block=0
> >> Positioned at File=0 Block=0
> >> 
> >>
> >> In Use Volume status:
> >> A007 on device "VXA-320" (/dev/st0)
> >>
> >> A mount of the device don't help. I have to unmount and then to mount
> >> it. Then the job runs. But the failure returns every night.
> >>
> >>
> >> bacula-sd.conf
> >> --
> >> ...
> >> Autochanger {
> >> Name = Exabyte Packetloader 1Ux10
> >> Device = VXA-320
> >> Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
> >> Changer Device = /dev/sg1
> >> }
> >>
> >> Device {
> >> Name = VXA-320
> >> Drive Index = 0
> >> Media Type = X-23
> >> Archive Device = /dev/st0
> >> AutomaticMount = yes;
> >> AlwaysOpen = yes;
> >> RemovableMedia = yes;
> >> RandomAccess = no;
> >> AutoChanger = yes
> >> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> >> }
> >> ...
> >>
> >> bacuala.dir.conf
> >> 
> >> ...
> >> Job {
> >>   Name = "NightlySave-server02"
> >>   Type = Backup
> >>   Level = Full
> >>   Client = server02-fd
> >>   FileSet = "Full Set"
> >>   Messages = Standard
> >>   Storage = VXA-320
> >>   Pool = Default
> >>   Schedule = "NightlySave"
> >>   Run Before Job = "/etc/bacula/before_job"
> >> }
> >>
> >> Schedule {
> >>   Name = "NightlySave"
> >>   Run = Level=Full Pool=MonatsLibraryPool 1st sun at 23:05
> >>   Run = Level=Full Pool=WochenLibraryPool 2nd-5th sun at 23:05
> >>   Run = Level=Differential Pool=MontagPool Monday at 23:05
> >>   Run = Level=Differential Pool=DienstagPool Tuesday at 23:05
> >>   Run = Level=Differential Pool=MittwochPool Wednesday at 23:05
> >>   Run = Level=Differential Pool=DonnerstagPool Thursday at 23:05
> >>   Run = Level=Differential Pool=FreitagPool Friday at 23:05
> >>   Run = Level=Full Pool=MonatsCyclePool 1st sun at 22:55
> >>   Run = Level=Full Pool=WochenCyclePool 2nd-5th sun at 22:55
> >> }
> >>
> >> Pool {
> >>   Name = MontagPool
> >>   Pool Type = Backup
> >>   Recycle = yes
> >>   AutoPrune = yes
> >>   Volume Retention = 6d
> >> }
> >> ...
> >>
> >> before_job
> >> --
> >> bconsole < >> update slots VXA-320
> >> EOF
> >>
> >>
> >> Thanks for your help.
> >>
> >> Regards!
> >>
> >> mortice
> >>
> >> 
> >>- Using Tomcat but need to do more? Need to support web services,
> >> security? Get stuff done quickly with pre-integrated technology to make
> >> your job easier.
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> >> Geronimo
> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> ___
> >> Bacula-users mailing list
> >> Bacula-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/l

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

2007-02-08 Thread Marius Dorlöchter
Thank you for your reply. I have recorded the changes in my 
configuration files. The failure is the same. But it appears only when I 
try to write on a new (prelabeled) volume. Can this be the problem?

Best Regards!

Marius


Aaron Knister schrieb:
> The problem is that your jobs are configured to use the tape drive as 
> the storage as opposed to the loader.
> 
> The following line in your dir config -
> 
> Storage = VXA-320
> 
> 
> Should be changed to
> 
> Storage = ExabytePacketloader1Ux10
> 
> Also add this line to your sd config in the VXA-320 section-
> 
> Changer Device = /dev/sg1
> 
> 
> 
> You have to tell your jobs to use the Autochanger device instead of the 
> actual tape drive. If you use the actual tape drive then its not aware 
> of the autochanging capabilities of your loader.
> 
> I hope that makes sense.
> 
> -Aaron
> 
> Marius Dorlöchter wrote:
>> Hello,
>>
>> it's my fist post. Please exused my worse english. I have already 
>> entered a bug report: http://bugs.bacula.org/view.php?id=774. But i am 
>> not sure that it is a bug.
>> So that is my problem.
>>
>> I have an autochanger Exabyte Packetloader 10. When a Job starts it 
>> load the Tape but it is not able to mount the Volume.
>>
>> Device status:
>> Autochanger "ExabytePacketloader1Ux10" with devices:
>>"VXA-320" (/dev/st0)
>> Device "FileStorage" (/var/bacula) is not open.
>> Device "VXA-320" (/dev/st0) open but no Bacula volume is currently 
>> mounted.
>> Device is BLOCKED waiting for mount of volume "A007".
>> Slot 7 is loaded in drive 0.
>> Total Bytes Read=0 Blocks Read=0 Bytes/block=0
>> Positioned at File=0 Block=0
>> 
>>
>> In Use Volume status:
>> A007 on device "VXA-320" (/dev/st0)
>>
>> A mount of the device don't help. I have to unmount and then to mount 
>> it. Then the job runs. But the failure returns every night.
>>
>>
>> bacula-sd.conf
>> --
>> ...
>> Autochanger {
>> Name = Exabyte Packetloader 1Ux10
>> Device = VXA-320
>> Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>> Changer Device = /dev/sg1
>> }
>>
>> Device {
>> Name = VXA-320
>> Drive Index = 0
>> Media Type = X-23
>> Archive Device = /dev/st0
>> AutomaticMount = yes;
>> AlwaysOpen = yes;
>> RemovableMedia = yes;
>> RandomAccess = no;
>> AutoChanger = yes
>> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
>> }
>> ...
>>
>> bacuala.dir.conf
>> 
>> ...
>> Job {
>>   Name = "NightlySave-server02"
>>   Type = Backup
>>   Level = Full
>>   Client = server02-fd
>>   FileSet = "Full Set"
>>   Messages = Standard
>>   Storage = VXA-320
>>   Pool = Default
>>   Schedule = "NightlySave"
>>   Run Before Job = "/etc/bacula/before_job"
>> }
>>
>> Schedule {
>>   Name = "NightlySave"
>>   Run = Level=Full Pool=MonatsLibraryPool 1st sun at 23:05
>>   Run = Level=Full Pool=WochenLibraryPool 2nd-5th sun at 23:05
>>   Run = Level=Differential Pool=MontagPool Monday at 23:05
>>   Run = Level=Differential Pool=DienstagPool Tuesday at 23:05
>>   Run = Level=Differential Pool=MittwochPool Wednesday at 23:05
>>   Run = Level=Differential Pool=DonnerstagPool Thursday at 23:05
>>   Run = Level=Differential Pool=FreitagPool Friday at 23:05
>>   Run = Level=Full Pool=MonatsCyclePool 1st sun at 22:55
>>   Run = Level=Full Pool=WochenCyclePool 2nd-5th sun at 22:55
>> }
>>
>> Pool {
>>   Name = MontagPool
>>   Pool Type = Backup
>>   Recycle = yes
>>   AutoPrune = yes
>>   Volume Retention = 6d
>> }
>> ...
>>
>> before_job
>> --
>> bconsole <> update slots VXA-320
>> EOF
>>
>>
>> Thanks for your help.
>>
>> Regards!
>>
>> mortice
>>
>> -
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job 
>> easier.
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>>   
> 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2007-02-06 Thread Aaron Knister
The problem is that your jobs are configured to use the tape drive as 
the storage as opposed to the loader.

The following line in your dir config -

Storage = VXA-320


Should be changed to

Storage = ExabytePacketloader1Ux10

Also add this line to your sd config in the VXA-320 section-

Changer Device = /dev/sg1



You have to tell your jobs to use the Autochanger device instead of the 
actual tape drive. If you use the actual tape drive then its not aware 
of the autochanging capabilities of your loader.

I hope that makes sense.

-Aaron

Marius Dorlöchter wrote:
> Hello,
>
> it's my fist post. Please exused my worse english. I have already entered a 
> bug report: http://bugs.bacula.org/view.php?id=774. But i am not sure that it 
> is a bug. 
>
> So that is my problem.
>
> I have an autochanger Exabyte Packetloader 10. When a Job starts it load the 
> Tape but it is not able to mount the Volume.
>
> Device status:
> Autochanger "ExabytePacketloader1Ux10" with devices:
>"VXA-320" (/dev/st0)
> Device "FileStorage" (/var/bacula) is not open.
> Device "VXA-320" (/dev/st0) open but no Bacula volume is currently mounted.
> Device is BLOCKED waiting for mount of volume "A007".
> Slot 7 is loaded in drive 0.
> Total Bytes Read=0 Blocks Read=0 Bytes/block=0
> Positioned at File=0 Block=0
> 
>
> In Use Volume status:
> A007 on device "VXA-320" (/dev/st0)
>
> A mount of the device don't help. I have to unmount and then to mount it. 
> Then 
> the job runs. But the failure returns every night.
>
>
> bacula-sd.conf
> --
> ...
> Autochanger {
> Name = Exabyte Packetloader 1Ux10
> Device = VXA-320
> Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/sg1
> }
>
> Device {
> Name = VXA-320
> Drive Index = 0
> Media Type = X-23
> Archive Device = /dev/st0
> AutomaticMount = yes;
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes
> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }
> ...
>
> bacuala.dir.conf
> 
> ...
> Job {
>   Name = "NightlySave-server02"
>   Type = Backup
>   Level = Full
>   Client = server02-fd
>   FileSet = "Full Set"
>   Messages = Standard
>   Storage = VXA-320
>   Pool = Default
>   Schedule = "NightlySave"
>   Run Before Job = "/etc/bacula/before_job"
> }
>
> Schedule {
>   Name = "NightlySave"
>   Run = Level=Full Pool=MonatsLibraryPool 1st sun at 23:05
>   Run = Level=Full Pool=WochenLibraryPool 2nd-5th sun at 23:05
>   Run = Level=Differential Pool=MontagPool Monday at 23:05
>   Run = Level=Differential Pool=DienstagPool Tuesday at 23:05
>   Run = Level=Differential Pool=MittwochPool Wednesday at 23:05
>   Run = Level=Differential Pool=DonnerstagPool Thursday at 23:05
>   Run = Level=Differential Pool=FreitagPool Friday at 23:05
>   Run = Level=Full Pool=MonatsCyclePool 1st sun at 22:55
>   Run = Level=Full Pool=WochenCyclePool 2nd-5th sun at 22:55
> }
>
> Pool {
>   Name = MontagPool
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 6d
> }
> ...
>
> before_job
> --
> bconsole < update slots VXA-320
> EOF
>
>
> Thanks for your help.
>
> Regards!
>
> mortice
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>   


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ? Device is BLOCKED waiting for mount of volume

2007-01-26 Thread Peter Eisch
 

> -Original Message-
> From: David Hatcher [mailto:[EMAIL PROTECTED] 
> Sent: Friday, January 26, 2007 4:26 PM
> To: Peter Eisch; bacula-users@lists.sourceforge.net
> Subject: RE: [Bacula-users] ? Device is BLOCKED waiting for 
> mount of volume
> 
> Hi Peter,
> 
> I could be wrong, but I *think* that is the same problem I 
> experienced when I updated to 2.0.1.  Once a job began, my 
> autochanger would not load the tape it needed.  My solution 
> was to add three lines of code to the /etc/bacula/mtx-changer 
> file on lines 157-159.  I added the following.
> 
> if mt -f $device status | grep ONLINE  >/dev/null 2>&1; then
>   mt -f $device offline
> fi 
> 

While the device is showing BLOCKED I can't do any 'mt' commands as it says
that the device is busy.  If I umount, er unmount, in bconsole it will move
the media back to the slot properly even without an explicit unmounting or
offline of the drive.


Thanks for the idea, but this isn't quite my situation as I can tell.

peter


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ? Device is BLOCKED waiting for mount of volume

2007-01-26 Thread David Hatcher
Hi Peter,

I could be wrong, but I *think* that is the same problem I experienced
when I updated to 2.0.1.  Once a job began, my autochanger would not
load the tape it needed.  My solution was to add three lines of code to
the /etc/bacula/mtx-changer file on lines 157-159.  I added the
following.

if mt -f $device status | grep ONLINE  >/dev/null 2>&1; then
  mt -f $device offline
fi 

So now it looks like this from line 153 to 170.

#
# enable the following line if you need to eject the cartridge
# mt -f $device offline
# sleep 10
  if mt -f $device status | grep ONLINE  >/dev/null 2>&1; then
mt -f $device offline
  fi
  ${MTX} -f $ctl unload $slot $drive
  ;;

   load)
  debug "Doing mtx -f $ctl load $slot $drive"
  ${MTX} -f $ctl load $slot $drive
  rtn=$?
#
# Increase the sleep time if you have a slow device
# or remove the sleep and add the following:
# wait_for_drive $device


Cheers,
Dave



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Eisch
Sent: Friday, January 26, 2007 1:24 PM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] ? Device is BLOCKED waiting for mount of volume


This is a problem since I moved from 1.38.11 to 2.0.1 that I can't seem
to get past.  My changer script works from the command line.  The btape
'test'
and 'autochanger' work fine from the command line.  If I try to run a
job that uses the autochanger it will load the first media and then sit
and wait for Godot.  It seems to hate me.

...
Device status:
Autochanger "DSI" with devices:
   "SDLT320" (/dev/nrst0)
Device "Repository" (/u1/bacula/repository) is not open.
Device "FileStorage" (/tmp) is not open.
Device "SDLT320" (/dev/nrst0) open but no Bacula volume is currently
mounted.
Device is BLOCKED waiting for mount of volume "OS0001".
Slot 1 is loaded in drive 0.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0


In Use Volume status:
OS0001 on device "SDLT320" (/dev/nrst0)


*
26-Jan 15:16 sname-sd: Please mount Volume "OS0001" on Storage Device
"SDLT320" (/dev/nrst0) for Job Tape.2007-01-26_15.12.38
*

The components are:

# ch0 at scsibus0 target 14 lun 0:  changer
removable # ch0: 8 slots, 1 drive, 1 picker, 0 portals # ch0: async,
8-bit transfers

# st0 at scsibus0 target 0 lun 0:  tape
removable # st0: density code 73, variable blocks, write-enabled # st0:
sync (25.00ns offset 62), 16-bit (80.000MB/s) transfers


I guess I should note that with 1.38.11 it would at least write the
first tape and then end up in this same state after mounting the second
tape.  I can't do an 'mt status' at this point because it seems to be
doing something to the drive, but whatever that is isn't writing.

Ideas?

peter



-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ? Device is BLOCKED waiting for mount of volume

2007-01-26 Thread Arno Lehmann
Hello,

On 1/26/2007 10:24 PM, Peter Eisch wrote:
> This is a problem since I moved from 1.38.11 to 2.0.1 that I can't seem to
> get past.  My changer script works from the command line.  The btape 'test'
> and 'autochanger' work fine from the command line.  If I try to run a job
> that uses the autochanger it will load the first media and then sit and wait
> for Godot.  It seems to hate me.

Have you done an 'update slots' command?

> ...
> Device status:
> Autochanger "DSI" with devices:
>"SDLT320" (/dev/nrst0)
> Device "Repository" (/u1/bacula/repository) is not open.
> Device "FileStorage" (/tmp) is not open.
> Device "SDLT320" (/dev/nrst0) open but no Bacula volume is currently
> mounted.
> Device is BLOCKED waiting for mount of volume "OS0001".
> Slot 1 is loaded in drive 0.
> Total Bytes Read=0 Blocks Read=0 Bytes/block=0
> Positioned at File=0 Block=0
> 
> 
> In Use Volume status:
> OS0001 on device "SDLT320" (/dev/nrst0)
> 
> 
> *
> 26-Jan 15:16 sname-sd: Please mount Volume "OS0001" on Storage Device
> "SDLT320" (/dev/nrst0) for Job Tape.2007-01-26_15.12.38
> *
> 
> The components are:
> 
> # ch0 at scsibus0 target 14 lun 0:  changer
> removable
> # ch0: 8 slots, 1 drive, 1 picker, 0 portals
> # ch0: async, 8-bit transfers
> 
> # st0 at scsibus0 target 0 lun 0:  tape removable
> # st0: density code 73, variable blocks, write-enabled
> # st0: sync (25.00ns offset 62), 16-bit (80.000MB/s) transfers
> 
> 
> I guess I should note that with 1.38.11 it would at least write the first
> tape and then end up in this same state after mounting the second tape.  I
> can't do an 'mt status' at this point because it seems to be doing something
> to the drive, but whatever that is isn't writing.

Try unmounting the device first.

> Ideas?

Well, you should tell us which volumes are in the autoloader, show us 
(examples of) the volume metadata, and tell us what you do when you load 
or change tapes.

What you describe looks like Bacula doesn't know about any volumes in 
the autochanger, or these are not labeled.

Arno

> peter
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users