-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kern Sibbald wrote:
> On Saturday 09 September 2006 18:42, Michel Meyers wrote:
>> Hello,
>>
>> I'm having trouble with relabeling a DVD+RW. Here's what I get:
>>
>> 1000 OK: shodan-dir Version: 1.39.22 (08 Septermber 2006)
>> Enter a period to cancel a command.
>> *label
[...]
>> Sending label command for Volume "DVD-005" Slot 0 ...
>> 3920 Cannot label Volume because it is already labeled: "DVD-005"
>> Label command failed for Volume DVD-005.
>> Do not forget to mount the drive!!!
>>
>> Any ideas what could be wrong?
>
> Well, Richard did report a problem with manually labeling a DVD in the latest
> code, so you should expect some problems.

Now that you mention it, I think I saw that. I'll have to search the
archives.
> I may be wrong but it seems like you have not really succeeded in
> wiping out the old filesystem, because Bacula still thinks it is there, or
> possibly Bacula still has the DVD mounted and so is retaining some
> information it should not.
>
> I suggest you try several things:
> 1. Try labeling the DVD with a different name.  If it reports the same error,
> then it is clearly the bug that Richard saw.  If this is the case, use the
> LabelFormat directive in bacula-dir.conf until we resolve the problem.
> 2. unmount the DVD in the console.

I tried that (unmount, format/prepare, label), didn't work.

> 3. Try mounting it outside Bacula and see if it really has a filesystem on it.
> If the DVD is completely fresh, you should not be able to mount it.

The DVD's not fresh (it was previously labelled as DVD-005, but I ran
into trouble when it came to recycling used DVDs so I decided to start
over with 1.39.22 and see how its faring now), but I DID manage to wipe
its fs (I tried mounting it outside of bacula and it indeed failed).

> 4. Make sure that the Volume does not exist in Bacula's catalog.

Before starting I dropped all of bacula's tables and recreated them, so
the catalog's fresh and clean.

> 5. Look at the DVD chapter in the manual -- it gives a few tips on how to
> reinitialize DVDs.  However, given all the different types, I wouldn't be
> surprised if you had problems.

I'll have to check.

It's really strange, all the other DVD+RWs (14 of the 15 I'm testing
with) worked fine, only DVD-005 refuses to let itself get relabelled.
(Could it be damaged somehow?)

> In the next day or so, I'll try to look into the problem of manually labeling
> the DVD with Bacula.  From what Richard wrote in his last email, we are
> *very* close to having DVD writing working correctly now.

Sounds good. DVDs are about the only affordable solution that could
replace my old Onstream IDE Tape drive. (I love the LTO-2 autoloader
that I have working with my other Bacula install, but its a little over
my private budget. ;) )

I'll keep you updated if I find anything.

Greetings,
        Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32) - GPGrelay v0.959

iD8DBQFFAwXr2Vs+MkscAyURAvS9AJ9HKGg9P2jjVYNq0CYOGFRLsa2z3QCfQUkz
r9E3MRkTL055oezWhEC32uw=
=r5i2
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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

Reply via email to