Can't get "ZFS on GPT Root" to work.

krad kraduk at
Mon Jan 4 09:38:07 UTC 2010

2010/1/4 Randal L. Schwartz <merlyn at>

> >>>>> "Randal" == Randal L Schwartz <merlyn at> writes:
> >>>>> "krad" == krad  <kraduk at> writes:
> krad> make sure you dont export the pool after you have copied the zpool
> cache
> krad> onto the zfs root fs, as that will break everything.
> Randal> Hmm.  But doesn't executing a shutdown automatically export
> everythign?
> Randal> if not, how is there ever a clean shutdown? :)
> But in fact, that was the problem.
> Once I followed *exactly* the instructions on the page,
> not trying to "tidy up before reboot", it works just fine.
> Thanks everyone for your help.
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <merlyn at> <URL:>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See for Smalltalk and Seaside
> discussion

it caught me out that. I think the issue is that export a zpool isnt
analogous to unmounting a file system. After all you can unmount a zfs fs
without exporting the pool. The fact that the zfs is copy on write and has
the zil should mean it wont loose its integrity.

Also every pool has the hostid of the current system that has imported it,
embedded in it somewhere. eg if you try to import a pool that was previously
mounted on another system and not exported, you have to import it with the
-f flag. Exporting the pool clears this faild an alters the state of the

More information about the freebsd-questions mailing list