简体   繁体   English

如何从另一台Linux服务器获取一台Linux服务器的一个驱动器的读写访问权限

[英]How to get read write access of one drive of a linux server from another linux server

I have created one partition in linux server xxx23 named /common. 我在Linux服务器xxx23中创建了一个名为/ common的分区。 Now I want the drive from linux machines xxx24 and xxx25 with all the privilege. 现在,我希望具有所有特权的Linux机器xxx24和xxx25的驱动器。 The /common drive will be available in both 24 and 25 servers like /common. / common驱动器将在24和25个服务器(例如/ common)中可用。 Is there any way to do that? 有什么办法吗? I am using CentOS 6.3 (64bit) and Dell Server. 我正在使用CentOS 6.3(64位)和Dell服务器。 -Amit -阿米特

  • Activate NFS if not running on all servers 如果不是在所有服务器上都运行,请激活NFS
  • Edit /etc/exports of xxx23 and add IP addresses of xxx24 , xxx25 编辑xxx23的/etc/exports并添加xxx24,xxx25的IP地址
  • Finally mount this partition from xxx24 , xxx35 最后从xxx24,xxx35挂载此分区

You could use Samba and map the drive on the network. 您可以使用Samba并在网络上映射驱动器。 or you could use SSHFS . 或者您可以使用SSHFS

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Linux:通过一个进程从串行端口读取数据,然后通过另一个进程写入数据 - Linux: Read data from serial port with one process and write to it with another 如何在PHP中将tgz文件从一台服务器复制到另一台Linux服务器? - How to copy tgz file one server to another linux server in php? Linux-仅将新文件从一台服务器复制到另一台服务器 - Linux - copying only new files from one server to another 使用日期戳将文件从一台服务器移动到另一台linux - Move files from one server to another linux with date stamp 从另一个Linux服务器连接Linux平台中的Postgres服务器 - Connecting a postgres server in linux platform from another linux server 如何使用 perl 脚本从 linux 服务器读取单个日志到另一个日志文件 - How to read individual logs from linux server into another log file using perl script 将数据包从一个Linux服务器发送到其他服务器(LINUX) - Send data packets from one linux server to other server (LINUX) linux - 将命令从一个终端写入另一个终端 - linux - write commands from one terminal to another 在外部硬盘驱动器或另一个群集上备份整个linux服务器 - backing up entire linux server on external hard drive or another cluster 当客户端将消息写入服务器时,但是服务器无法在Linux上的c / c ++中的sokcet中从客户端读取消息 - when client write the message to the server, but server cannot read the message from the client in sokcet in c/c++ on linux
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM