File: mdcreate.8

package info (click to toggle)
mdutils 0.35-23
  • links: PTS
  • area: main
  • in suites: slink
  • size: 148 kB
  • ctags: 74
  • sloc: ansic: 592; makefile: 112; sh: 63
file content (29 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.\" -*- 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
.TP
.BI \-c n
.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.
.TP
.BI \-f n
(raid-1 only)
.br
Set the maximum fault number as \fIn\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
.SH "SEE ALSO"
.BR mdadd (8)