.\" Title: raidfile-config .\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 .\" Date: 03/28/2023 .\" Manual: Box Backup .\" Source: Box Backup 0.11 .\" .TH "RAIDFILE\-CONFIG" "8" "03/28/2023" "Box Backup 0\.11" "Box Backup" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" raidfile-config - Configure Box Backup's RAID files .SH "SYNOPSIS" .HP 16 \fBraidfile\-config\fR config\-dir blocksize dir1\ [dir2\ [dir3]] .SH "DESCRIPTION" .PP 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 \(aqdrives\(aq are supported\. You can read more about RAID5 (and other RAID\-levels) \fIhere\fR\&[1]\. .SS "Parameters" .PP The parameters are as follows: .PP \fIconfig\-dir\fR .RS 4 The directory path where configuration files are located\. Usually this is \fI/etc/box\fR\. \fIraidfile\.conf\fR will be written in this directory\. .RE .PP \fIblocksize\fR .RS 4 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\. .RE .PP \fIdir1\fR .RS 4 The first directory in the built\-in RAID array\. .RE .PP \fIdir2\fR .RS 4 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\(aqre using another type of software RAID (like md on Linux)\. .RE .PP \fIdir3\fR .RS 4 The third directory in the built\-in RAID array\. The same notes that apply to \fIdir2\fR also apply to \fIdir3\fR\. .RE .PP Note that there are currently no way to add multiple disk sets to the raidfile\.conf file using command line tools, etc\. See \fBraidfile.conf\fR(5) for details on adding more disks\. .SH "BUGS" .PP If you find a bug in Box Backup, and you want to let us know about it, join the \fImailing list\fR\&[2], and send a description of the problem there\. .PP To report a bug, give us at least the following information: .sp .RS 4 \h'-04'\(bu\h'+03'The version of Box Backup you are running .RE .sp .RS 4 \h'-04'\(bu\h'+03'The platform you are running on (hardware and OS), for both client and server\. .RE .sp .RS 4 \h'-04'\(bu\h'+03'If possible attach your config files (bbstored\.conf, bbackupd\.conf) to the bug report\. .RE .sp .RS 4 \h'-04'\(bu\h'+03'Also attach any log file output that helps shed light on the problem you are seeing\. .RE .sp .RS 4 \h'-04'\(bu\h'+03'And last but certainly not least, a description of what you are seeing, in as much detail as possible\. .RE .SH "FILES" .PP \fBraidfile\-config\fR generates the \fBraidfile.conf\fR(5) file\. .SH "SEE ALSO" .PP \fBbbstored-config\fR(8), \fBbbstored.conf\fR(5), \fBraidfile.conf\fR(5) .SH "AUTHORS" .PP Ben Summers .PP Per Thomsen .PP James O\(aqGorman .SH "NOTES" .IP " 1." 4 here .RS 4 \%http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks#RAID_5 .RE .IP " 2." 4 mailing list .RS 4 \%http://lists.warhead.org.uk/mailman/listinfo/boxbackup .RE