免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3591 | 回复: 6
打印 上一主题 下一主题

在ZFS系统基础上不能架设ZONE业务吗? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-01-15 21:16 |只看该作者 |倒序浏览
# uname -a\r\nSunOS globus 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-880\r\n# zfs list\r\nNAME                   USED  AVAIL  REFER  MOUNTPOINT\r\namin_pool             10.0G   124G  27.5K  /amin_pool\r\namin_pool/111           50K  20.0G  25.5K  /amin_pool/111\r\namin_pool/111/001     24.5K  10.0G  24.5K  /amin_pool/111/001\r\namin_pool/222         10.0G  20.0G  26.5K  /amin_pool/222\r\namin_pool/222/002     22.5K  30.0G  22.5K  -\r\namin_pool/222/003     24.5K  20.0G  24.5K  /amin_pool/222/003\r\n# \r\n\r\n# zoneadm list -cp\r\n0:global:running:/\r\n-:amin-zone:installed:/export/amin-zone\r\n-:snort-zone:configured:/amin_pool/111\r\n\r\n# zoneadm -z snort-zone verify\r\n/amin_pool/111 不能为 组可读。\r\n/amin_pool/111 不能为 组可执行。\r\n/amin_pool/111 不能为 全局可读。\r\n/amin_pool/111 不能为 全局可执行。\r\n由于以上错误,因此无法检验区域路径 /amin_pool/111。\r\nzoneadm: 区域 snort-zone 无法检验

论坛徽章:
0
2 [报告]
发表于 2009-01-15 23:15 |只看该作者
It is a permission problem and has nothing to do with ZFS. Try to set the permission of /amin_pool/111 to 700 (rwx------)

论坛徽章:
0
3 [报告]
发表于 2009-01-16 09:01 |只看该作者

回复 #2 briangao 的帖子

# uname -a\r\nSunOS globus 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-880\r\n# zfs list\r\nNAME                   USED  AVAIL  REFER  MOUNTPOINT\r\namin_pool             10.0G   124G  27.5K  /amin_pool\r\namin_pool/111           50K  20.0G  25.5K  /amin_pool/111\r\namin_pool/111/001     24.5K  10.0G  24.5K  /amin_pool/111/001\r\namin_pool/222         10.0G  20.0G  26.5K  /amin_pool/222\r\namin_pool/222/002     22.5K  30.0G  22.5K  -\r\namin_pool/222/003     24.5K  20.0G  24.5K  /amin_pool/222/003\r\n# \r\n# ls -l / |grep amin\r\ndrwxr-xr-x   4 root     sys            4 12月 28日 23:03 amin_pool\r\n#\r\n# ls -l amin_pool/\r\n总数 6\r\ndrwxr-xr-x   3 root     sys            3 12月 28日 23:03 111\r\ndrwxr-xr-x   3 root     sys            3 12月 28日 23:05 222\r\n#\r\n# zoneadm list -cp\r\n0:global:running:/\r\n-:amin-zone:installed:/export/amin-zone\r\n-:snort-zone:configured:/amin_pool/111\r\n# zone adm -z snort-zone verify\r\nbash: zone: command not found\r\n# zoneadm -z snort-zone verify\r\n/amin_pool/111 不能为 组可读。\r\n/amin_pool/111 不能为 组可执行。\r\n/amin_pool/111 不能为 全局可读。\r\n/amin_pool/111 不能为 全局可执行。\r\n由于以上错误,因此无法检验区域路径 /amin_pool/111。\r\nzoneadm: 区域 snort-zone 无法检验\r\n# \r\n\r\nZFS系统读写权限应该没问题吧?\n\n[ 本帖最后由 amin 于 2009-1-16 09:04 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2009-01-16 23:03 |只看该作者
drwxr-xr-x   3 root     sys            3 12月 28日 23:03 111
There is a problem. Try chmod 700 /amin_pool/111 and run zone verification again\n\n[ 本帖最后由 briangao 于 2009-1-16 10:04 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2009-01-17 09:39 |只看该作者
原帖由 \r\nThere is a problem. Try chmod 700 /amin_pool/111 and run zone verification again
\r\n\r\n按照你的办法试过,还是出现同样的报警。不知道有没有实验成功的,留一言啊?

论坛徽章:
0
6 [报告]
发表于 2009-01-17 12:37 |只看该作者
zone要求自身home目录为700权限,而不是任何其它权限。

论坛徽章:
0
7 [报告]
发表于 2009-01-18 17:49 |只看该作者
真的是chmod 700 /amin_pool/111 后就解决问题了。\r\n谢谢大虾们。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP