From owner-freebsd-stable@FreeBSD.ORG Mon Aug 27 10:27:08 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3796F1065678 for ; Mon, 27 Aug 2012 10:27:08 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id DD1AD8FC14 for ; Mon, 27 Aug 2012 10:27:07 +0000 (UTC) Received: from AMD620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q7RAQq5O012930; Mon, 27 Aug 2012 04:26:57 -0600 Date: Mon, 27 Aug 2012 17:26:50 +0700 From: Erich Dollansky To: Matt Smith Message-ID: <20120827172650.7e6a7685@AMD620.ovitrap.com> In-Reply-To: References: <2d4dfcb2637f4d0e9671899538b603d9@xtaz.co.uk> <67DFAA78-A9A2-49F9-9C29-CA5653ECE3C0@lassitu.de> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Stefan Bethke Subject: Re: 9.1 RELENG_9 Unable to cleanly dismount root partition on shutdown X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2012 10:27:08 -0000 Hi, On Mon, 27 Aug 2012 11:12:52 +0100 Matt Smith wrote: > On 2012-08-27 10:28, Stefan Bethke wrote: > > Is there a particular reason you've decided to glabel your > > partitions instead of using GPT labels? Which device did you do the > > newfs on, the > > GPT partition or the glabel device? My hunch is that the label > > metadata sector at the end of the GPT partition is interfering with > > the filesystem. > > > > I'd try labelling my partitions (gpart modify -i 2 -l root ada0; > > gpart modify -i 3 -l swap), then change fstab to reference the gpt > > labels (dev(gpt/root) instead of the glabel ones. > > > > No reason at all really. I had just used it like that on a previous > MBR based system and it worked fine. I have just booted it using the > USB stick again and removed both labels metadata using glabel stop > and clear and changed the fstab to use /dev/gpt/ labels now. > Unfortunately the same issue persists. It mounted fine, but when I > rebooted it it synced all buffers successfully but then gave the same > error saying that it couldn't unmount /. I would run plain UFS for / /var and /tmp and see what will happen then. I know what you will answer. But it will help to isolate the problem. Erich