Re: [zones-discuss] What is the workaround to CR6176743

2009-01-29 Thread Jerry Jelinek
Christine Tran wrote:
 I am running into this:
 
 https://opensolaris.org/jive/thread.jspa?threadID=79673
 
 r...@ender:/# zoneadm -z web boot
 zone 'web': Error: error mounting zone root dataset.
 zone 'web':
 zoneadm: zone 'web': call to zoneadmd failed
 
 When I go to check the CR, there's nothing in the workaround.  I just
 need to boot my zone.

You haven't provided much information so its hard
to help you.  What build are you running?  The
issue described in the thread you reference should
be fixed in the OpenSolaris 2008.11 release.  Do
you have a second BE mounted, as is described in
that thread?  If so and you unmount it, does the
zone boot?

Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] What is the workaround to CR6176743

2009-01-29 Thread Christine Tran
On Thu, Jan 29, 2009 at 9:20 AM, Jerry Jelinek gerald.jeli...@sun.com wrote:


 You haven't provided much information so its hard
 to help you.  What build are you running?  The
 issue described in the thread you reference should
 be fixed in the OpenSolaris 2008.11 release.  Do
 you have a second BE mounted, as is described in
 that thread?  If so and you unmount it, does the
 zone boot?


Hi,

I'm running OpenSolaris 2008.11 on bare metal.  This is a very basic
zone, I made a ZFS filesystem for it, and put the zonepath there.  I
build it, boot it, poke around, and shut it down.  Now I get the
previous message when I try to boot it.  I don't have a 2nd BE
mounted, unless this is something OS does for me out of the box.

CT
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] What is the workaround to CR6176743

2009-01-29 Thread Jerry Jelinek
Christine Tran wrote:
 On Thu, Jan 29, 2009 at 9:20 AM, Jerry Jelinek gerald.jeli...@sun.com wrote:
 
 You haven't provided much information so its hard
 to help you.  What build are you running?  The
 issue described in the thread you reference should
 be fixed in the OpenSolaris 2008.11 release.  Do
 you have a second BE mounted, as is described in
 that thread?  If so and you unmount it, does the
 zone boot?

 
 Hi,
 
 I'm running OpenSolaris 2008.11 on bare metal.  This is a very basic
 zone, I made a ZFS filesystem for it, and put the zonepath there.  I
 build it, boot it, poke around, and shut it down.  Now I get the
 previous message when I try to boot it.  I don't have a 2nd BE
 mounted, unless this is something OS does for me out of the box.

What is the output of 'mount -p' and 'zfs list' on this
system?

Thanks,
Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] What is the workaround to CR6176743

2009-01-29 Thread Christine Tran
 What is the output of 'mount -p' and 'zfs list' on this
 system?

r...@ender:/# mount -p
rpool/ROOT/opensolaris - / zfs - no
/devices - /devices devfs - no
/dev - /dev dev - no
ctfs - /system/contract ctfs - no
proc - /proc proc - no
mnttab - /etc/mnttab mntfs - no
swap - /etc/svc/volatile tmpfs - no xattr
objfs - /system/object objfs - no
sharefs - /etc/dfs/sharetab sharefs - no
/usr/lib/libc/libc_hwcap1.so.1 - /lib/libc.so.1 lofs - no
fd - /dev/fd fd - no rw
swap - /tmp tmpfs - no xattr
swap - /var/run tmpfs - no xattr
rpool/export - /export zfs - no rw,devices,setuid,nonbmand,exec,xattr,atime
rpool/export/home - /export/home zfs - no
rw,devices,setuid,nonbmand,exec,xattr,atime
rpool/export/home/ctran - /export/home/ctran zfs - no
rw,devices,setuid,nonbmand,exec,xattr,atime
rpool - /rpool zfs - no rw,devices,setuid,nonbmand,exec,xattr,atime
rpool/zones/web/ROOT/zbe - /zones/web/root zfs - no
rw,devices,setuid,nonbmand,exec,xattr,atime
rpool/zones - /zones zfs - no rw,devices,setuid,nonbmand,exec,xattr,atime
rpool/zones/web - /zones/web zfs - no
rw,devices,setuid,nonbmand,exec,xattr,atime

