[OmniOS-discuss] restore zones after crash

Natxo Asenjo natxo.asenjo at gmail.com
Mon Jun 9 07:13:26 UTC 2014


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

> 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?
>

my apologies, I sent it just to you. Here for the list:

# zfs list -r tank/zones/zone1
NAME                                              USED  AVAIL  REFER
MOUNTPOINT
tank/zones/zone1                                 13.3G  4.91T   232K
/tank/zones/zone1
tank/zones/zone1 at r151006                          134K      -   238K  -
tank/zones/zone1/ROOT                            13.3G  4.91T   209K  legacy
tank/zones/zone1/ROOT at r151006                        0      -   209K  -
tank/zones/zone1/ROOT/zbe                         116K  4.91T   773M  legacy
tank/zones/zone1/ROOT/zbe at r151006                    0      -   773M  -
tank/zones/zone1/ROOT/zbe-1                      11.6K  4.91T  11.1G  legacy
tank/zones/zone1/ROOT/zbe-1-backup-1              151K  4.91T  11.1G  legacy
tank/zones/zone1/ROOT/zbe-2                      10.3M  4.91T   770M  legacy
tank/zones/zone1/ROOT/zbe-2 at r151006               279K      -  12.5G  -
tank/zones/zone1/ROOT/zbe-3                       250K  4.91T  11.1G  legacy
tank/zones/zone1/ROOT/zbe-4                      13.3G  4.91T  11.1G  legacy
tank/zones/zone1/ROOT/zbe-4 at 2013-11-09-15:06:18  69.4M      -   773M  -
tank/zones/zone1/ROOT/zbe-4 at 2013-12-13-10:25:43  17.6M      -  12.5G  -
tank/zones/zone1/ROOT/zbe-4 at r151006               186M      -  12.7G  -
tank/zones/zone1/ROOT/zbe-4 at 2014-01-10-21:17:51  1.35M      -  11.1G  -
tank/zones/zone1/ROOT/zbe-4 at 2014-02-09-21:12:09  2.75M      -  11.1G  -
tank/zones/zone1/ROOT/zbe-4 at 2014-04-18-10:36:48  3.13M      -  11.1G  -
tank/zones/zone1/ROOT/zbe-4 at 2014-06-05-20:10:13  3.00M      -  11.1G  -
tank/zones/zone1/ROOT/zbe-5                       215K  4.91T  11.1G  legacy

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


More information about the OmniOS-discuss mailing list