raidfile-config8
Configure box backup's raid files
Usage
raidfile-config config-dir
blocksize
dir1
[dir2
[dir3]]
Overview
raidfile-config creates a raidfile.conf file for Box Backup. This file holds information about the directories used to store backups in. Box Backup supports userland RAID, in a restricted RAID5 configuration, where 3 and only 3 'drives' are supported. You can read more about RAID5 (and other RAID-levels) here[1].
Parameters
The parameters are as follows:
config-dir
The directory path where configuration files are located. Usually this is /etc/box. raidfile.conf will be written in this directory.
blocksize
The block size used for file storage in the system, in bytes. Using a multiple of the file system block size is a good strategy. Depending on the size of the files you will be backing up, this multiple varies. Of course it also depends on the native block size of your file system.
dir1
The first directory in the built-in RAID array.
dir2
The second directory in the built-in RAID array. If you are not using the built-in RAID functionality, this field should be ignored. You should not use the built-in RAID if you have a hardware RAID solution or if you're using another type of software RAID (like md on Linux).
dir3
The third directory in the built-in RAID array. The same notes that apply to dir2 also apply to dir3.
Note that there are currently no way to add multiple disk sets to the raidfile.conf file using command line tools, etc. See raidfile.conf(5) for details on adding more disks.
Files
raidfile-config generates the raidfile.conf(5) file.
Notes
- 1.
-
here
http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks#RAID_5
- 2.
-
mailing list
http://lists.warhead.org.uk/mailman/listinfo/boxbackup
Releases
8 releases since Debian 5.0 (Lenny); the text changed 5 times.