Bacula-users

Re: [Bacula-users] Relabel a tape deleted from a Pool

2009-10-29 06:22:24
Subject: Re: [Bacula-users] Relabel a tape deleted from a Pool
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 29 Oct 2009 11:18:56 +0100
Hello,

29.10.2009 11:02, Uwe Schuerkamp wrote:
> On Thu, Oct 29, 2009 at 10:37:13AM +0100, mario.tolj wrote:
>> Hello,
>>
>> Sorry if my English isn't very well.
>>
>> I did a mistake when i deleted a volume from the Default Pool. and now i 
>> would like to relabel the tape with another name and put this volume in 
>> a different Pool (in example Inc-Pool).
>>
> 
> Sorry, only just now saw the word "tape" ;-) 
> 
> you need to remove the volume label using the mt command. 
> 
> If /dev/st0 ist your tape drive, stop bacula and enter the following
> commands as "root" or as a user who has write access to the tape
> device: 
> 
> # mt -f /dev/st0 rewind 
> # mt -f /dev/st0 weof 
> 
> Once you restart bacula, you should be able to write a new tape
> label. 

Alternatively, 'add' the volume using bconsole, then 'relabel' it.

Arno

> HTH Uwe 
> 
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users