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 l... 阅读全帖 |
|
t***5 发帖数: 832 | 2 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! |
|
b***p 发帖数: 700 | 3 pyconsole
rtr1 = PyConsole(connection='ssh -l admin 192.168.1.54',
password='password', enable_password='password')
# Cisco IOS 12.2
rtr2 = PyConsole(connection='telnet 192.168.1.23',
user='admin', password='password', enable_password='
password')
# Linux Ubuntu 14.0
linux1 = PyConsole(connection='ssh -l super 192.168.1.102',
os='linux', password='PassWord')
output1 = rtr2.run_commands("show int brief | inc Up")
supports ssh/telnet/console |
|