Linux AIX间的NFS mount

简介: When linux share folder with windows, we use smb(samba) on linux for win OS to use, use mount on linux to use win OS' folder.When linux share folder with unix, we use nfs between linux and unix.N
When linux share folder with windows, we use smb(samba) on linux for win OS to use, use mount on linux to use win OS' folder.
When linux share folder with unix, we use nfs between linux and unix.

NFS, Net File System.NFS permit a OS to share folder and file on net.Using NFS,user and program can visit files on web side just like local ones.

Record here for check.

1.AIX share folder, linux mount folder

AIX side:(as root)

a. check if there is /etc/exports.if no, create one.

b. start nfs service, cmd: smit -> 。。。->  nfs -> Configure NFS on This System -> Start NFS

c. set export, cmd: smit -> 。。。->  nfs ->Add a Directory to Exports List -> PATHNAME of directory to export;    it will modify /etc/exports, you can also use exportfs to export or modify /etc/exports directly;

d. showmount -e IP / hostname to ensure if exports works well on localhost.

f. add aim IP and host name in /etc/hhosts

Linux part:

a. service portmap start, service nfs start

b. mount IP:/folder folder



2.AIX mount folder,linux share folder

Linux side:

a. vi /etc/exports,  add folder to share and aim IP, such as:

/media 1.2.3.4[rw,sync,insecure,no_root_squash] 5.6.7.8[rw,sync,insecure,no_root_squash]

then 1.2.3.4 and 5.6.7.8 can use this folder

b. service portmap start, service nfs start

c. showmount -e IP/hostname

AIX side:(as root)

a. nfso -p -o nfs_use_reserved_ports=1

b. mount IP:/folder folder 


相关文章
|
1月前
|
Linux Shell Windows
通过Linux挂载Windows端NFS服务实现板端Linux传输文件到PC
通过Linux挂载Windows端NFS服务实现板端Linux传输文件到PC
|
3月前
|
存储 监控 网络协议
【Linux】文件服务NFS(Network File System)
【Linux】文件服务NFS(Network File System)
34 0
|
3月前
|
存储 Linux 网络安全
Linux系统安装NFS服务器
NFS是一种网络文件系统,英文全称Network File System,通过NFS可以让不同的主机系统之间共享文件或目录。通过NFS,用户可以直接在本地NFS客户端读写NFS服务端上的文件,是非常好的共享存储工具。本篇文章将介绍如何在CentOS7上安装NFS服务器,包括服务端和客户端安装两部分。
74 0
|
3月前
|
Unix Linux 文件存储
文件传输、文件挂载MOUNT:NFS、CIFS、ADB、SAMBA
文件传输、文件挂载MOUNT:NFS、CIFS、ADB、SAMBA
70 0
|
1月前
|
存储 Linux Shell
⭐⭐⭐【Shell 命令集合 磁盘管理 】Linux 挂载文件系统 mount使用教程
⭐⭐⭐【Shell 命令集合 磁盘管理 】Linux 挂载文件系统 mount使用教程
50 0
|
1月前
|
Linux 网络安全
Linux NFS协议详解
Linux NFS协议详解
33 5
|
4月前
|
存储 网络协议 Linux
哇~真的是你呀!哎呀!今天是LINUX中的NFS存储服务
NFS(Network File System)是一种用于共享文件系统的协议,常用于Linux系统中。它允许在网络上共享文件和目录,使得多台计算机可以共享和访问相同的文件资源。以下是关于Linux中的NFS服务的简要介绍。
56 0
|
4月前
|
存储 网络协议 Unix
小白带你学习Linux的NFS存储(二十五)
小白带你学习Linux的NFS存储(二十五)
60 0
|
8月前
|
存储 网络协议 Linux
Linux/centos上如何配置管理NFS服务器?
Linux/centos上如何配置管理NFS服务器?
178 0
|
8月前
|
Linux 网络安全 数据安全/隐私保护
Linux NFS协议:实现文件共享与远程访问
NFS(Network File System)是一种在计算机网络上实现文件共享的协议,允许多台计算机共享文件和目录。在Linux系统中,NFS协议被广泛用于实现文件在网络中的共享和远程访问。本文将深入解析Linux下的NFS协议,包括工作原理、配置、使用方法以及安全性措施,帮助读者全面了解NFS协议在实现文件共享和远程访问中的应用。
509 1