From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 11:35:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B87E106566B for ; Fri, 25 Apr 2008 11:35:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1B6F98FC1A for ; Fri, 25 Apr 2008 11:35:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JpMCk-0005O4-BH for freebsd-questions@freebsd.org; Fri, 25 Apr 2008 11:35:02 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Apr 2008 11:35:02 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Apr 2008 11:35:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 25 Apr 2008 13:34:43 +0200 Lines: 59 Message-ID: References: <6b0f6a130804241825y4e0827erbd6385f113fc6592@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig20D6C13D5199359180A10841" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.12 (X11/20080227) In-Reply-To: <6b0f6a130804241825y4e0827erbd6385f113fc6592@mail.gmail.com> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: Software RAID and Logical Volume in Linux versus FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2008 11:35:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig20D6C13D5199359180A10841 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Matt Proud wrote: > Hi all, >=20 > I have used FreeBSD for a long time very casually but have never explor= ed > any of its software RAID or volume management features---at least to a > degree to which I feel comfortable with them. What I would like to know= with > this post is 1.) whether there exists the ability to setup an analogue = of > this in FreeBSD; 2.) how this would be done if it is possible; 3.) whet= her > the capabilities of this in FreeBSD are sufficiently mature to manage i= t; > and 4.) how worst-case recovery scenarios would go on FreeBSD. >=20 > I have a four disk software RAID setup in Linux. Everything is in RAID = with > the exception of swap. Here's an approximation of my setup: >=20 > /dev/sd{a,b,c}1 is in a RAID 1 array used as /boot. > /dev/sd{a,b,c}2 is in a RAID 1 array used a /root. > /dev/sd{a,b,c}3 is used as swap with each of equal priority. > /dev/sd{a,b,c}4 is in a RAID 5 array used as LVM. >=20 > /dev/sdd houses spare partitions for the compliment supra. >=20 > LVM is henceforth broke up according to proper Linux-FHS rules. >=20 > What are your thoughts on this? It's definitely doable, see gmirror(8) for RAID1, gvinum(8) for RAID5. Note that there's no separate entity that performs as "LVM" does - this functionality is integrated in the system behaviour. You can use any disk device or partition with any transformation (such as RAID, encryption, iSCSI, etc.) without special preparation, partitioning or labeling. --------------enig20D6C13D5199359180A10841 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIEcHTldnAQVacBcgRAhroAJ9ddhPxF5KHEn5sBK64mTcm8t2+ZwCghj+n rmndN9P/To+PJwnD1G324GU= =o8zy -----END PGP SIGNATURE----- --------------enig20D6C13D5199359180A10841--