[Bacula-users] Re: How do I move tapes accross volumes?

2005-10-11 Thread Anwar Ahmad

Hello Arno,

Thanks for the pointers. Yup thats' the way I've being doing it; 
basically writing weof on each tape before labeling. But this is a long 
step. I've been thinking got to be a better way of doing it.


I'm thinking the re-label should be able to help but I'm doing it wrong 
somehow.

The way I arrange it is like this.

Volume Pools:-
Storage1-- Refers to HP DLT Surestore mounted to /dev/nst0 -- all 
tapes in volume are given volume names Storage1-01 till Storage1-60
Storage2--Refers to HP DLT Surestore mounted to /dev/nst1 -- all tapes 
in volume are given volume names Storage2-01 till Storage2-20


I'm looking to move tapes from volume Storage1 to Storage2. But when I 
relabel lets say tape Storage1-60 to Storage2-21, the relabeling works 
but it's in the wrong volume. It's still listed in Volume Storage1. 
Basically the only one with naming convention Storage2-?? in Storage1.


Does that make sense?

Actually I could probably do the relabeling, maybe just need the command 
to assign a tape that currently in Volume Storage1 to Storage2.


Thanks!

Kind Regards,
Anwar

Arno Lehmann wrote:


Hello,

On 10.10.2005 12:17, Anwar Ahmad wrote:


Hi,

I currently have 2 volumes labeled Storage1 and Storage2. They are 
physically different tape autoloader and they back up different sets 
of servers. Initially Storage1 server had lots of data so we assigned 
plenty of tapes to that set. However more recently the servers 
backing up to Storage2 is growing in data more rapidly.


Basically I'd like to move some tapes that are being used on Storage1 
onto Storage2. Since I'm using bacula console, I initially thought of 
doing a delete-volume-Storage1. Then label the tape as a new volume 
in Storage2. However bacula will mount the tape and detect that it 
contains a label namely from Storage1. I had already deleted the 
volume but it's still detecting the volume in the tape. How do I 
clear the contents for this particular tape so that I can use it as a 
new volume?



You clear the label from the tape by overwriting it, for example using 
'mt weof' on it twice.


In any case, I think you took the wrong route...

It would have been easier to simply move the tape from one autoloader 
to the other and have it detected with the 'update slots' command. As 
long as you use identical Media types, that should have been all. If 
you used different Media Types, you would first adjust tis information 
in the catalog.


Arno


Thanks!

Kind Regards,
Anwar


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, 
discussions,

and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users







---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: How do I move tapes accross volumes?

2005-10-11 Thread Arno Lehmann

Hello,

On 11.10.2005 10:10, Anwar Ahmad wrote:


Hello Arno,

Thanks for the pointers. Yup thats' the way I've being doing it; 
basically writing weof on each tape before labeling. But this is a long 
step. I've been thinking got to be a better way of doing it.


I'm thinking the re-label should be able to help but I'm doing it wrong 
somehow.

The way I arrange it is like this.

Volume Pools:-
Storage1-- Refers to HP DLT Surestore mounted to /dev/nst0 -- all 
tapes in volume are given volume names Storage1-01 till Storage1-60
Storage2--Refers to HP DLT Surestore mounted to /dev/nst1 -- all tapes 
in volume are given volume names Storage2-01 till Storage2-20


Ah, now I see the problem.
If you really want volume names that reflect the storage the volumes is 
used with you will have to relabel the tapes. (By the way, I wouldn't 
attach volumes to storages, either do that with pools or use the Media 
Type - both ways, things fit better to Baculas volume managment, I think.)


I'm looking to move tapes from volume Storage1 to Storage2. But when I 
relabel lets say tape Storage1-60 to Storage2-21, the relabeling works 
but it's in the wrong volume. It's still listed in Volume Storage1. 
Basically the only one with naming convention Storage2-?? in Storage1.


Does that make sense?


Yes, of course.

Actually I could probably do the relabeling, maybe just need the command 
to assign a tape that currently in Volume Storage1 to Storage2.


There is no command to do that. Simply load the tape into its new 
storage device, use the update slots command, and then relabel. After 
update slots, Bacula knows that this tape is in the new storage device.



Arno


Thanks!

Kind Regards,
Anwar

Arno Lehmann wrote:


Hello,

On 10.10.2005 12:17, Anwar Ahmad wrote:


Hi,

I currently have 2 volumes labeled Storage1 and Storage2. They are 
physically different tape autoloader and they back up different sets 
of servers. Initially Storage1 server had lots of data so we assigned 
plenty of tapes to that set. However more recently the servers 
backing up to Storage2 is growing in data more rapidly.


Basically I'd like to move some tapes that are being used on Storage1 
onto Storage2. Since I'm using bacula console, I initially thought of 
doing a delete-volume-Storage1. Then label the tape as a new volume 
in Storage2. However bacula will mount the tape and detect that it 
contains a label namely from Storage1. I had already deleted the 
volume but it's still detecting the volume in the tape. How do I 
clear the contents for this particular tape so that I can use it as a 
new volume?




You clear the label from the tape by overwriting it, for example using 
'mt weof' on it twice.


In any case, I think you took the wrong route...

It would have been easier to simply move the tape from one autoloader 
to the other and have it detected with the 'update slots' command. As 
long as you use identical Media types, that should have been all. If 
you used different Media Types, you would first adjust tis information 
in the catalog.


Arno


Thanks!

Kind Regards,
Anwar


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, 
discussions,

and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users








--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users