xref: /titanic_41/usr/src/cmd/lvm/etc/md.tab (revision 1d4b38e0077763e7c9b20768eacb841957e787bc)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License, Version 1.0 only
9# (the "License").  You may not use this file except in compliance
10# with the License.
11#
12# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13# or http://www.opensolaris.org/os/licensing.
14# See the License for the specific language governing permissions
15# and limitations under the License.
16#
17# When distributing Covered Code, include this CDDL HEADER in each
18# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19# If applicable, add the following below this CDDL HEADER, with the
20# fields enclosed by brackets "[]" replaced with your own identifying
21# information: Portions Copyright [yyyy] [name of copyright owner]
22#
23# CDDL HEADER END
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27# md.tab
28#
29#	metainit utility input file.
30#
31# The following examples show the format for local metadevices, and a
32# similar example for a shared metadevice, where appropiate.  The shared
33# metadevices are in the diskset named "blue":
34#
35# Metadevice database entry:
36#
37#	mddb01	/dev/dsk/c0t2d0s0 /dev/dsk/c0t0d0s0
38#
39# Concatenation of devices:
40#
41#	d10		2 1 /dev/dsk/c0t2d0s0 1 /dev/dsk/c0t0d0s0
42#	blue/d10	2 1 /dev/dsk/c2t2d0s0 1 /dev/dsk/c2t0d0s0
43#
44# Stripe of devices:
45#
46#	d11		1 2 /dev/dsk/c0t2d0s1 /dev/dsk/c0t0d0s1
47#	blue/d11	1 2 /dev/dsk/c2t2d0s1 /dev/dsk/c2t0d0s1
48#
49# Concatenation of stripes (with a hot spare pool):
50#
51#	d13		2 2 /dev/dsk/c0t2d0s0 /dev/dsk/c0t0d0s0 \
52#		 	  2 /dev/dsk/c0t2d0s1 /dev/dsk/c0t0d0s1 -h hsp001
53#	blue/d13	2 2 /dev/dsk/c2t2d0s0 /dev/dsk/c2t0d0s0 \
54#			  2 /dev/dsk/c2t2d0s1 /dev/dsk/c2t0d0s1 -h blue/hsp001
55#
56# Two way mirror:
57#
58#	d14		-m d10 d11
59#	blue/d14	-m blue/d10 blue/d11
60#
61# RAID of devices
62#
63#	d15		-r /dev/dsk/c1t0d0s0 /dev/dsk/c1t1d0s0 \
64#		 	   /dev/dsk/c1t2d0s0 /dev/dsk/c1t3d0s0
65#	blue/d15	-r /dev/dsk/c2t0d0s0 /dev/dsk/c2t1d0s0 \
66#		 	   /dev/dsk/c2t2d0s0 /dev/dsk/c2t3d0s0
67#
68# Hot Spare Pool of devices
69#
70#	hsp001		/dev/dsk/c1t0d0s0
71#	blue/hsp001	/dev/dsk/c2t0d0s0
72#
73# 100MB Soft Partition
74#
75#	d1		-p /dev/dsk/c1t0d0s1 100M
76#	blue/d1		-p /dev/dsk/c2t0d0s1 100M
77