Bacula-users

Re: [Bacula-users] Changing maximum block size for a tape

2017-06-03 04:14:24
Subject: Re: [Bacula-users] Changing maximum block size for a tape
From: Kern Sibbald <kern AT sibbald DOT com>
To: Ivan Adzhubey <iadzhubey AT rics.bwh.harvard DOT edu>, bacula-users AT lists.sourceforge DOT net
Date: Sat, 3 Jun 2017 10:13:46 +0200
Yes, the tape can be reused. Just mount it, rewind it, and write one or preferably two EOF marks. Then you will need to relabel for Bacula.

- either stop bacula or release the tape drive

- mt -f /dev/nstxxx rewind

-mt -f /dev/nstxxx weof 2

...



On 06/02/2017 09:59 PM, Ivan Adzhubey wrote:
Hi,

Can a tape written by Bacula with one MaximumBlockSize value be reused after
changing MaximumBlockSize to a different value? I mean, not the data on the
tape, I understand all data will be lost, but can the tape itself be relabeled
and then used with a different block size configured?

The reason I am asking is the following recent post from Kern Sibbald saying
you will not be able to reuse tapes written with a different block size after
you change it:

https://sourceforge.net/p/bacula/mailman/message/35871159/

1. Is it safe (Bacula 7.XX) to set the block size to something other
than 64K?
Yes.  However, once you have written a tape with a given block size, you
cannot changed the block size unless you re-initialized the tape.
What does "re-initialize" means here? I thought you cannot re-initialize a LTO
format tape because of the servo tracks which are hardwritten during
manufacturing.

Thanks,
Ivan



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>

ADSM.ORG Privacy and Data Security by https://kimlaw.us