Genezzo::Contrib::Clustered::PrepUndo - Prepare undo file for Clustered Genezzo
prepareUndo(gnz_home => "/dev/raw", undo_filename => "raw2");
Creates or re-initializes undo file under GNZ_HOME. By default file is named undo.und. File header contains basic information about all other files in Genezzo installation. genprepundo.pl must be run whenever a new file is added to the Genezzo installation. Undo file format is documented in Clustered.pm.
- prepareUndo(gnz_home => GNZ_HOME, undo_filename => UNDO_FILENAME, number_of_processes => NUMBER_OF_PROCESSES, undo_blocks_per_process => UNDO_BLOCKS_PER_PROCESS )
Supply the location for the gnz_home installation. If specified, it overrides the GNZ_HOME environment variable.
Supply the name of the undo file. If not specified, it defaults to undo.und for file system devices. It must be specified for raw devices.
Specify the maximum number of processes supported by undo. If not specified defaults to 256.
Specify the number of blocks (which list fileno-blockno pairs) for a process. If not specified defaults to 220.
Eric Rollins, email@example.com
Copyright (c) 2005 Eric Rollins. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Address bug reports and comments to firstname.lastname@example.org