ccdconfig.8 (064bee341e6c590dedc1d33eb6025e1f446f33a6) | ccdconfig.8 (494b4bb3d3b173e316e87942b850d621e39ae2d5) |
---|---|
1.\" $NetBSD: ccdconfig.8,v 1.1.2.1 1995/11/11 02:43:33 thorpej Exp $ 2.\" 3.\" Copyright (c) 1995 Jason R. Thorpe. 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 14 unchanged lines hidden (view full) --- 23.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" SUCH DAMAGE. 28.\" 29.\" $FreeBSD$ 30.\" | 1.\" $NetBSD: ccdconfig.8,v 1.1.2.1 1995/11/11 02:43:33 thorpej Exp $ 2.\" 3.\" Copyright (c) 1995 Jason R. Thorpe. 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 14 unchanged lines hidden (view full) --- 23.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" SUCH DAMAGE. 28.\" 29.\" $FreeBSD$ 30.\" |
31.Dd October 1, 2013 | 31.Dd October 3, 2016 |
32.Dt CCDCONFIG 8 33.Os 34.Sh NAME 35.Nm ccdconfig 36.Nd configuration utility for the concatenated disk driver 37.Sh SYNOPSIS 38.Nm 39.Op Fl cv --- 114 unchanged lines hidden (view full) --- 154The first example creates a 4-disk stripe out of 155four scsi disk partitions. 156The stripe uses a 64 sector interleave. 157The second example is an example of a complex stripe/mirror combination. 158It reads as a two disk stripe of da4 and da5 which is mirrored 159to a two disk stripe of da6 and da7. 160The last example is a simple 161mirror. | 32.Dt CCDCONFIG 8 33.Os 34.Sh NAME 35.Nm ccdconfig 36.Nd configuration utility for the concatenated disk driver 37.Sh SYNOPSIS 38.Nm 39.Op Fl cv --- 114 unchanged lines hidden (view full) --- 154The first example creates a 4-disk stripe out of 155four scsi disk partitions. 156The stripe uses a 64 sector interleave. 157The second example is an example of a complex stripe/mirror combination. 158It reads as a two disk stripe of da4 and da5 which is mirrored 159to a two disk stripe of da6 and da7. 160The last example is a simple 161mirror. |
162The 2nd slice of /dev/da8 is mirrored with the 3rd slice of /dev/da9 | 162The second slice of /dev/da8 is mirrored with the third slice of /dev/da9 |
163and assigned to ccd0. 164.Bd -literal 165# ccdconfig ccd0 64 none /dev/da0s1 /dev/da1s1 /dev/da2s1 /dev/da3s1 166# ccdconfig ccd0 128 CCDF_MIRROR /dev/da4 /dev/da5 /dev/da6 /dev/da7 167# ccdconfig ccd0 128 CCDF_MIRROR /dev/da8s2 /dev/da9s3 168.Ed 169.Pp 170The following are matching commands in --- 70 unchanged lines hidden (view full) --- 241.Xr disklabel 8 , 242.Xr fdisk 8 , 243.Xr gvinum 8 , 244.Xr rc 8 245.Sh HISTORY 246The 247.Nm 248utility first appeared in | 163and assigned to ccd0. 164.Bd -literal 165# ccdconfig ccd0 64 none /dev/da0s1 /dev/da1s1 /dev/da2s1 /dev/da3s1 166# ccdconfig ccd0 128 CCDF_MIRROR /dev/da4 /dev/da5 /dev/da6 /dev/da7 167# ccdconfig ccd0 128 CCDF_MIRROR /dev/da8s2 /dev/da9s3 168.Ed 169.Pp 170The following are matching commands in --- 70 unchanged lines hidden (view full) --- 241.Xr disklabel 8 , 242.Xr fdisk 8 , 243.Xr gvinum 8 , 244.Xr rc 8 245.Sh HISTORY 246The 247.Nm 248utility first appeared in |
249.Nx 1.0a . | 249.Nx 1.1 . |
250.Sh BUGS 251The initial disklabel returned by 252.Xr ccd 4 253specifies only 3 partitions. 254One needs to change the number of partitions to 8 using 255.Dq Nm disklabel Fl e 256to get the usual 257.Bx 258expectations. | 250.Sh BUGS 251The initial disklabel returned by 252.Xr ccd 4 253specifies only 3 partitions. 254One needs to change the number of partitions to 8 using 255.Dq Nm disklabel Fl e 256to get the usual 257.Bx 258expectations. |