请教各位大侠一个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?
这种部署场景下,有什么办法可以解决这个问题,多谢啦~ anybody could help me with this ? Thanks! 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
Thanks a lot!!!
I tried, but it seems not work 在全局Zone中执行lofiadm和mount操作,注意一下zone的路径,比如/testzone/root就是testzone的根目录( /)。
页:
[1]