From owner-freebsd-current@FreeBSD.ORG Tue Sep 30 13:57:38 2003 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 764EA16A4B3 for ; Tue, 30 Sep 2003 13:57:38 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A632344003 for ; Tue, 30 Sep 2003 13:57:34 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h8UKvVlZ001115; Tue, 30 Sep 2003 22:57:31 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Thorsten Greiner From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 30 Sep 2003 22:54:00 +0200." <20030930205400.GA4391@tybalt.greiner.local> Date: Tue, 30 Sep 2003 22:57:31 +0200 Message-ID: <1114.1064955451@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: Problems with geom_bde 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: Tue, 30 Sep 2003 20:57:38 -0000 In message <20030930205400.GA4391@tybalt.greiner.local>, Thorsten Greiner writes: >* Poul-Henning Kamp [2003-09-30 10:54]: >> Did you call "gbde detach" before the umount ? You need to unmount >> first. > >After investigating further I think I have found the reason for the >problem. When I created the disklabel for the partition I was lazy >and entered a size of 2000000 blocks for the slice. I just tried to >reproduce the problem and re-created the slice with a size of 1024M >(which is 2097152 blocks) and the problem seems to have disappeared >- at least I cannot reproduce it anymore. > >So now I wonder if there is any magic constant which the slice size >needs to be a multiple of...? Not that I know off. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.