From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 13:35:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB21B16A4CE for ; Sun, 21 Nov 2004 13:35:39 +0000 (GMT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26ABD43D2D for ; Sun, 21 Nov 2004 13:35:39 +0000 (GMT) (envelope-from aeder@list.ru) Received: from [82.179.204.50] (port=63571 helo=gateway.my.home) by mx2.mail.ru with esmtp id 1CVrsP-000Jdo-00; Sun, 21 Nov 2004 16:35:37 +0300 Received: from [10.0.1.5] (megagame.my.home [10.0.1.5]) by gateway.my.home (8.12.6/8.12.6) with ESMTP id iALDZOpE049631; Sun, 21 Nov 2004 16:35:35 +0300 (MSK) (envelope-from aeder@list.ru) Message-ID: <41A099C4.9050905@list.ru> Date: Sun, 21 Nov 2004 16:36:04 +0300 From: =?KOI8-R?Q?=E1=CC=C5=CB=D3=C1=CE=C4=D2_=E4=C5=D2=C5=D7=D1=CE=CB=CF?= User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Smith References: <1100631098.43464.10.camel@shodan.ninjalabs.co.uk> In-Reply-To: <1100631098.43464.10.camel@shodan.ninjalabs.co.uk> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected cc: freebsd-questions@freebsd.org Subject: Re: vinum problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 13:35:39 -0000 Chris Smith wrote: >Hi, > >I've just built a machine with a vinum root successfully. All vinum >sets show that they are up and working. There are two ATA disks in a >RAID1 root formation. > >Some questions? > >1. The set has just failed completely (sorry it isn't up and working >now) on the first reboot. It is possible to bring the machine up from >the primary disk with no problems but any attempt to start the mirror >drive causes a panic with a "hardware error" although checking it with >bsdlabel shows the partition table is intact. Any ideas? the drive is >fine - i've pulled it and tested it and it's fine. It's booting using >BootMgr. > >I've killed it completely now by reloading the vinum config twice. so >it's out of action permanently. > >I did make sure that there was enough space at the start of the disk for >the vinum info to survive. > >2. Speed. The vinum set is a "concat" disk. The read performance was >really slow (visibly so). Can you boot off a striped volume and will it >benefit me at all making it a striped volume at all rather than a >concat? > >hardware: > >SIL3112 SATA RAID controller. >2x 80Gb Seagate barracuda ATA disks (ad4, ad6) >FreeBSD-5.3-STABLE > >config: > >cant provide this - it won't boot any more. > >Any ideas? Or any good resources on setting up a RAID1 root disk??? > >Cheers, > >- Chris. > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > From my point of view, vinum root partition is really useless. You will never have the availability comparable to hardware RAID (i mean, downtime), and will have a lot of troubles with booting from it. From my own expirience, the same results as root vinum partition can be made easily: 1. Make a small partition on every drive in the system. 128 Megs from every drive will be enought. 2. Make each partition bootable, and every day (by cron job in least activity hour) make a dump/restore from the main root partition to all other. 3. usr, var and all other partitions must reside on vinum partition, using rest of the space on the partition. 4. Swap partitions must also be made on every drive. You can easily boot up from every disk in the system, and it will be always configured propertly (assuming you don't change a lot in root filesystem every day). The described configuration is used at least one year on my work, for the SCM system server. The only problem can be that you can't hot-unplug the disk from which you are booted. But it's really very few system's build on average PC hardware and doesn't allowed to went of to the 5-10 minutes. In any case, the RAID (even hardware) is not enought to make a system with less than 1 hour/year offline. Best Regards, Alexander Derevianko