On 05/29/10 10:16 AM, Ian Collins wrote:
All the zones fail to bot with the same error

r...@i7:~# zoneadm -z ldap boot
zone 'ldap': ERROR: no active dataset.
zone 'ldap':
zoneadm: zone 'ldap': call to zoneadmd failed

Another data point:

I just tried creating another zone, with the following config:

r...@i7:~# zonecfg -z test export
create -b
set zonepath=/zoneRoot/test
set brand=ipkg
set autoboot=true
set ip-type=shared
add net
set address=192.168.42.44
set physical=rge0
set defrouter=192.168.42.3
end

The install failed:

r...@i7:~# zoneadm -z test install
A ZFS file system has been created for this zone.
ERROR: Unable to create the zone's ZFS dataset.

It was partly added:

r...@i7:~# zfs list -r rpool/zoneRoot/test
NAME                       USED  AVAIL  REFER  MOUNTPOINT
rpool/zoneRoot/test         42K   542G    21K  /zoneRoot/test
rpool/zoneRoot/test/ROOT    21K   542G    21K  legacy

A manual create worked:

r...@i7:~# zfs create -o mountpoint=legacy rpool/zoneRoot/test/ROOT/zbe
r...@i7:~# zfs list -r rpool/zoneRoot/test
NAME                           USED  AVAIL  REFER  MOUNTPOINT
rpool/zoneRoot/test             63K   542G    21K  /zoneRoot/test
rpool/zoneRoot/test/ROOT        42K   542G    21K  legacy
rpool/zoneRoot/test/ROOT/zbe    21K   542G    21K  legacy

I see in the truss output from the create:

4101:   write(2, " t o o   m a n y   a r g".., 19)      = 19
4101:   write(2, " u s a g e :\n", 7)                   = 7
4101:   write(2, "\t c r e a t e   [ - p ]".., 122)     = 122
4101:   write(2, "\n F o r   t h e   p r o".., 29)      = 29
4101:   write(2, " z f s   s e t | g e t", 11)          = 11
4101:   write(2, "\n", 1)                               = 1
4101:   write(2, "\n F o r   t h e   d e l".., 41)      = 41
4101:   write(2, " z f s   a l l o w | u n".., 17)      = 17
4101:   write(2, "\n", 1)                               = 1
4101:   _exit(2)

I have the full output if it helps.

--
Ian.

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to