ccdconfig.8 (c407d351df08a226f81f5de4406f7371aa6ed270) ccdconfig.8 (8669e516f0e6f48a5017db9e5f4768275f1deaa8)
1.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to The NetBSD Foundation
5.\" by Jason R. Thorpe.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 13 unchanged lines hidden (view full) ---

22.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $NetBSD: ccdconfig.8,v 1.4 1996/02/28 01:01:17 thorpej Exp $
29.\"
1.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to The NetBSD Foundation
5.\" by Jason R. Thorpe.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 13 unchanged lines hidden (view full) ---

22.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $NetBSD: ccdconfig.8,v 1.4 1996/02/28 01:01:17 thorpej Exp $
29.\"
30.Dd January 24, 2024
30.Dd March 22, 2024
31.Dt CCDCONFIG 8
32.Os
33.Sh NAME
34.Nm ccdconfig
35.Nd configuration utility for the concatenated disk driver
36.Sh SYNOPSIS
37.Nm
38.Op Fl cv

--- 132 unchanged lines hidden (view full) ---

171# Create a RAID-0 on Linux:
172mdadm --create --chunk=32 --level=0 --raid-devices=2 /dev/md0 \\
173 /dev/hda1 /dev/hdb1
174# Make the RAID-0 just created available on FreeBSD:
175ccdconfig -c /dev/ccd0 32 linux /dev/ada0s1 /dev/ada0s2
176.Ed
177.Pp
178When you create a new ccd disk you generally want to
31.Dt CCDCONFIG 8
32.Os
33.Sh NAME
34.Nm ccdconfig
35.Nd configuration utility for the concatenated disk driver
36.Sh SYNOPSIS
37.Nm
38.Op Fl cv

--- 132 unchanged lines hidden (view full) ---

171# Create a RAID-0 on Linux:
172mdadm --create --chunk=32 --level=0 --raid-devices=2 /dev/md0 \\
173 /dev/hda1 /dev/hdb1
174# Make the RAID-0 just created available on FreeBSD:
175ccdconfig -c /dev/ccd0 32 linux /dev/ada0s1 /dev/ada0s2
176.Ed
177.Pp
178When you create a new ccd disk you generally want to
179.Xr fdisk 8
180and
181.Xr disklabel 8
179partition it using
180.Xr gpart 8
182it before doing anything else.
183Beware that changing any ccd parameters: interleave, flags, or the
184device list making up the ccd disk, will usually destroy any prior
185data on that ccd disk.
186If this occurs it is usually a good idea to
187reinitialize the label before [re]constructing your ccd disk.
188.Sh RECOVERY
189An error on a ccd disk is usually unrecoverable unless you are using the

--- 11 unchanged lines hidden (view full) ---

201RAID controllers (see GENERIC),
202or software RAID systems such as
203.Xr geom 8
204and
205.Xr gvinum 8 .
206.Sh SEE ALSO
207.Xr dd 1 ,
208.Xr ccd 4 ,
181it before doing anything else.
182Beware that changing any ccd parameters: interleave, flags, or the
183device list making up the ccd disk, will usually destroy any prior
184data on that ccd disk.
185If this occurs it is usually a good idea to
186reinitialize the label before [re]constructing your ccd disk.
187.Sh RECOVERY
188An error on a ccd disk is usually unrecoverable unless you are using the

--- 11 unchanged lines hidden (view full) ---

200RAID controllers (see GENERIC),
201or software RAID systems such as
202.Xr geom 8
203and
204.Xr gvinum 8 .
205.Sh SEE ALSO
206.Xr dd 1 ,
207.Xr ccd 4 ,
209.Xr disklabel 8 ,
210.Xr fdisk 8 ,
208.Xr gpart 8 ,
211.Xr gvinum 8 ,
212.Xr rc 8
213.Sh HISTORY
214The
215.Nm
216utility first appeared in
217.Nx 1.1 .
209.Xr gvinum 8 ,
210.Xr rc 8
211.Sh HISTORY
212The
213.Nm
214utility first appeared in
215.Nx 1.1 .