On 18/05/14 12:50, Steven Haigh wrote:
> Hi Vizo,
>
> If I use the UUID:blah format, vchanger can't find the drives.
>
> I found on another post to this list in the archives (via google) that
> the following method worked - but I'm unsure if any further problems
> were encountered.
>
> It seems to be a problem with libuuid or similar?
Hi all,
Following on from this, I've had a problem with every restore with
Bacula throwing an error because it thinks the volume is online (when
the drive may be ejected).
I wrote a perl script that can be used with udev to automatically start
/ eject volumes. It makes a few assumptions, such as that you'll only
add to the END of magazines = blah in the vchanger config.
I've attached it for reference.
Looking at the structure of the SQL for volumes, would it be better to
set the 'InChanger' to 0 instead of Enabled = 0 when a volume is
removed? Then set InChanger = 1 when the volume is added back?
--
Steven Haigh
Email: netwiz AT crc.id DOT au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299
vol_manager.pl
Description: Perl program
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|