当前位置:网站首页>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

边栏推荐
- Rsync (I): basic commands and usage
- How to build a website full of ritual sense and publish it on the public website 1-2
- 微信TBS在线安装内核失败的解决方法
- Transition effect
- 手动安装Apache
- Difference between PX and EM and REM
- Solution of forgetting root password in mysql5.7 under Windows
- Pycharm set code template
- 使用自定义zabbix包(4.0.5版本)安装agent和proxy
- FTP服务与实验
猜你喜欢

Set up a WordPress personal blog locally and launch it through the intranet (22)
![Map the intranet to the public network [no public IP required]](/img/d0/b391bcfcaeb4c7ad439e241334361b.png)
Map the intranet to the public network [no public IP required]

LVM and disk quota

【217】#!/ The meaning of usr/bin/env

RESTful API介绍

Leetcode sword finger offer jz25 merges two sorted linked lists

Function application of MySQL

IP notes (10)

SSH远程访问及控制

Jmeter分布式压测
随机推荐
Use and principle of spark broadcast variable and accumulator
go语言的快速上手
object-oriented
Windows下bat脚本备份MySQL数据库
Top 10 vulnerability assessment and penetration testing tools
Solution of forgetting root password in mysql5.7 under Windows
A batch of interview questions and answers_ 20180403 latest arrangement
Do not rent servers, build your own personal business website (2)
Homework in the second week
Jenkins automated unattended operation (up / down)
Rsync (I): basic commands and usage
Playing RTSP video stream on webpage
Animation effect
Leetcode refers to the duplicate number in the offer jz3 array
【214】什么是自动化框架
Windows下Mysql5.7忘记root密码解决方法
General paging 01
MeterSphere一站式开源持续测试平台
Summary of ten common vulnerabilities (principle, harm, defense)
XML parsing
