免费注册 查看新帖 |

Chinaunix

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

mount服务器如何设置:-) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-05-23 12:11 |只看该作者 |倒序浏览
想mount服务器上的东东先应该如何设置?单机(LINUX系统)与服务器分别如何设?     牛人帮帮忙!谢!

[ 本帖最后由 demi91 于 2007-5-26 09:17 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-05-23 12:24 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2007-05-23 14:43 |只看该作者

回复 #2 hzdan 的帖子

我的服务器(SunOS)/etc下没有exports文件,单机(LINUX)上/etc下有但是是打不开的空文档?这怎么办?

论坛徽章:
0
4 [报告]
发表于 2007-05-23 14:53 |只看该作者
sun os 的好像是/etc/vfstab
还有一个是/etc/dfs/dfstab
具体的都忘了,回家要翻翻书了

论坛徽章:
0
5 [报告]
发表于 2007-05-24 14:40 |只看该作者

回复 #4 mxbao 的帖子

我找了一下SunOs上有vfstab,dfs下有dfstab;LINUX上有exports内容分别如下:

vfstab内容:

#device                device                mount                FS        fsck        mount        mount
#to mount        to fsck                point                type        pass        at boot        options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr                ufs        1        yes        -
fd        -        /dev/fd        fd        -        no        -
/proc        -        /proc        proc        -        no        -
/dev/dsk/c0t0d0s1        -        -        swap        -        no        -
/dev/dsk/c0t0d0s0        /dev/rdsk/c0t0d0s0        /        ufs        1        no        -
/dev/dsk/c0t0d0s7        /dev/rdsk/c0t0d0s7        /ecad        ufs        2        yes        -
/dev/dsk/c0t0d0s6        /dev/rdsk/c0t0d0s6        /user        ufs        2        yes        -
/dev/dsk/c0t1d0s7       /dev/rdsk/c0t1d0s7      /data   ufs     2       yes     -
/dev/dsk/c0t1d0s6       /dev/rdsk/c0t1d0s6      /cad    ufs     2       yes     -
swap        -        /tmp        tmpfs        -        yes        -
#/ecad/swapfile  -    -     swap   -  no   -


dfstab内容:


#        Place share(1M) commands here for automatic execution
#        on entering init state 3.
#
#        Issue the command '/etc/init.d/nfs.server start' to run the NFS
#        daemon processes and the share commands, after adding the very
#        first entry to this file.
#
#        share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
#        .e.g,
#        share  -F nfs  -o rw=engineering  -d "home dirs"  /export/home2
        share  -F nfs  /user
        
     

exports内容:

/home/demi             PC_hsl(rw,sync)

这个里面没写啥?我现在想把服务器U67上的/data共享,安装在单机PC_hsl的/home/project上,这样单机就可以看或用/data上的资源了。
应该怎么改呀?请指点!

[ 本帖最后由 demi91 于 2007-5-24 14:49 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2007-05-25 15:18 |只看该作者

我搞定了,谢谢大家!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP