From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 10:52:14 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 A50D716A4CE for ; Thu, 11 Nov 2004 10:52:14 +0000 (GMT) Received: from ns.comptek.ru (ns.comptek.ru [213.180.193.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5EB343D3F for ; Thu, 11 Nov 2004 10:52:13 +0000 (GMT) (envelope-from a.kazakov@comptek.ru) Received: from m4.comptek.ru (m4.comptek.ru [213.180.196.7]) by ns.comptek.ru (8.12.10/8.12.10) with ESMTP id iABAq2tB038844; Thu, 11 Nov 2004 13:52:03 +0300 (MSK) (envelope-from a.kazakov@comptek.ru) Received: from [127.0.0.1] (akazakov.comptek.ru [213.180.196.38]) by m4.comptek.ru (8.12.11/8.12.11) with ESMTP id iABApwwQ001868; Thu, 11 Nov 2004 13:51:58 +0300 (MSK) (envelope-from a.kazakov@comptek.ru) X-AntiVirus: Checked by Dr.Web [version: 4.32b, engine: 4.32b, virus records: 58818, updated: 10.11.2004] Message-ID: <41934430.9020000@comptek.ru> Date: Thu, 11 Nov 2004 13:51:28 +0300 From: Artem Kazakov User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kim Helenius References: <41933854.2000200@cc.jyu.fi> In-Reply-To: <41933854.2000200@cc.jyu.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Ystatus: hits=-60.1 X_ANTIVIRUS SUBJ_RE ALLTRUSTEDIP QUOTED_EMAIL_TEXT EMAIL_ATTRIBUTION NEWBAYES_099 OUR_MESSAGEID REPLY_WITH_QUOTES ORIGINAL_WITH_QUOTES LINK_IN_TEXT X-Corp-Mail: NO X-Spam-Yversion: 1.0.8-Stack512K cc: freebsd-questions@freebsd.org Subject: Re: 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:52:14 -0000 Kim Helenius wrote: > 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. you shoud issue a read command to vinum to make it read configureation. in your case: vinum read /dev/ad5 /dev/ad4 -- Kazakov Artem OOO "CompTek" tel: +7(095) 785-2525, ext.1802 fax: +7(095) 785-2526 WWW: http://www.comptek.ru