From owner-freebsd-geom@FreeBSD.ORG Mon Sep 6 18:33:10 2004 Return-Path: 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 E174916A4CE for ; Mon, 6 Sep 2004 18:33:10 +0000 (GMT) Received: from v05184.home.net.pl (v05184.home.net.pl [212.85.117.104]) by mx1.FreeBSD.org (Postfix) with SMTP id 13A0143D41 for ; Mon, 6 Sep 2004 18:33:10 +0000 (GMT) (envelope-from kris@home.pl) Received: from localhost (HELO ?81.219.131.10?) (kris@home@127.0.0.1) by matrix11.home.net.pl with SMTP; 6 Sep 2004 18:33:06 -0000 Message-ID: <413CAD65.4080502@home.pl> Date: Mon, 06 Sep 2004 20:33:09 +0200 From: =?UTF-8?B?S3J6eXN6dG9mIENpZXDFgnVjaGE=?= User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <00d701c491af$253ebf30$fe78a8c0@kris> <20040903125220.GP30151@darkness.comp.waw.pl> <413A28A5.4010902@home.pl> <20040906115124.GQ30151@darkness.comp.waw.pl> In-Reply-To: <20040906115124.GQ30151@darkness.comp.waw.pl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-geom@freebsd.org Subject: Re: problems with GEOM_MIRROR X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 18:33:11 -0000 Pawel Jakub Dawidek wrote: > +> sysctl -b kern.geom.conftxt still shows labels like da0a .. da0f, and > +> the mirror is still starting synchronization after every restart. > > I haven't check it yet, but maybe this is because of swap partition. > On shutdown, file systems are unmounted, but I think swap paritition is not. > Could you try to remove swap partition from fstab and try again? ok, you were right. after turning off swap the system starts without synchronizing whole mirror. and the 'sysctl -b kern.geom.conftxt' command doesn't show labels like da0a anymore. this is what i expected. BUT, after physically removing one of the disks in mirror, the system doesn't boot up properly :( It doesn't matter if I remove the first or the second disk - the result is the same: Fragment of logfile: GEOM_LABEL[0]: Label for provider da0 is label/disk0 GEOM_LABEL[1]: UFS2 file system detected on da0. GEOM_LABEL[1]: UFS2 file system detected on da0a. GEOM_LABEL[1]: UFS2 file system detected on da0c. GEOM_LABEL[1]: UFS2 file system detected on da0d. GEOM_LABEL[1]: UFS2 file system detected on da0e. GEOM_LABEL[1]: UFS2 file system detected on da0f. GEOM_MIRROR[1]: Creating device mirror1 (id=1132938933). GEOM_MIRROR[0]: Device mirror1 created (id=1132938933). GEOM_MIRROR[1]: Adding disk label/disk0 to mirror1. GEOM_MIRROR[1]: Disk label/disk0 state change from NONE to NEW (device mirror1). GEOM_MIRROR[0]: Device mirror1: provider label/disk0 detected. Mounting root from ufs:/dev/mirror/mirror1a setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 I think it might be a problem with starting degraded mirror when there is only one disk present in the system. I'll try to add a third disk to the mirror and then start the system with only two of them present. -- kris-at-home-dot-pl