File: mdcreate.8

package info (click to toggle)
raidtools 0.42-16
  • links: PTS
  • area: main
  • in suites: slink
  • size: 392 kB
  • ctags: 128
  • sloc: ansic: 2,056; makefile: 134; sh: 107
file content (24 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.\" -*- nroff -*-
.TH mdcreate 8
.SH NAME
mdcreate \- creates a mdtab entry
.SH SYNOPSYS
.BI mdcreate
[-cxk] [-fx] personality md_dev dev0 dev1 ...
.SH DESCRIPTION
mdcreate sets up a mdtab entry, and adds some checksum informations to
insure consistency of the virtual device.
.SH OPTIONS
.IP "\fI\-cn\fP"
.br
Set the chunk size as \fBPAGE_SIZE << n\fP. You can also set the chunk
size in kilobytes with \fB\-cxk\fP where x is a power of 2.
.IP "\fI\-fn\fP"
(raid-1 only)
.br
Set the maximum fault number as \fBn\fP.
.SH EXAMPLES
Currently, usable personalities are \fBlinear, raid0 & raid1\fP. To
create a mdtab entry for a raid0 device using 8k chunks, use :

.B /sbin/mdcreate -c8k raid0 /dev/md0 /dev/sdb1 /dev/sdc1