Error while installing zone in opensolaris

while installing zone this error is coming
zoneadm -z test install
ERROR: Error: no zonepath dataset.

Steps done to create one sample zone

zonecfg -z test
create
set zonepath=/zones/test
set autoboot=true
verify
commit
exit
zoneadm -z test install
ERROR: Error: no zonepath dataset.

pls help me in this.................

The error is simply you didn't create a ZFS dataset for the zone.

try

zfs create zones/test

assuming you have a zone pool.

Sorry i am new to solaris what is this zone pool means?
how this zone pool will be created?
I just run the steps which are show above post........

It's a ZFS pool./
An OpenSolaris zone requires a dedicated filesystem (ZFS dataset).
Assuming you used the default names, you can create a dedicated dataset that way:

zfs create /rpool/zones
zfs create /rpool/zones/test

and run again your commands replacing /zones/test with /rpool/zones/test.

ERROR IS COMING

root@opensolaris:~# zfs create /rpool/zones
cannot create '/rpool/zones': leading slash in name

My mistake:

zfs create rpool/zones
zfs create rpool/zones/test

If it still fails, post "zpool status" and "zfs list" output.

zfs pool has created successful and try to verify the zone before installation it is giving error

root@opensolaris:~# zoneadm -z test verify
/rpool/zones/test must not be group readable.
/rpool/zones/test must not be group executable.
/rpool/zones/test must not be world readable.
/rpool/zones/test must not be world executable.
could not verify zonepath /rpool/zones/test because of the above errors.
zoneadm: zone test failed to verify

zoneinfo:
zonename: test
zonepath: /rpool/zones/test
brand: ipkg
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:

chmod 0700 /rpool/zones/test

Pls check the below error

root@opensolaris:~# zoneadm -z test install

Publisher: Using opensolaris.org (http://pkg.opensolaris.org/release/\).
Image: Preparing at /rpool/zones/test/root.

pkg: image-create: The URI 'http://pkg.opensolaris.org/release/' does not appear to point to a valid pkg server.
Please check the server's address and client's network configuration.
Additional details:

Unable to contact valid package server: http://pkg.opensolaris.org/release/
Encountered the following error(s):
Transport errors encountered when trying to contact depot server. Reported the following errors:
1: Transfer from 'opensolaris.org' timed out: timed out.
2: Transfer from 'opensolaris.org' timed out: timed out.
3: Transfer from 'opensolaris.org' timed out: timed out.
4: Transfer from 'opensolaris.org' timed out: timed out.

ERROR: failed to create image
rm: Unable to remove directory /rpool/zones/test/root: Device busy
zoneadm: zone 'test': '/usr/bin/rm -rf' failed with exit code 2.
zoneadm: test: cleaning up zonepath failed: Empty document

It seems your OpenSolaris box isn't properly connected to the Internet.