On Friday 17 June 2005 04:33, Eli K. Breen wrote:
> ..another one bites the dust.
>
> The label command from within bconsole was resolved by setting the
> permissions on /dev/pass0 (your changer device under FreeBSD). I'd
> already checked the /dev/nsa* permissions, which were correct.
>
> Whomever has the power to update this page:
> http://bacula.org/dev-manual/Testing_Your_Tape_Drive.html#SECTION0003560000
>00000000000 ...may want to add the comment that FreeBSD specifically will
> use
> /dev/pass* and that also needs the proper permissions, and more
> generally that both the changer and the drive device need the proper
> permissions.

Though, IMO, this was indicated, I've sprinkled two or three more mentions of 
this in the Autochanger chapter of the manual.

>
> Thanks,
>
> -E-
>
> Eli K. Breen wrote:
> > ...subsequently...
> >
> > Eli K. Breen wrote:
> >  > ..and here are my questions:
> >  >     i) How do I rotate tapes from within bacula itself and/or make
> >  > bacula rotate tapes when it finds that the current tape is full.
> >  >     ii) Why do the btape test pass and rotate as perscribed, yet
> >  > bacula itself will not rotate tapes properly?
> >
> > using "label" to try and rotate tapes returns this:
> >
> > *label
> > The defined Storage resources are:
> >      1: File
> >      2: HPLoader
> > Select Storage resource (1-2): 2
> > Enter new Volume name: bacula3
> > Enter slot (0 for none): 3
> > Automatically selected Pool: Default
> > Connecting to Storage daemon HPLoader at dmzbackup:9103 ...
> > Sending label command for Volume "bacula3" Slot 3 ...
> > 3301 Issuing autochanger "loaded drive 0" command.
> > 3991 Bad autochanger "loaded drive 0" command: ERR=Child exited with
> > code 1.
> > 3304 Issuing autochanger "load slot 3, drive 0" command.
> > 3992 Bad autochanger "load slot 3, drive 0": ERR=Child exited with code
> > 1. Label command failed for Volume bacula3.
> > Do not forget to mount the drive!!!
> > *quit
> >
> >
> > However - prepending the device name to the aforementioned mtx-changer
> > command "loaded drive 0" command does return the appropriate slot, so
> > I'm not sure why this fails.
> >
> > Ideas?
> >
> >> ...inline...
> >>
> >> Arno Lehmann wrote:
> >>> <snip>
> >>>
> >>>> +++++++++++
> >>>> Storage {
> >>>>   Name = HPLoader
> >>>> # Do not use "localhost" here
> >>>>   Address = dmzbackup      # N.B. Use a fully qualified name here
> >>>>   SDPort = 9103
> >>>>   Password = "rVep0Pkg/+cmVMp1ve3G+QD8NY0uCtPXf1jS7BzWOv7k"
> >>>> #  Password =
> >>>> "i7HrvPzNvmdgdqLUh3gUb/7+c1vsB3Nae4ss3nLT4RQL"          # password
> >>>> for FileDaemon
> >>>>   Device = HP-Library
> >>>>   Media Type = DLT
> >>>
> >>> Autoloader = Yes
> >>>
> >>>> }
> >>>> +++++++++++++++++++++++++++++++++++++++++++
> >>>
> >>> That should do it.
> >>> And, depending on your mtx-changer script, Offline on unmount in the
> >>> SDs config.
> >>>
> >>> Arno
> >>
> >> Assuming you meant "Autochanger=yes" [since Autoloader= isn't valid]
> >> is  a no go.
> >>
> >> Here's what I get at the bconsole prompt:
> >>
> >>  16-Jun 18:10 dmzbackup-sd: End of Volume "bacula1" at 42:1103 on
> >> device /dev/nsa0. Write of 64512 bytes got 0.
> >> 16-Jun 18:11 dmzbackup-sd: End of medium on Volume "bacula1"
> >> Bytes=41,285,506,721 Blocks=639,967 at 16-Jun-2005 18:11.
> >> 16-Jun 18:11 dmzbackup-sd: Job beige.2005-06-16_17.06.41 waiting.
> >> Cannot find any appendable volumes.
> >> Please use the "label"  command to create a new Volume for:
> >>     Storage:      HP-Library
> >>     Media type:   DLT
> >>     Pool:         Default
> >>
> >>
> >> ...my quandry is as follows:
> >>
> >>     A) I have other tapes in the loader, but none of them are labeled
> >> with bacula volume labels. (I've set the AutoLabel, so presumably that
> >> will work.)
> >>     B) I have no way to change tapes without stopping bacula. (MTX,
> >> btape, mtx-changer, and the actual tape library itself all see the
> >> device as in use).
> >>     C) Stopping bacula will cause my job to die at 80% complete.
> >>
> >> ..and here are my questions:
> >>     i) How do I rotate tapes from within bacula itself and/or make
> >> bacula rotate tapes when it finds that the current tape is full.
> >>     ii) Why do the btape test pass and rotate as perscribed, yet
> >> bacula itself will not rotate tapes properly?
> >>
> >> Many thanks,
> >>
> >> -E-
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > from IBM. Find simple to follow Roadmaps, straightforward articles,
> > informative Webcasts and more! Get everything you need to get up to
> > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to