From owner-freebsd-questions@FreeBSD.ORG Fri Jun 22 10:28:12 2012 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 3BF62106566B for ; Fri, 22 Jun 2012 10:28:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 539778FC16 for ; Fri, 22 Jun 2012 10:28:11 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q5MAS6hE039686 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 22 Jun 2012 11:28:07 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q5MAS6hE039686 Authentication-Results: smtp.infracaninophile.co.uk/q5MAS6hE039686; dkim=none (no signature); dkim-adsp=none Message-ID: <4FE448AF.5070906@FreeBSD.org> Date: Fri, 22 Jun 2012 11:27:59 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: dude golden References: <1340356289.73682.YahooMailNeo@web160602.mail.bf1.yahoo.com> In-Reply-To: <1340356289.73682.YahooMailNeo@web160602.mail.bf1.yahoo.com> X-Enigmail-Version: 1.4.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9C1DCE908E73BE7579845AB7" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: "freebsd-questions@FreeBSD.org" Subject: Re: question about prblem with raid 1 for 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, 22 Jun 2012 10:28:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9C1DCE908E73BE7579845AB7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22/06/2012 10:11, dude golden wrote: > INTEL > 1x Quad-Core i5-2500 3.3GHz, 6M Cache > 16GB DDR3 > 2x 500GB SATAII > then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID > 1, after many times of fail in installation from colocation they said > that we have problem with RAID 1.we suggest them to play with > different kind of RAID like RAID 5 and they said as our requested > server only have 2 HDD, its not possible to set up RAID 5. Correct. RAID5 requires at least 3 drives. The only way to have resilience against disk failure with just two drives is to use RAID1 (mirroring). How exactly are your colleagues attempting to set up RAID1. There are several different ways of doing it, but these are the most popular: * Using the built-in ATAPI RAID provided by many motherboards * gmirror * ZFS ATAPI RAID is perhaps the least effective, and may require downtime in order to rebuild the system after a disk failure. I suspect this is what is causing your colleagues problems. For setting up a gmirror RAID see this article: http://onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html (That will work fine with 8.2 or older and the old sysinstall; needs to be adapted if using the new bsdinstall with gpart) For setting up a ZFS mirror, see: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror or I wrote a similar piece assuming use of bsdinstall: http://www.infracaninophile.co.uk/articles/install-on-zfs/ Both of the gmirror or ZFS procedures involve going beyond what the installer provides and doing at least part of the work from the command line. If that is too scary to contemplate, then try using the PC-BSD installer to install FreeBSD -- it lets you set up mirrors or ZFS from a menu system, and can install plain FreeBSD as well as PC-BSD: http://www.pcbsd.org/index.php?option=3Dcom_zoo&view=3Ditem&Itemid=3D98= > now they said us that the only way for having backup of DATA in this > condition is set up a scheduled task to put back up of data in the > second HDD . Well, this is really unsatisfactory and your colleagues should be ashamed= =2E First of all, RAID1 is not *backup*. If you accidentally delete a file, it will be removed from both of the mirrored drives. The thing that RAID1 gets you is resilience to disk failure: one of your drives going 'pop' will not result in the system crashing or any service interruption.= Backup of the system should be arranged through some other means: there are many programs available to do the job in the base system or the ports -- personally I like tarsnap, which will backup your data to the cloud (Amazon flavoured cloud, that is) for a very reasonable rate. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig9C1DCE908E73BE7579845AB7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/kSLYACgkQ8Mjk52CukIyrGwCfbmA5bJbRn1nKXTmH/H/GqM/L RuUAn1hQrOhxrflWg/ialOKalS1do6v1 =zOej -----END PGP SIGNATURE----- --------------enig9C1DCE908E73BE7579845AB7--