由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Hardware版 - 怎样mount另一个Linux server的filesystem (转载)
相关主题
鼓捣nfs失败Pogoplug安装optware和samba (适合新新手)
还是linux的基本问题,求指教前几天amazon deal的4tb seagate外痔硬盘到了
Pogoplug真是DS的好东西阿请教个网络用户名的问题
NAS和NFS有啥区别?pogoplug 太折腾
笔记本NFS开机慢的问题win10和ubuntu双系统启动问题
请教 tomato 防火墙 规则抵制Windows,拒绝垃圾操作系统
box office怎么刷机请教个raid的问题
Pogoplug装了Archlinux后的问题How to mount a solid state drive in the desktop case?
相关话题的讨论汇总
话题: data2话题: mount话题: linux话题: linux2话题: server
进入Hardware版参与讨论
1 (共1页)
t***5
发帖数: 832
1
【 以下文字转载自 Linux 讨论区 】
发信人: take5 (NotAvailable), 信区: Linux
标 题: 怎样mount另一个Linux server的filesystem
发信站: BBS 未名空间站 (Mon Jan 7 12:30:10 2013, 美东)
Two linux servers both running Red Hat 6.
One (linux1) has /dev/sdb1 mounted on /data1, another (linux2) has /dev/sdb2
mounted on /data2. How to make two filesystems available to both servers?
tried something like
http://etutorials.org/Linux+systems/red+hat+linux+bible+fedora+
Thought this should be a simple task. But using the command on linux1
mount linux2:/data2 /data2
didn't work. Any idea?
Thanks!
r*******e
发帖数: 7583
2
NFS should work.
If not, you did sth wrong.

sdb2

【在 t***5 的大作中提到】
: 【 以下文字转载自 Linux 讨论区 】
: 发信人: take5 (NotAvailable), 信区: Linux
: 标 题: 怎样mount另一个Linux server的filesystem
: 发信站: BBS 未名空间站 (Mon Jan 7 12:30:10 2013, 美东)
: Two linux servers both running Red Hat 6.
: One (linux1) has /dev/sdb1 mounted on /data1, another (linux2) has /dev/sdb2
: mounted on /data2. How to make two filesystems available to both servers?
: tried something like
: http://etutorials.org/Linux+systems/red+hat+linux+bible+fedora+
: Thought this should be a simple task. But using the command on linux1

w*r
发帖数: 2421
3
google cluster file system
google NFS
google OCFS
t***5
发帖数: 832
4
是不是作以下就可以了?
on server side:
#service nfs start
on client side:
#mount -t nfs linux2:/data2 /data2
但总是得到
mount.nfs: Connection timed out
请问这是什么问题?
r*******e
发帖数: 7583
5
你这看起来是像NSF连接被防火墙挡住了
临时关掉server上的防火墙试试

【在 t***5 的大作中提到】
: 是不是作以下就可以了?
: on server side:
: #service nfs start
: on client side:
: #mount -t nfs linux2:/data2 /data2
: 但总是得到
: mount.nfs: Connection timed out
: 请问这是什么问题?

t***5
发帖数: 832
6
不知道是否有防火墙, 但telnet不work. 必须用ssh or scp.
怎样关掉server上的防火墙? Thanks.
t***5
发帖数: 832
7
Just did
service iptables stop
then the mount command worked. Then the next question, how do I bypass the
firewall for the mount command to work?
Many thanks.
a9
发帖数: 21638
8
http://www.cyberciti.biz/faq/centos-fedora-rhel-iptables-open-n

【在 t***5 的大作中提到】
: Just did
: service iptables stop
: then the mount command worked. Then the next question, how do I bypass the
: firewall for the mount command to work?
: Many thanks.

Z**0
发帖数: 1119
9
这个要看你对安全和速度的要求了。
两个server在一个子网里边不?
sshfs,就可以,简单。
nfs快,但是安全性没有sshfs好,需要配置nfs server。
iptables的问题,简单的方法,就是在root下,setup,(我猜那个package应该是默认
安装),然后自己按照屏幕,在防火墙里边,打开NFS需要的端口。
t***5
发帖数: 832
10
多谢各位高手.顺便吐槽一下,本人不是admin.问了好几次,就是不干(或不会).
现按各位的办法,叫admin去做.
1 (共1页)
进入Hardware版参与讨论
相关主题
How to mount a solid state drive in the desktop case?笔记本NFS开机慢的问题
HD2 tmobile prepaid + ddwrt openvpn 翻墙手册 (转载)请教 tomato 防火墙 规则
PBO问题:好IMS 到底加再menu的哪里?box office怎么刷机
怎么样才能把某个ip从LAN里隔离出来Pogoplug装了Archlinux后的问题
鼓捣nfs失败Pogoplug安装optware和samba (适合新新手)
还是linux的基本问题,求指教前几天amazon deal的4tb seagate外痔硬盘到了
Pogoplug真是DS的好东西阿请教个网络用户名的问题
NAS和NFS有啥区别?pogoplug 太折腾
相关话题的讨论汇总
话题: data2话题: mount话题: linux话题: linux2话题: server