9.1 RELENG_9 Unable to cleanly dismount root partition on shutdown

Matt Smith matt at xtaz.co.uk
Mon Aug 27 19:06:16 UTC 2012

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.


More information about the freebsd-stable mailing list