>-----Original Message-----
>From: Kern Sibbald [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 07, 2005 12:18 PM
>To: Matt Bettinger
>Cc: bacula-users@lists.sourceforge.net
>Subject: Re: [Bacula-users] DEVICE BLOCKED/appendable volume help
>
>On Monday 07 November 2005 18:22, Matt Bettinger wrote:
>> >-----Original Message-----
>> >From: Kern Sibbald [mailto:[EMAIL PROTECTED]
>> >Sent: Monday, November 07, 2005 11:09 AM
>> >To: bacula-users@lists.sourceforge.net
>> >Cc: Matt Bettinger
>> >Subject: Re: [Bacula-users] DEVICE BLOCKED/appendable volume help
>> >
>> >On Monday 07 November 2005 17:02, Matt Bettinger wrote:
>> >> Hello,
>> >>
>> >> I am running bacula henbane-dir Version: 1.36.3 (22 April 2005) on
>> >> FreeBSD 5.4 and running into a problem. The jobs get hung up due
to
>> >> either DEVICE BLOCKED message and/or cannot find appendable volume
>> >> message.
>> >>
>> >> I insert a new tape and format it using the mt command ( I know
mt
>>
>> weof
>>
>> >> should work too but I do long format in this case to be sure).
After
>> >> the mt format is done I labeled the tape in bconsole and I can see
it
>>
>> in
>>
>> >> list volumes.
>> >
>> >Rather than an mt format, I would recommend a:
>> >
>> >  mt rewind
>> >  mt weof
>> >  mt rewind
>>
>> OK.  Thank you for your time by the way.
>>
>> I did the mt commands and the mount storage commands.
>>
>> henbane# mt rewind
>> henbane# mt weof
>> henbane# mt rewind
>> henbane# console
>> Connecting to Director henbane:9101
>> 1000 OK: henbane-dir Version: 1.36.3 (22 April 2005)
>> Enter a period to cancel a command.
>> *label
>> Using default Catalog name=BackupDB DB=bacula
>> Automatically selected Storage: DLT_TAPE
>> Enter new Volume name: Tape_73
>> Automatically selected Pool: Default
>> Connecting to Storage daemon DLT_TAPE at henbane:9103 ...
>> Sending label command for Volume "Tape_73" Slot 0 ...
>> 3000 OK label. Volume=Tape_73 Device=/dev/nsa0
>> Catalog record for Volume "Tape_73", Slot 0  successfully created.
>> Requesting to mount DLT4000 ...
>> 3001 Device /dev/nsa0 is mounted with Volume "Tape_73"
>> *
>> You have messages.
>> *mess
>> 07-Nov 11:17 henbane-sd: Someone woke me up, but I cannot find any
>> appendable
>> volumes for Job=henbane.2005-10-30_01.05.00.
>> 07-Nov 11:17 henbane-sd: Job henbane.2005-10-30_01.05.00 waiting.
Cannot
>> find any appendable volumes.
>> Please use the "label"  command to create a new Volume for:
>>     Storage:      DLT4000
>>     Media type:   DLT
>>     Pool:         Default
>> *mount storage=DLT4000
>> Storage resource "DLT4000": not found       <<<<< what is this all
>> about??
>> Automatically selected Storage: DLT_TAPE
>> 3001 OK mount. Device=/dev/nsa0
>
>My error.   It should be:
>
>  mount storage=DLT_TAPE
>
>then what is important that you didn't do is:
>
>  status storage=DLT_TAPE
>
>PS: it is often much easier if you use the same name in the Director
and SD
>for your device:  I.e. DLT4000 instead of DLT_TAPE, then the messages
>printed
>by the SD (Storage:  DLT4000) correspond to what you type into
bconsole.
>


Hi.  I took your advice and standardized the storage device name to
DLT4000.  I restarted bacula (reload would have been sufficient) and was
able to run a job.

I had to cancel the previous jobs which were looking for appendable
volumes so I don't know if I am ahead yet or not.  I am still uncertain
why this happened and how to prevent it in the future.  Any thoughts?

Re,

-mb


>>
>>
>> Thanks!
>>
>> -mb
>>
>> >that ensures you have a blank tape and that it is positioned at the
>> >beginning
>> >of the tape.
>> >
>> >> |      17 | Tape_73    | Append    |              1 |        0 |
>> >>
>> >> 31,536,000 |       1 |    0 |         1 | DLT       | 0000-00-00
>> >> 00:00:00 |
>> >>
>> >> When I manually mount the tape in bconsole it mounts fine and then
>>
>> the
>>
>> >> job attempts to continue but it always says
>> >>
>> >> 07-Nov 06:50 henbane-sd: Job henbane.2005-10-30_01.05.00 waiting.
>>
>> Cannot
>>
>> >> find any appendable volumes.
>> >> Please use the "label"  command to create a new Volume for:
>> >>     Storage:      DLT4000
>> >>     Media type:   DLT
>> >>     Pool:         Default
>> >
>> >The thing to do at this point, if you have mounted what you consider
to
>>
>> be
>>
>> >a
>> >valid tape is to do in bconsole:
>> >
>> >  mount storage=DLT4000
>> >  status storage=DLT4000
>> >
>> >and see what tape the SD thinks is mounted, and the exact reason is
>>
>> that it
>>
>> >is
>> >waiting ...
>> >
>> >> It works for the most part but every now and then I get these
DEVICE
>> >> BLOCKED or cannot find appendable volume errors and I don't know
how
>>
>> to
>>
>> >> fix them.  I thought adding a freshly formatted and labeled tape
>>
>> would
>>
>> >> be the appropriate action?
>> >>
>> >> I purchased a bunch of new DLT tapes in the hopes that this will
fix
>>
>> the
>>
>> >> problems since some of the tape I have been using since 1999!
>> >>
>> >>
>> >> Here is one of my bacula-dir.conf's from a setup that gets hung up
>>
>> like
>>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to