[OmniOS-discuss] restore zones after crash

Natxo Asenjo natxo.asenjo at gmail.com
Mon Jun 9 11:12:51 UTC 2014


--
Groeten,
natxo


On Mon, Jun 9, 2014 at 12:37 PM, Ian Collins <ian at ianshome.com> wrote:

> Natxo Asenjo wrote:
>
>
>> On Mon, Jun 9, 2014 at 9:26 AM, Ian Collins <ian at ianshome.com <mailto:
>> ian at ianshome.com>> wrote:
>>
>>     You could try setting the mountpoint of
>>     tank/zones/zone1/ROOT/zbe-5 (assuming that was the last version
>>     use had mounted) to /tank/zones/zone1/root.
>>
>>     zfs set mountpoint=/tank/zones/zone1/root tank/zones/zone1/ROOT/zbe-5
>>
>>  # zfs set mountpoint=/tank/zones/zone1/root tank/zones/zone1/ROOT/zbe-5
>> cannot set property for 'tank/zones/zone1/ROOT/zbe-5': 'mountpoint'
>> cannot be set on dataset in a non-global zone
>>
>>  set zoned=off first.
>

I think it's off now:
# zfs get zoned tank/zones/zone1
NAME              PROPERTY  VALUE  SOURCE
tank/zones/zone1  zoned     off    default
root at zfstank:~# zoneadm -z zone1 attach
Log File: /var/tmp/zone1.attach_log.c.aGPm
ERROR: Failed to locate any dataset mounted at /tank/zones/zone1/root.
Attach requires a mounted dataset.
                    Result: Attach Failed.

 or must  zoned=off be set on the root of the pool?

Thanks,

--
groet,
natxo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20140609/f0af10b4/attachment.html>


More information about the OmniOS-discuss mailing list