From owner-freebsd-geom@FreeBSD.ORG Sat Mar 25 13:50:02 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1633516A480 for ; Sat, 25 Mar 2006 13:50:02 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51ABF43D45 for ; Sat, 25 Mar 2006 13:50:01 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by nproxy.gmail.com with SMTP id n28so815709nfc for ; Sat, 25 Mar 2006 05:50: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:sender:to:subject:mime-version:content-type; b=qCJ+P9wIzOSckZUKb+ejt+OPfAXXSuvWeNv+i1816xhQgtlGI1zW+P98zCXfG6knx7WM075mOtUQ9s3NUNknsD9eag4nSPBKkDduVoR2J1xYWQsjeJ/8XTyYOnQbttasN2XBe2WzL5pvDf69d3OytZAktL92VN0naZIBVP7mBJA= Received: by 10.48.163.5 with SMTP id l5mr791832nfe; Sat, 25 Mar 2006 05:43:16 -0800 (PST) Received: by 10.48.216.14 with HTTP; Sat, 25 Mar 2006 05:43:16 -0800 (PST) Message-ID: <3131aa530603250543g2b875564s@mail.gmail.com> Date: Sat, 25 Mar 2006 14:43:16 +0100 From: "Olivier Cochard" Sender: cochard@gmail.com To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Gvinum configuration changed after a simple reboot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olivier Cochard List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2006 13:50:02 -0000 Hi all! it's me again torturing gvinum :-) I've found a strange problem with creating gvinum RAID 5 volume. I can reproduce this problem at each time. I'm working with a VMware workstation PC with a 6.1-PRERELEASE and 3 hard drive: - ad0: 102Mb - ad1: 204mb - ad3: 306mb And I want to test a RAID 5 volume with these 3 disks. Then I create this config file: $ cat /var/etc/raid.conf drive disk_ad0 device /dev/ad0s1a drive disk_ad1 device /dev/ad1s1a drive disk_ad3 device /dev/ad3s1a volume raid plex org raid5 256k sd length 0 drive disk_ad0 sd length 0 drive disk_ad1 sd length 0 drive disk_ad3 With this configuration I should obtain a 204Mb RAID5 volume (2 * 102Mb). And gvinum confirm that's right with this output: Software RAID information and status: 3 drives: D disk_ad3 State: up /dev/ad3s1a A: 0/306 MB (0%) D disk_ad1 State: up /dev/ad1s1a A: 0/204 MB (0%) D disk_ad0 State: up /dev/ad0s1a A: 0/102 MB (0%) 1 volume: V raid State: up Plexes: 1 Size: 204 MB 1 plex: P raid.p0 R5 State: up Subdisks: 3 Size: 204 MB 3 subdisks: S raid.p0.s2 State: up D: disk_ad3 Size: 306 MB S raid.p0.s1 State: up D: disk_ad1 Size: 204 MB S raid.p0.s0 State: up D: disk_ad0 Size: 102 MB I can launch a newfs on it without problem, and put file on it ... All seem ok. But... when I reboot the VMWare workstation.. I obtain this: Software RAID status: 3 drives: D disk_ad0 State: up /dev/ad0s1a A: 0/102 MB (0%) D disk_ad1 State: up /dev/ad1s1a A: 0/204 MB (0%) D disk_ad3 State: up /dev/ad3s1a A: 0/306 MB (0%) 1 volume: V raid State: up Plexes: 1 Size: 613 MB 1 plex: P raid.p0 R5 State: up Subdisks: 3 Size: 613 MB 3 subdisks: S raid.p0.s0 State: up D: disk_ad0 Size: 102 MB S raid.p0.s1 State: up D: disk_ad1 Size: 204 MB S raid.p0.s2 State: up D: disk_ad3 Size: 306 MB The total RAID volume space change... and I can't use it anymore!! (must be delete). $ fsck -t ufs /dev/gvinum/raid Cannot find file system superblock fsck_ufs: /dev/gvinum/raid: can't read disk label ** /dev/gvinum/raid ioctl (GCINFO): Inappropriate ioctl for device Any idea ? Thanks, Olivier -- Olivier Cochard FreeNAS main developer http://www.freenas.org Skype: callto://ocochard