BBS.ChinaUnix.net
首页 | 新闻 | Linux | FreeBSD | AIX | Windows | 博客 | 论坛 | 存储 | 网络 | 人才 | Wiki | 资料 | 读书 | 手册 | 下载 | 空间 | 搜索
  会员: 密码: 免费注册 | 忘记密码 | 会员登录 | 搜索 | 帮助 


zone failed to boot up

首页 » 论坛 » Solaris »  
[打印] [订阅] [收藏] [本帖文本页] [推荐此主题给朋友,立即获积分]
shyjack
精灵




UID:25719
注册:2002-10-30
最后登录: 2008-10-03
帖子:156
精华:1

可用积分:159 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


1楼 发表于 2008-6-30 12:08 
Hi guys,

I hit a problem that non-global zone won't boot up with a error something to do with devfsadm.

slave:/other/zones #zoneadm list -vc
  ID NAME             STATUS         PATH
   0 global           running        /
   - autonew          installed     /other/zones/autonew

slave:/other/zones #zoneadm -z autonew boot
zoneadm: zone 'autonew': /usr/sbin/devfsadm unexpectedly terminated due to signal 9
zoneadm: zone 'autonew': devfsadm call (/usr/sbin/devfsadm -Z autonew) unexpectedly returned 1
zoneadm: zone 'autonew': call to zoneadmd failed
slave:/other/zones #
slave:/other/zones #zoneadm -z autonew boot
zoneadm: zone 'autonew': zone is already booted
slave:/other/zones #
slave:/other/zones #zonecfg -z autonew delete -F
autonew: Zone state is invalid for the requested operation
slave:/other/zones #

Is anyone aware of something similar like this?

thanks.



您对本贴的看法:鲜花[0] 臭蛋[0]
积分兑换专区 | IT节能和TPC-E活动获奖名单 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘 | 站长如何获得资金?
kaiyi
骑士




UID:19206
注册:2002-9-11
最后登录: 2008-09-09
帖子:58
精华:5

可用积分:84 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


2楼 发表于 2008-6-30 14:29 
一般来说, non-global zone从installed状态先到ready,然后再boot.
可以试试如下:
   # zoneadm -z autonew ready
   这时, zone的状态变为了ready. 再执行
  # zoneadm -z autonew boot
   zone就应该boot起来了,状态将变为running.

不确定, 可以试一试.



您对本贴的看法:鲜花[0] 臭蛋[0]
积分兑换专区 | IT节能和TPC-E活动获奖名单 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘 | 站长如何获得资金?
shyjack
精灵




UID:25719
注册:2002-10-30
最后登录: 2008-10-03
帖子:156
精华:1

可用积分:159 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


3楼 发表于 2008-6-30 14:45 
Yes kaiyi,

I had tried to boot the local zone bit by bit, exactly as you mentioned before.

but after the ready command issued, zone will fail and then go into down status due to the error with devfsadm.

slave:/egao #zoneadm list -vc
  ID NAME             STATUS         PATH
   0 global           running        /
   1 autonew          down           /other/zones/autonew
slave:/egao #

From my understanding, around step of ready or prior to booting, zoneadmd will coordinate with devfsadm to mount /dev within the local zone and populate all relevant dev files.

On the other working server, this is noticed with the following dtrace script, just on my particular damned machine, it failed at this step.

dtrace -qn 'proc:::exec-success { printf("%-14s %s\n",curthread->t_procp->p_parent->p_user.u_comm, curpsinfo->pr_psargs); }'


Further clue is that I installed SUNWjass to harden the system and then roll it back, not sure if this is causing the problem.



您对本贴的看法:鲜花[0] 臭蛋[0]
积分兑换专区 | IT节能和TPC-E活动获奖名单 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘 | 站长如何获得资金?
kaiyi
骑士




UID:19206
注册:2002-9-11
最后登录: 2008-09-09
帖子:58
精华:5

可用积分:84 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


4楼 发表于 2008-7-1 10:12 
能否把你zone的配置贴出来看一下?



您对本贴的看法:鲜花[0] 臭蛋[0]
积分兑换专区 | IT节能和TPC-E活动获奖名单 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘 | 站长如何获得资金?
shyjack
精灵




UID:25719
注册:2002-10-30
最后登录: 2008-10-03
帖子:156
精华:1

可用积分:159 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


5楼 发表于 2008-7-1 15:24 
the zone configuration is pretty simple and here it is.  it might not be related to the zone itself, seems something wrong with the global zone itself.

slave:/other/zones #zonecfg -z autonew
autonew: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:autonew> create -b
zonecfg:autonew> set zonepath=/other/zones/autonew
zonecfg:autonew> set autoboot=false
zonecfg:autonew> add net
zonecfg:autonew:net> set address=172.28.12.211/24
zonecfg:autonew:net> set physical=eri0
zonecfg:autonew:net> end
zonecfg:autonew> verify
zonecfg:autonew> commit
zonecfg:autonew> exit
slave:/other/zones #zoneadm list -vc
  ID NAME             STATUS         PATH
   0 global           running        /
   - autonew          configured     /other/zones/autonew
slave:/other/zones #zoneadm -z autonew install
Preparing to install zone <autonew>.
Creating list of files to copy from the global zone.
Copying <130355> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1107> packages on the zone.
Initialized <1107> packages on zone.
Zone <autonew> is initialized.
Installation of these packages generated errors: <SUNWcsu>
Installation of <86> packages was skipped.
Installation of these packages generated warnings: <VRTSat>
The file </other/zones/autonew/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
slave:/other/zones #



您对本贴的看法:鲜花[0] 臭蛋[0]
积分兑换专区 | IT节能和TPC-E活动获奖名单 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘 | 站长如何获得资金?
whr25   帅哥
骑士



UID:51319
注册:2003-4-10
最后登录: 2008-08-26
帖子:69
精华:1

可用积分:87 (白手起家)
信誉积分:100
专家积分:10 (本版:10)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


6楼 发表于 2008-7-1 15:32 
zoneadm -z autonew install  有提示错误吗?



您对本贴的看法:鲜花[0] 臭蛋[0]

__________________________________

http://whr25.blog.sohu.com/
积分兑换专区 | IT节能和TPC-E活动获奖名单 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘 | 站长如何获得资金?
shyjack
精灵




UID:25719
注册:2002-10-30
最后登录: 2008-10-03
帖子:156
精华:1

可用积分:159 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


7楼 发表于 2008-7-2 16:41 
nothing unusual for installation.



您对本贴的看法:鲜花[0] 臭蛋[0]
积分兑换专区 | IT节能和TPC-E活动获奖名单 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘 | 站长如何获得资金?

首页 » 论坛 » Solaris »


 


Copyright © 2001-2008 ChinaUnix.net All Rights Reserved     联系我们:

感谢所有关心和支持过ChinaUnix的朋友们    转载本站内容请注明原作者名及出处

京ICP证041476号


清除 Cookies - ChinaUnix - Archiver - WAP - TOP

Processed in 0.089343 second(s), 4 queries , Gzip enabled