当前位置:网站首页>NFS shared services and experiments
NFS shared services and experiments
2022-07-24 06:36:00 【Walking Di five flowers】
Catalog
Two 、NFS Shared service experiment
One 、NFS Concept
NFS It's based on TCP/IP Transport network file system protocol . By using NFS agreement , The client can access the shared resources in the remote server just like accessing the local directory
For most load balanced clusters , Use NFS Protocol to share data storage is a common practice ,NFS It's also NAS A protocol that storage devices must support . But because of NFS There is no user authentication mechanism , And the data is transmitted in plain text over the network , So the security is very poor , Generally, it can only be used in LAN .
NFS The implementation of a service depends on RPC (Remote Process Call, Remote procedure call ) Mechanism , Mapping to the local process . All need to be installed nfs-utils、rpcbind Software package to provide ―NFS Shared services
Two 、NFS Shared service experiment
One 、NFS The role of

/dev/sdb1、/dev/sdb2、/dev/sdb2 The local disk is attached to .NFS Equivalent to cross network mount ,① Save local storage space, store commonly used data in a server, which can be accessed through the network ;② When the hard disk storage pressure is too high , It will affect the performance of this machine ,NFS There would be no such problem .
Two 、 The experimental steps
Ⅰ:NFS Server configuration
1、 Set up an experimental environment
install / to update nfs-utils、rpcbind software package

2、 Create shared directory
stay NFS Create a shared directory on the server /opt/nfs_data
Give the shared directory a permission

3、 modify NFS Configuration file for
Profile location :/etc/exports
The file configuration is as follows :

4、 start-up
Start... First rpcbind Restart nfs( The host name has changed , For a host )


5、 Check out the NFS share directory
showmount -e

Ⅱ: Client configuration
1、 install / to update nfs-utils、rpcbind software package

2、 Create a mount point
![]()
Ⅲ: mount
To mount temporarily

Permanently mount

mount -a

Ⅳ: verification
Create a file on the client

Check the server

边栏推荐
- Leetcode sword finger offer jz23: the entry node of the link in the linked list
- Wasm vs EVM, Boca's choice predicts the future of the public chain
- JSP tag
- Luckyframeweb testing platform (a full latitude free open source testing platform that supports interface automation, Web UI automation, APP automation, and distributed testing)
- FTP服务与实验
- Summary of common working methods (7S, SWOT analysis, PDCA cycle, smart principle, 6w2h, time management, WBS, 28 principles)
- United Nations agricultural products data analysis
- Configure a fixed remote desktop address [intranet penetration, no need for public IP]
- 【217】#!/ The meaning of usr/bin/env
- Login page + summary
猜你喜欢

United Nations agricultural products data analysis
![Configure a fixed remote desktop address [intranet penetration, no need for public IP]](/img/17/4e119be86189d80b100eb000254a86.png)
Configure a fixed remote desktop address [intranet penetration, no need for public IP]

系统安全及应用

Heap overflow of kernel PWN basic tutorial

IP notes (10)

Leetcode sword finger offer JZ9 dual stack implementation queue

SSH远程访问及控制

The public network uses Microsoft Remote Desktop remote desktop to work remotely at any time

Function application of MySQL

Quick start of go language
随机推荐
实验:LVM逻辑卷的建立、扩容、与删除
Solutions to the failure of wechat TBS online kernel installation
openssl版本升级
Data set and pre training model
Transition effect
Server hardware and RAID configuration practice
Tensorflow GPU installation -- 056
Unable to boot after permanent mounting
API流程和代码结构
Customize ZABBIX agent RPM package
SSH远程访问及控制
Polkadot | interprets how liberty plan, which subverts traditional social media, will be launched in Poka
MeterSphere一站式开源持续测试平台
MySQL Index & execution plan
Summary of ten common vulnerabilities (principle, harm, defense)
rsync(一):基本命令和用法
JSP tag 02
[218] what are the advantages and disadvantages of CS architecture and BS architecture and data on the server and client?
RAID5和LVM组合使用
Log collection and analysis platform
