From owner-freebsd-current@FreeBSD.ORG Fri Feb 13 07:48:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 599DA16A4CF for ; Fri, 13 Feb 2004 07:48:50 -0800 (PST) Received: from internet.centrenad.com (unknown [206.167.213.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BAA643D1F for ; Fri, 13 Feb 2004 07:48:50 -0800 (PST) (envelope-from vrioux@centrenad.com) Received: from internet.centrenad.com (localhost [127.0.0.1]) by internet.centrenad.com (Postfix) with SMTP id D22B1126037 for ; Fri, 13 Feb 2004 10:43:45 -0500 (EST) Received: from 192.168.1.147 (SquirrelMail authenticated user vince) by internet.centrenad.com with HTTP; Fri, 13 Feb 2004 10:43:45 -0500 (EST) Message-ID: <3109.192.168.1.147.1076687025.squirrel@internet.centrenad.com> Date: Fri, 13 Feb 2004 10:43:45 -0500 (EST) From: "Vincent Rioux" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Vinum dumpconfig returns nothing ?!? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2004 15:48:50 -0000 Hello, I am trying to setup a software raid5 volume using Vinum on FreeBSD 5.2. So far I did successfully complete these tasks : - Created the config file : drive d0 device /dev/ad10 drive d1 device /dev/ad11 drive d2 device /dev/ad4 drive d3 device /dev/ad6 drive d4 device /dev/ad8 drive d5 device /dev/ad9 volume terabyte plex org raid5 433k sd length 0 drive d0 sd length 0 drive d1 sd length 0 drive d2 sd length 0 drive d3 sd length 0 drive d4 sd length 0 drive d5 - Created the volume in Vinum and initialized it (whoa it took a long time!) : vinum -> list 6 drives: D d0 State: up /dev/ad10 A: 0/194481 MB (0%) D d1 State: up /dev/ad11 A: 0/194481 MB (0%) D d2 State: up /dev/ad4 A: 0/194481 MB (0%) D d3 State: up /dev/ad6 A: 0/194481 MB (0%) D d4 State: up /dev/ad8 A: 0/194481 MB (0%) D d5 State: up /dev/ad9 A: 0/194481 MB (0%) 1 volumes: V terabyte State: up Plexes: 1 Size: 949 GB 1 plexes: P terabyte.p0 R5 State: up Subdisks: 6 Size: 949 GB 6 subdisks: S terabyte.p0.s0 State: up D: d0 Size: 189 GB S terabyte.p0.s1 State: up D: d1 Size: 189 GB S terabyte.p0.s2 State: up D: d2 Size: 189 GB S terabyte.p0.s3 State: up D: d3 Size: 189 GB S terabyte.p0.s4 State: up D: d4 Size: 189 GB S terabyte.p0.s5 State: up D: d5 Size: 189 GB Now the problem is that everytime I reboot the machine to test if the volume automounts correctly (yes, start_vinum="YES" is in rc.conf), all the configuration is lost and I must recreate and reinitialize the volume (effectively losing all my data)... Now what's weird, just after setting everything up and finishing initializing the volume, I just can't seem to be able to dump the config from the disks! Even if I do a saveconfig (which I shouldn't have to do since config. updates are not disabled), there's nothing returned from dumpconfig! : vinum -> saveconfig vinum -> dumpconfig vinum -> I had the exact same problem with FreeBSD-5.1 ... I tought Vinum might be broken and since the machine is a fresh install, I decided to reinstall from 5.2... Same problem! :( Any ideas ? Vincent