9.1 RELENG_9 Unable to cleanly dismount root partition on shutdown

Warren Block wblock at wonkity.com
Mon Aug 27 20:35:12 UTC 2012


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.


More information about the freebsd-stable mailing list