solaris zone创建(SUN T5220)失败
zone目录放在/vm/box1 是根分区下
硬盘信息
0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
/pci@0/pci@0/pci@2/scsi@0/sd@0,0
1. c1t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
/pci@0/pci@0/pci@2/scsi@0/sd@2,0
zone list
root # zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- box1 configured /vm/box1 native shared
root# zoneadm -z box1 install
/vm/box1 must not be group readable.
/vm/box1 must not be group writable.
/vm/box1 must not be group executable.
/vm/box1 must not be world readable.
/vm/box1 must not be world writable.
/vm/box1 must not be world executable.
/vm must not be group writable.
/vm must not be world writable.
could not verify zonepath /vm/box1 because of the above errors.
zoneadm: zone box1 failed to verify
为何会出现上述情况,是分区不应该放在根目录下吗?
2、磁盘做了镜像,如何查看,如何取消?
3、如果第二块盘安装了数据库,(裸设备上有这样的情况)如果看,占用多少空间!但df查看,却没看到挂载。。是否我理解有误 ?
root # df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 24G 14G 9.9G 59% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 18G 1.7M 18G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
swap 18G 128K 18G 1% /tmp
swap 18G 40K 18G 1% /var/run
/dev/dsk/c1t0d0s6 994M 1.0M 934M 1% /globaldevices
/dev/dsk/c1t0d0s5 94G 45G 48G 49% /export/home
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Exactly. the permission of "zone path" must be "700".
先改权限试试。
目录权限设置为700吧。
本帖最后由 milujite 于 2011-11-15 13:13 编辑
/vm/box1 must not be group readable.
/vm/box1 must not be group writable.
/vm/box1 must not be group executable.
/vm/box1 must not be world readable.
/vm/box1 must not be world writable.
/vm/box1 must not be world executable.
/vm must not be group writable.
/vm must not be world writable.
could not verify zonepath /vm/box1 because of the above errors.
zoneadm: zone box1 failed to verify
目录权限问题?按这个提示应该是要求600之类的权限。组和other都不允许任何权限。
解决了吗? 应该是虚拟机路径需在根路径下。