Re: [Bacula-users] Resetting vchanger

2011-04-21 Thread Josh Fisher
On 4/21/2011 3:16 AM, Koenraad Lelong wrote:
 Hi,

 I have been messing around with vchanger. Now I would like to start from
 zero. How do I do this ? Vchanger seems to remember how many removable
 drive it already initialized. Where does it store this information ?

 Or do I have to make a new config-file ?

No, you don't need a new config file. Delete everything in vchanger's 
work directory (determined by the work_dir setting in the vchanger 
config). Vchanger also examines the removable drive contents, so you 
also have to delete everything on the removable drive. Finally, Bacula 
has volume metadata in its database, so you have to delete those volumes 
that were on the removable drive from the Bacula database using the 
'delete volume=' command from within bconsole.


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Resetting vchanger

2011-04-21 Thread Koenraad Lelong
Op 21-04-11 16:38, Josh Fisher schreef:
 On 4/21/2011 3:16 AM, Koenraad Lelong wrote:
 Hi,

 I have been messing around with vchanger. Now I would like to start from
 zero. How do I do this ? Vchanger seems to remember how many removable
 drive it already initialized. Where does it store this information ?

 Or do I have to make a new config-file ?
 
 No, you don't need a new config file. Delete everything in vchanger's
 work directory (determined by the work_dir setting in the vchanger
 config). Vchanger also examines the removable drive contents, so you
 also have to delete everything on the removable drive. Finally, Bacula
 has volume metadata in its database, so you have to delete those volumes
 that were on the removable drive from the Bacula database using the
 'delete volume=' command from within bconsole.
 

Thanks,

Found it now. I needed only to delete vchanger's data. No bacula data
yet. I'm studying further to get it working.

Regards,

Koenraad Lelong.

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users