Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

some questions about zone

2 views
Skip to first unread message

Thomas

unread,
Nov 7, 2009, 5:15:04 AM11/7/09
to
I am a newbie for solaris ,I just follow the doc to set up zone step
by step
but at last ,I met some problems when I used zlogin to login ,although
the zone seems be running.
1.
root@opensolaris-vm:~# zoneadm list -vc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
5 mysql1 running /zone/mysql1 ipkg shared
- mysql2 configured /zone/mysql2 ipkg shared
2.
root@opensolaris-vm:~# zlogin -C mysql1
[Connected to zone 'mysql1' console] 69/69
Reading ZFS config: done.
Mounting ZFS filesystems: (1/5)cannot mount 'rpool/zone': Insufficient
privileges
cannot mount 'rpool/zone/mysql1': Insufficient privileges (5/5)
svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a
failed: exit status 1
Nov 6 18:18:48 svc.startd[3996]: svc:/system/filesystem/local:default:
Method "/lib/svc/method/fs-local" failed with exit status 95.
Nov 6 18:18:48 svc.startd[3996]: system/filesystem/local:default
failed fatally: transitioned to maintenance (see 'svcs -xv' for
details)

3.
root@opensolaris-vm:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 4.70G 2.62G 77.5K /rpool
rpool/ROOT 3.86G 2.62G 19K legacy
rpool/ROOT/opensolaris 3.86G 2.62G 3.72G /
rpool/dump 256M 2.62G 256M -
rpool/export 260M 2.62G 21K /export
rpool/export/home 260M 2.62G 243M /export/home
rpool/export/home/vmplanet 16.7M 2.62G 16.7M /export/home/vmplanet
rpool/zone 341M 2.62G 21K /zone
rpool/zone/mysql1 341M 2.62G 19K /zone/mysql1
rpool/zone/mysql1/ROOT 341M 2.62G 19K legacy
rpool/zone/mysql1/ROOT/zbe 341M 2.62G 341M legacy
rpool/zone/mysql2 19K 2.62G 19K /zone/mysql2

4.
root@opensolaris-vm:~# ls -l /zone/
total 2
drwx------ 4 root root 4 2009-11-07 10:17 mysql1

5.
root@opensolaris-vm:~# zonecfg -z mysql1 info
zonename: mysql1
zonepath: /zone/mysql1
brand: ipkg
autoboot: false
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
net:
address: 192.168.89.125/24
physical: pcn1
defrouter not specified

And who can explain the add dataset step in zonecfg ?
I mean when should I use add dataset ,in my configuration ,no dataset
was set,but it also works .

0 new messages