Sysop.ca

Nerdy verbal diarrhea

Sysop.ca header image 2

Solaris 8 containers with nested filesystems

September 5th, 2008 · 1 Comment

I am working with solaris 8 containers on solaris 10 at work. Today I was working with a container that had some zfs partitions mounted in it and wanted to move it to another machine. When I tried to detach the container I received the following error message.

T2000# zoneadm -z myzone detach
zoneadm: zone ‘myzone’: These file-systems are mounted on subdirectories of /zone_roots/myzone.

zoneadm: zone ‘myzone’: /zone_roots/myzone/vol0

zoneadm: zone ‘myzone’: /zone_roots/myzone/data

T2000# umount /zone_roots/myzone/vol0/
T2000# umount /zone_roots/myzone/data
T2000# zoneadm -z myzone detach
T2000#

I googled to see if there was an obvious answer but found none. It turns out I simply had to unmount the two filesystems before detaching the container. Simple fix but it caused me some serious head scratching for a few minutes.

Tags: General · Unix

1 response so far ↓

  • 1 dhenz // Sep 16, 2008 at 11:10 pm

    I hope… I could learn this solaris zfs archi

Leave a Comment