beautypg.com

Storix Software SBAdmin Solaris Zones Guide User Manual

Page 4

background image

Storix System Backup Administrator

4

Solaris Zones User Guide

Copyright © 2014 Storix, Inc.

Storix is a registered trademark of Storix, Inc in the USA. SBAdmin is a trademark of Storix, Inc in the USA and other countries

If the zones root directory is not empty, attaching the zone will fail with the following error:

root@solaris:~# zoneadm –z z1 attach

Progress being logged to

/var/log/zones/zoneadm.2011213T172709Z.z1.attach

ERROR: Error: Command

nodevices,mountpoint=/zones/z1/root

rpool/zones/z1/rpool/ROOT/solaris> exited with status 1

ERROR: ZFS temporary mount of rpool/zones/testzone/rpool/ROOT/solaris

on /zones/z1/root failed.

Result: Attach Failed.

Now, the zone may be re-attached. During the attach process, the zoned property of the ZFS dataset will
become enabled again (set to “on”).

root@solaris:~# zoneadm –z z1 attach

Progress being logged to

var/log/zones/zoneadm.20111213T140136Z.z1.attach

Converting detached zone boot environment `solaris`.

Attaching…

Installing: Using existing zone boot environment

Zone BE root dataset: rpool/zones/z1/rpool/ROOT/solaris

Cache:

Using

/var/pkg/publisher.

Updating Image format

Updating non-global zone: Linking to image /.

Updating non-global zone: Auditing packages.

No updates necessary for this image.

Updating non-global zone: Zone updated.

Result:

Attach

Succeeded.

Log saved in non-global zone as /zones/z1/root/var/log/zones/

zoneadm.20111213T140136Z.z1.attach

The zone may now be booted using the zoneadm command.