From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 10:00:59 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 7FE9116A4CE for ; Thu, 11 Nov 2004 10:00:59 +0000 (GMT) Received: from posti6.jyu.fi (posti6.jyu.fi [130.234.4.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFB4343D3F for ; Thu, 11 Nov 2004 10:00:58 +0000 (GMT) (envelope-from tristan@cc.jyu.fi) Received: from [10.1.1.2] (e26b.mylly.jyu.fi [130.234.197.120]) by posti6.jyu.fi (8.12.8/8.12.8/antispam) with ESMTP id iABA0uhA000450 for ; Thu, 11 Nov 2004 12:00:57 +0200 Message-ID: <41933854.2000200@cc.jyu.fi> Date: Thu, 11 Nov 2004 12:00:52 +0200 From: Kim Helenius User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en, ja, fi, zh, zh-cn, ko MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) at posti6.jyu.fi; Thu, 11 Nov 2004 12:00:57 +0200 X-Spam-Checked: by miltrassassin at posti6.jyu.fi; Thu, 11 Nov 2004 12:00:58 +0200 Subject: Vinum configuration lost at vinum stop / start 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: Thu, 11 Nov 2004 10:00:59 -0000 Greetings. I posted earlier about problems with vinum raid5 but it appears it's not restricted to that: Let's make a fresh start with vinum resetconfig. Then vinum create kala.txt which contains: drive d1 device /dev/ad4s1d drive d2 device /dev/ad5s1d volume vinum0 plex org concat sd length 586096s drive d1 sd length 586096s drive d2 Output: 2 drives: D d1 State: up /dev/ad4s1d A: 285894/286181 MB (99%) D d2 State: up /dev/ad5s1d A: 285894/286181 MB (99%) 1 volumes: V vinum0 State: up Plexes: 1 Size: 572 MB 1 plexes: P vinum0.p0 C State: up Subdisks: 2 Size: 572 MB 2 subdisks: S vinum0.p0.s0 State: up D: d1 Size: 286 MB S vinum0.p0.s1 State: up D: d2 Size: 286 MB Now I can newfs /dev/vinum/vinum0, mount it, use it, etc. But when I do vinum stop, vinum start, vinum stop, and vinum start something amazing happens. Vinum l after this is as follows: 2 drives: D d2 State: up /dev/ad5s1d A: 286181/286181 MB (100%) D d1 State: up /dev/ad4s1d A: 286181/286181 MB (100%) 0 volumes: 0 plexes: 0 subdisks: Where did my configuration go?! I can of course recreate it, with no data lost, but imagine this on a raid5 where the plex goes into init mode after creation. Not a pleasant scenario. Also recreating the configuration from a config file after every reboot doesn't sound interesting. -- Kim Helenius tristan@cc.jyu.fi