[OmniOS-discuss] restore zones after crash

Ian Collins ian at ianshome.com
Sun Jun 8 21:36:14 UTC 2014


Natxo Asenjo wrote:
>
> Hi Ian,
>
> On Sun, Jun 8, 2014 at 10:30 PM, Ian Collins <ian at ianshome.com 
> <mailto:ian at ianshome.com>> wrote:
>
>     Natxo Asenjo wrote:
>
>         But how do I reimport the zones I had? I have the data on the
>         same data pool, but I do not have any config files (obviously,
>         no other backups).
>
>
>     Assuming your zone's root filesystems are intact, have you tried
>     configuring the zones and then attaching them?
>
>
> yes, I tried zonecfg -z zone1 and then
>
> zonecfg:zone1> create -a /tank/zones/zone1
> invalid path to detached zon
>

No, I was referring to "zoneadm -z zone1 attach".  Use "create -b" in 
the config and then attach once the zone is configured.

-- 
Ian.



More information about the OmniOS-discuss mailing list