From owner-freebsd-geom@FreeBSD.ORG Mon Dec 15 10:56:25 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D271065670 for ; Mon, 15 Dec 2008 10:56:25 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C8CA48FC16 for ; Mon, 15 Dec 2008 10:56:24 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA13951; Mon, 15 Dec 2008 12:55:43 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <494637A3.9080807@icyb.net.ua> Date: Mon, 15 Dec 2008 12:55:31 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.18 (X11/20081124) MIME-Version: 1.0 To: vadim_nuclight@mail.ru References: <4939287C.3020208@icyb.net.ua> In-Reply-To: Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: partition covering the whole slice [repost] X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 10:56:25 -0000 on 08/12/2008 14:30 Vadim Goncharov said the following: > Yes, of course. You should not intermix using glabel(8) utilizing /dev/ufs > (via tunefs) and bsdlabel partition starting from offset 0. This is because > glabel can't distinguish is that slice or partition - with offset 0 superblock > will be at the same position. > > You can try to erase bsdlabel completely (if this is not your boot partition) > from the slice and use filesystem directly from the slice. This will not affect > mount as you're already using labels. > > The other way will require shrinking-then-moving partition on the disk and > editing disklabel, better done with newfs(8). Vadim, thanks a lot for the explanation and the advice. I used gpart destroy to remove bsdlabel and now I have filesystems covering the whole slices. This works well. -- Andriy Gapon