r...@ender:/# zfs list
NAME   USED  AVAIL  REFER  MOUNTPOINT
rpool 4.78G  29.7G72K  /rpool
rpool/ROOT4.10G  29.7G18K  legacy
rpool/ROOT/opensolaris4.10G  29.7G  4.03G  /
rpool/dump 256M  29.7G   256M  -
rpool/export  31.0M  29.7G19K  /export
rpool/export/home 31.0M  29.7G19K  /export/home
rpool/export/home/ctran   31.0M  29.7G  31.0M  /export/home/ctran
rpool/zones407M  29.7G20K  /zones
rpool/zones/web407M  29.7G21K  /zones/web
rpool/zones/web/ROOT   407M  29.7G18K  legacy
rpool/zones/web/ROOT/zbe   407M  29.7G   407M  legacy
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] What is the workaround to CR6176743

2009-01-29 Thread Jerry Jelinek
Assuming that the zonepath for your zone
is /zones/web, then the problem is that it
looks like the dataset was not umounted when
you shut down the zone.

Christine Tran wrote:
 What is the output of 'mount -p' and 'zfs list' on this
 system?
 
 r...@ender:/# mount -p
 rpool/ROOT/opensolaris - / zfs - no
 /devices - /devices devfs - no
 /dev - /dev dev - no
 ctfs - /system/contract ctfs - no
 proc - /proc proc - no
 mnttab - /etc/mnttab mntfs - no
 swap - /etc/svc/volatile tmpfs - no xattr
 objfs - /system/object objfs - no
 sharefs - /etc/dfs/sharetab sharefs - no
 /usr/lib/libc/libc_hwcap1.so.1 - /lib/libc.so.1 lofs - no
 fd - /dev/fd fd - no rw
 swap - /tmp tmpfs - no xattr
 swap - /var/run tmpfs - no xattr
 rpool/export - /export zfs - no rw,devices,setuid,nonbmand,exec,xattr,atime
 rpool/export/home - /export/home zfs - no
 rw,devices,setuid,nonbmand,exec,xattr,atime
 rpool/export/home/ctran - /export/home/ctran zfs - no
 rw,devices,setuid,nonbmand,exec,xattr,atime
 rpool - /rpool zfs - no rw,devices,setuid,nonbmand,exec,xattr,atime
 rpool/zones/web/ROOT/zbe - /zones/web/root zfs - no

This should not be mounted if the zone is halted.

 rw,devices,setuid,nonbmand,exec,xattr,atime
 rpool/zones - /zones zfs - no rw,devices,setuid,nonbmand,exec,xattr,atime
 rpool/zones/web - /zones/web zfs - no
 rw,devices,setuid,nonbmand,exec,xattr,atime
 
 r...@ender:/# zfs list
 NAME   USED  AVAIL  REFER  MOUNTPOINT
 rpool 4.78G  29.7G72K  /rpool
 rpool/ROOT4.10G  29.7G18K  legacy
 rpool/ROOT/opensolaris4.10G  29.7G  4.03G  /
 rpool/dump 256M  29.7G   256M  -
 rpool/export  31.0M  29.7G19K  /export
 rpool/export/home 31.0M  29.7G19K  /export/home
 rpool/export/home/ctran   31.0M  29.7G  31.0M  /export/home/ctran
 rpool/zones407M  29.7G20K  /zones
 rpool/zones/web407M  29.7G21K  /zones/web
 rpool/zones/web/ROOT   407M  29.7G18K  legacy
 rpool/zones/web/ROOT/zbe   407M  29.7G   407M  legacy

It would be nice to try to understand more about
what you did so we could try to figure out why
the dataset was left mounted when you halted the zone.
If there is anything unusual you can recall, please
let me know.

In the meantime, to get your zone working again, you
should be able to manually unmount the dataset:

# umount /zones/web/root

Jerry


___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] What is the workaround to CR6176743

2009-01-29 Thread Christine Tran
On Thu, Jan 29, 2009 at 10:44 AM, Jerry Jelinek gerald.jeli...@sun.com wrote:

 It would be nice to try to understand more about
 what you did so we could try to figure out why
 the dataset was left mounted when you halted the zone.
 If there is anything unusual you can recall, please
 let me know.

I don't think I did anything special -- I did recall trying to zfs
umount and remount a few things, rpool/zones I think, because that's
the one I explicitly created.  It seems not to have work.

 In the meantime, to get your zone working again, you
 should be able to manually unmount the dataset:

 # umount /zones/web/root

Not working for me.

r...@ender:/# umount /zones/web/root
cannot unmount '/zones/web/root': No such file or directory

r...@ender:/# zfs umount rpool/zones/web/ROOT/zbe
cannot unmount 'rpool/zones/web/ROOT/zbe': legacy mountpoint
use umount(1M) to unmount this filesystem

I'm stuck, mount thinks it's there but it's not really there.

CT
___
zones-discuss mailing list
zones-discuss@opensolaris.org