From owner-freebsd-stable@FreeBSD.ORG Mon Aug 27 20:35:12 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 343CB106564A for ; Mon, 27 Aug 2012 20:35:12 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C40188FC18 for ; Mon, 27 Aug 2012 20:35:11 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q7RKZAdd049623; Mon, 27 Aug 2012 14:35:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q7RKZAXK049620; Mon, 27 Aug 2012 14:35:10 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 27 Aug 2012 14:35:10 -0600 (MDT) From: Warren Block To: Matt Smith In-Reply-To: <79cd5f15b21566846e5ef3579f67668b@xtaz.co.uk> Message-ID: References: <2d4dfcb2637f4d0e9671899538b603d9@xtaz.co.uk> <67DFAA78-A9A2-49F9-9C29-CA5653ECE3C0@lassitu.de> <20120827172650.7e6a7685@AMD620.ovitrap.com> <78f8335e54e04f158609f0382afb8d4d@xtaz.co.uk> <79cd5f15b21566846e5ef3579f67668b@xtaz.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 27 Aug 2012 14:35:11 -0600 (MDT) Cc: Erich Dollansky , 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 20:35:12 -0000 On Mon, 27 Aug 2012, Matt Smith wrote: > On 2012-08-27 19:42, Warren Block wrote: >> No obvious problems jumped out at me. Here are my notes: >> http://www.wonkity.com/~wblock/docs/html/disksetup.html >> >> The gpart version is halfway down. I really need to switch that around. > > Oooooh! You're the owner of that site. As it happens those were the exact > instructions that I used to try and figure out how to do it as you are first > in google for "freebsd gpt newfs"! Hah--I'm famous! > It's just a shame that I then decided to use the same method that I had used > before on my old system for the labelling. On my old system I had used MBR > partitioning and so needed to use glabel for labelling the swap and I then > used the same thing for the UFS partition for consistency in the fstab. It > never occurred to me when I was labelling the GPT partitions that I could > have used those directly. "Experience is what you get when you didn't get what you wanted." > One thing that is still bugging me though is I'm wondering why I had no > problem with this on my old system. That was using a dangerously dedicated > disk with MBR where the root partition was just /dev/ada4a. > It was also using UFS2 with SU+J enabled and I had used glabel in > exactly the same way but on this box it had not done any damage. > Shutdown etc worked perfectly fine. Is there something different with > the way GPT partitions work? In use, GPT partitioning should work just the same. Without recreating it, hard to define the difference that caused the shutdown problem. > Thank you for your help anyway, and your wonkity site, which I also once used > for converting my procmail to maildrop. And thanks also to Erich and Stefan > for your help. When I get some spare time I'll redo the filesystem and hope > that it works. Please post a followup after that.