ccdconfig.8 (552311f4bb98c81b1b9e0e81d74e0262fc12110b) | ccdconfig.8 (05d98029e9476e39b23f895225d36bf60f22ad91) |
---|---|
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 July 17, 1995 | 31.Dd October 1, 2013 |
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 --- 135 unchanged lines hidden (view full) --- 175.Tn Linux 176and read it from 177.Fx . 178.Bd -literal 179# Create a RAID-0 on Linux: 180mdadm --create --chunk=32 --level=0 --raid-devices=2 /dev/md0 \\ 181 /dev/hda1 /dev/hdb1 182# Make the RAID-0 just created available on FreeBSD: | 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 --- 135 unchanged lines hidden (view full) --- 175.Tn Linux 176and read it from 177.Fx . 178.Bd -literal 179# Create a RAID-0 on Linux: 180mdadm --create --chunk=32 --level=0 --raid-devices=2 /dev/md0 \\ 181 /dev/hda1 /dev/hdb1 182# Make the RAID-0 just created available on FreeBSD: |
183ccdconfig -c /dev/ccd0 32 linux /dev/ad0s1 /dev/ad0s2 | 183ccdconfig -c /dev/ccd0 32 linux /dev/ada0s1 /dev/ada0s2 |
184.Ed 185.Pp 186When you create a new ccd disk you generally want to 187.Xr fdisk 8 188and 189.Xr disklabel 8 190it before doing anything else. 191Once you create the initial label you can --- 67 unchanged lines hidden --- | 184.Ed 185.Pp 186When you create a new ccd disk you generally want to 187.Xr fdisk 8 188and 189.Xr disklabel 8 190it before doing anything else. 191Once you create the initial label you can --- 67 unchanged lines hidden --- |