Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2012 20:06:14 +0100
From:      Matt Smith <matt@xtaz.co.uk>
To:        Warren Block <wblock@wonkity.com>
Cc:        Erich Dollansky <erichfreebsdlist@ovitrap.com>, freebsd-stable@freebsd.org, Stefan Bethke <stb@lassitu.de>
Subject:   Re: 9.1 RELENG_9 Unable to cleanly dismount root partition on shutdown
Message-ID:  <79cd5f15b21566846e5ef3579f67668b@xtaz.co.uk>
In-Reply-To: <alpine.BSF.2.00.1208271230360.48366@wonkity.com>
References:  <2d4dfcb2637f4d0e9671899538b603d9@xtaz.co.uk> <67DFAA78-A9A2-49F9-9C29-CA5653ECE3C0@lassitu.de> <b98001dbe576eafcf4f4500e975680ec@xtaz.co.uk> <20120827172650.7e6a7685@AMD620.ovitrap.com> <c5c51c674a29c136f0d10a3fe936a6a0@xtaz.co.uk> <alpine.BSF.2.00.1208270750130.46223@wonkity.com> <78f8335e54e04f158609f0382afb8d4d@xtaz.co.uk> <alpine.BSF.2.00.1208271230360.48366@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"!

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.

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?

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.

Matt.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79cd5f15b21566846e5ef3579f67668b>