sunlightlu 发表于 2013-10-14 22:51

请教各位大侠一个solaris zone的问题,折腾好久没搞定,多谢

本帖最后由 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?
这种部署场景下,有什么办法可以解决这个问题,多谢啦~

sunlightlu 发表于 2013-10-17 15:53

anybody could help me with this ? Thanks!

junglelion 发表于 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 systemread-only.   Thisoptionis
             required



sunlightlu 发表于 2013-10-19 09:12

Thanks a lot!!!
I tried, but it seems not work

Zerforce 发表于 2013-10-25 10:33

在全局Zone中执行lofiadm和mount操作,注意一下zone的路径,比如/testzone/root就是testzone的根目录( /)。
页: [1]
查看完整版本: 请教各位大侠一个solaris zone的问题,折腾好久没搞定,多谢