免费注册 查看新帖 |

Chinaunix

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

请教各位大侠一个solaris zone的问题,折腾好久没搞定,多谢 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-10-14 22:51 |只看该作者 |倒序浏览
本帖最后由 sunlightlu 于 2013-10-14 22:52 编辑

在server1上,设置了NFS share (V3),如下
share -F nfs -o rw=server2-zone1:server2-zone2,root=server2-zone1:server2-zone2,anon=0 -d "DepotZone" /export0/home/isos/

(*server1 和 server2有不同的domainname,不知道这是否有影响)

在server2-zone1 (solaris non-global zone, big zone)上, 执行:
bash-3.00# mount -F nfs Server1:/export0/home/isos /Depot

成功挂载后,在server2-zone1 上继续执行:
bash-3.00# lofiadm -a /Depot/test.iso
/dev/lofi/1


bash-3.00# mount -F hsfs /dev/lofi/1 /iso_test
mount: I/O error
mount: cannot mount /dev/lofi/1

大侠们帮忙看看这里为什么会ERROR?
这种部署场景下,有什么办法可以解决这个问题,多谢啦~

论坛徽章:
0
2 [报告]
发表于 2013-10-17 15:53 |只看该作者
anybody could help me with this ? Thanks!

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:54:45
3 [报告]
发表于 2013-10-18 10:35 |只看该作者
Try :

was:

bash-3.00# mount -F hsfs /dev/lofi/1 /iso_test

IS:

bash-3.00# mount -F hsfs -o ro /dev/lofi/1 /iso_test


#man mount_hsfs
ro

             Mount the file system  read-only.   This  option  is
             required



论坛徽章:
0
4 [报告]
发表于 2013-10-19 09:12 |只看该作者
Thanks a lot!!!
I tried, but it seems not work

论坛徽章:
0
5 [报告]
发表于 2013-10-25 10:33 |只看该作者
在全局Zone中执行lofiadm和mount操作,注意一下zone的路径,比如/testzone/root就是testzone的根目录( /)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP