From owner-freebsd-stable@FreeBSD.ORG Tue Jan 18 11:22:01 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35F3116A4CE for ; Tue, 18 Jan 2005 11:22:01 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BD6B43D5A for ; Tue, 18 Jan 2005 11:22:00 +0000 (GMT) (envelope-from davidelsing@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so845770wri for ; Tue, 18 Jan 2005 03:22:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=rreZBib68y8sF5T/hedDQ8mjmO80uawujPD0tbny5+ITb7k3FDX0vrs5Cmd0+aA6YoihSmjQlNPfgR7fp0m8zNK1o5XRaO77vmRO8KB0f/YbBMYWpuRou8NmEKryIXz2CjWqgR0X/iu8597O3m8rTRtuuPGPVBJJuoQODiNBtRQ= Received: by 10.54.52.40 with SMTP id z40mr113713wrz; Tue, 18 Jan 2005 03:21:59 -0800 (PST) Received: by 10.54.5.6 with HTTP; Tue, 18 Jan 2005 03:21:59 -0800 (PST) Message-ID: Date: Tue, 18 Jan 2005 12:21:59 +0100 From: David Elsing To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Vinum Raid5 Init question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Elsing List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 11:22:01 -0000 I've installed Vinum RAID5 on a 4-disk setup. Since I don't have much experience I installed my plex through the example in the Vinum manual. I used 'setupstate' to put the disks into 'up'-status. Quote from the manual of the 4th example of the chapter "HOW TO SET UP VINUM": "In addition, the volume specification includes the keyword setupstate, which ensures that all plexes are up after creation." But a couple of weeks later I read the following in the manual: "Note that you must use the init command with RAID-5 plexes: otherwise extreme data corruption will result if one subdisk fails." I read this to my horror after I filled the volume with data. You'll probably noticed I didn't init my volume. The disks are in good condition. The volume is almost filled to the maximum capacity. So a backup is a bit difficult due to the size of it. Are there any other options? If one disks fails, do I still get corrupted data? I don't know if any manual maintainer is reading this, but is it possible to add this warning to the RAID5 example at the end of vinum(8)? Regards, David Elsing Vinum create file: drive d1 device /dev/ad4s1e drive d2 device /dev/ad5s1e drive d3 device /dev/ad6s1e drive d4 device /dev/ad7s1e volume raid setupstate plex org raid5 1024k sd length 0 drive d1 sd length 0 drive d2 sd length 0 drive d3 sd length 0 drive d4