ZFS glitches

Not been a great day for ZFS on this X2100.

When unmounting a filesystem from inside a zone, got a spontaneous reboot...

And I'm having a weird problem with a filesystem formerly legacy mounted in a zone. I've uninstalled the zone, and wished to remount the same fs in a new zone. Well,zoneadm isn't having any of it:

bash-3.00# zoneadm -z zimbra install

Preparing to install zone <zimbra>.

ERROR: No such file or directory: cannot mount </export/home/zimbra/root/opt/zimbra> in non-global zone to install: the source block device or directory <pool/zimbra> cannot be accessed

ERROR: cannot setup zone <zimbra> inherited and configured file systems

ERROR: cannot setup zone <zimbra> file systems inherited and configured from the global zone

ERROR: cannot create zone boot environment <zimbra>

zoneadm: zone'zimbra':'/usr/lib/lu/lucreatezone' failed with exit code 74.

After this, I hoped to examine the ZFS filesystem, and perhaps migrate it to a recreated fs.

I was able to mount it, which solves the immediate problem, but can't take a snapshot of it:

bash-3.00# zfs snapshot pool/zimbra@foo

internal error: unexpected error 16 at line 2302 of ../common/libzfs_dataset.c

Am I trying to do something dumb? Or is this bug/corruption? zpool status is quite clean.

[1461 byte] By [qu1j0t3] at [2007-11-26 9:48:52]
# 1

Zones and installation don't yet support ZFS in all aspects. You can mount a ZFS filesystem on the global machine and then make it available to the zone via loopback, but some configurations with putting a zone root on ZFS may have issues. I'm not sure if what you're seeing at the moment is related.

For the snapshot error, I'd either log a bug, or put the details on the ZFS list at www.opensolaris.org/os/discussions.

Are you running update 2?

--

Darren

Darren_Dunham at 2007-7-7 0:57:20 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Yes, U2.

As for the zones/zfs issues, I'm aware that zone root isn't supported on zfs; it's on ufs. The documentation describes a supported configuration with zfs filesystem as a "legacy" mount internal to a zone, which is what I'm doing.

I never was able to get this particular zone (after uninstall) to install while configured this way (other zones worked fine), even after destroying and recreating the filesystem; I ended up removing the fs entry, installing, and adding it later. It's now operating with the legacy mount on a recreated fs.

qu1j0t3 at 2007-7-7 0:57:20 > top of Java-index,Solaris Operating System,Solaris 10 Features...