[OmniOS-discuss] r151020 zone clone failure
Dan McDonald
danmcd at omniti.com
Thu Nov 10 22:37:39 UTC 2016
> On Nov 10, 2016, at 5:27 PM, Michael Talbott <mtalbott at lji.org> wrote:
>
> # zoneadm -z sbp12 clone sbp11
> zone 'sbp12': "/usr/lib/fs/dev/mount -o attrdir=/zones/sbp12/root/dev /dev /zones/sbp12/lu/dev" failed with exit code 1
> zoneadm: zone 'sbp12': call to zoneadmd failed
> ERROR: Zone mount failed
> ERROR: Unmounting zone
> zoneadm: zone 'sbp12': must be mounted before unmount.
>
Damn. It is possible that the LX bits have broken ipkg/lipkg cloning.
I would do the following myself now, but I likelywon't be able to until morning. If you're feeling adventurous:
1.) Edit /usr/lib/brand/ipkg/clone and change "#!/bin/ksh -p" to "#!/bin/ksh -px".
2.) Repeat your attempt to clone a zone. NOTE, you will have far more output this time.
3.) Share the more verbose output with me and/or the list.
4.) Reset /usr/lib/brand/ipkg/clone's first line to "#!/bin/ksh -p".
I didn't change the ipkg/lipkg brand code, but maybe I need to, OR it's assuming zoneadm/zoneadmd behavior.
And if you don't get additional output, that's also useful data.
Thanks,
Dan
More information about the OmniOS-discuss
mailing list