[OmniOS-discuss] restore zones after crash

Ian Collins ian at ianshome.com
Sun Jun 8 22:04:59 UTC 2014


Natxo Asenjo wrote:
>
> On Sun, Jun 8, 2014 at 11:36 PM, Ian Collins <ian at ianshome.com 
> <mailto:ian at ianshome.com>> wrote:
>
>
>     No, I was referring to "zoneadm -z zone1 attach".  Use "create -b"
>     in the config and then attach once the zone is configured.
>
> ok, sorry about that:
>
>  # zoneadm -z zone1 attach
> Log File: /var/tmp/zone1.attach_log.W.aOmh
> ERROR: Failed to locate any dataset mounted at 
> /tank/zones/zone1/root.  Attach requires a mounted dataset.
>                     Result: Attach Failed.

Ah, that old one....

> root at zfstank:~# less /var/tmp/zone1.attach_log.W.aOmh
>
> but according to mount, the dataset is mounted, though not in 
> /tank/zones/zone1/root but in /tank/zones/zone1
>
> /tank/zones/zone1 on tank/zones/zone1 
> read/write/setuid/devices/nonbmand/exec/xattr/noatime/dev=185001a on 
> Sun Jun  8 15:01:25 2014
>
> Is the zone fubar?
>

Probably not.  What is the output of "zfs list -r" for tank/zones/ zone1?

-- 
Ian.



More information about the OmniOS-discuss mailing list