What is NFS?
Network File SystemNFS was developed by Sun and launched in 1984. NFS is an RPC service that enables file sharing. It is designed to be used between different systems, therefore, its communication protocol design has nothing to do with the host and the operating system. when users want to use remote files, they only need to use "Mount" to connect the remote file system to their own file system,
Mount a remote disk to a local disk through NFS in Linux
Recently, due to project reasons, we need to connect to the other two companies and retrieve the image data from the server of the other party. The original agreement was that the third party communicated through the http protocol, but the other party did not cooperate, the files are stored on their servers. Therefore, you can attach the disk of the server to a local device to obtain the disk.
N
Linux Operations Phase III (VII) NFS configuration1, server-side software: Install Nfs-utils and Portmap (Rpcbind)Nfs-utils: Offers two NFS daemons kits for RPC.NFSD and RPC.MOUNTDPortmap:nfs can actually be seen as an RPC server program, and to start an RPC server program, do the work of port, and this task is done by
In Red Hat Enterprise Linux 5.0 server, if NFS fails, you can check the problem from the following aspects.
1.1 troubleshooting ideas
(1) Whether the NFS client and server load is too high, and whether the network between the server and the client is normal.
(2) Correctness of the/etc/exports file.
(3) restart the NFS or portmap service if
1, server-side software: Install Nfs-utils and Portmap (Rpcbind)nfs-utils: Two NFS Daemons kits for RPC.NFSD and RPC.MOUNTDPortmap:nfs can actually be viewed as an RPC server program, and to start an RPC server program, do a good job of port correspondence, and such a task is done by Portmap. Popular saying Portmap is used to do the mapping of the port.NFS need t
mount is complete, we can write the file to/opt/huiyy and the file will be written to our mounted disk.
7. Configure Share
Shared directory "/opt/huiyy/resource" and "/opt/huiyy/log" Permissions "Rw,sync,no_root_squash"
Command vi/etc/exports Edit content: Wq Save exit
Shared view command for More/etc/exports
8, the client mount this directory
We use the above server to configure the shared directory as Server A, and we are now ready to mount the shared directory server as Server B
A) log
NFS server configuration
I. NFS server configuration, that is, shared publisher
(1) services to be started and software to be installed
1,The NFS server must start two daemons services: rpc. nfsd and rpc. mountd.Rpc. nfsd: used to manage whether the client PC can log on. Similar to share permissions in windows.Rpc. mountd: used to manage the file security permiss
I. Introduction to NFSNFS is the abbreviation for the network file system, which is the web filesystem. A type of distributed file contract, developed by Sun Company. The function is to allow different machines, different operating systems to share personal data through the network, so that the application can access the data on the server disk through the network. NFS relies on the RPC protocol during file transfer or information transfer. RPC, remot
NFS Network File System building what is an NFS network file system?The NFS (Network File system), which is one of the file systems supported by FreeBSD, allows computers in the network to share resources across TCP/IP networks. In an NFS application, a local NFS client appl
Rotten mud: NFS is used for storage and KVM integration, and nfskvm Integration
This article was sponsored by Xiuyi linfeng and first launched in the dark world.
In previous articles about NFS, we introduced NFS mounting and so on. This article describes how to use NFS as storage.
Since the topic of this article is abo
I. Introduction TO Services for NFSNFS is the abbreviation for the network file system, which is the web filesystem. A contract for the decentralized file system, developed by Sun, was announced in 1984. The function is to enable different machines, different operating systems to share individual data with each other, so that the application can access the data on the server disk through the network, and it is a way to implement disk file sharing among Unix-like systems.The basic principle of
1. Open Portmap and NFS service Portmap startService NFS StartChkconfig--level NFSChkconfig--level Protmap2. The directory to be shared is written to the exports file, assuming that the shared directory is/sharedisk/Vim/etc/exportsAdd in the exports file/sharedisk 192.168.0.0/24 (Rw,no_root_squash,async)#表示将/sharedisk This directory to 192.168.0.* these clients, the parameters in parentheses are set in the
Rhel6 the NFS components are generally installed by default when installing the system; If your system is not installed, install it yourself:Yum-y Install Nfs-utils Portmap. First configure the NFS server side. Edit the NFS configuration file/etc/exports with VI (the file default content is blank) and add the following
Software version OS: RHEL6.0 (Santiago) FireWall: iptablesv1.4.7NFS: nfs-utils-1.2.2-7.el6.i686 (server) nfs-utils-lib (client) 1. start NFS service: servicenfsstart (assuming nfs-utils and portmap have been installed and iptables has stopped the software version
OS: RHEL 6.0 (Santiago)
FireWall:
IptablesV1.4.7
Outline:I. Introduction to NFSSecond, the system environmentThird, Installation configuration NFSIv. Description of NFS configuration filesI. Introduction to NFSNFS is the abbreviation for the network file system, which is the web filesystem. A contract for the decentralized file system, developed by Sun, was announced in 1984. The function is to enable different machines, different operating systems to share individual data with each other, so that t
For NFS systems, we had a lot of experience in the past. We know that it is a protocol for file control in the network. Many storage functions are closely related to him. So today we will mainly explain how to set up the NFS service in CentOS 5.3.
Configure the Network File System CentOS 5.3 NFS service
Install NFS-rel
The configuration content of Linux NFS is not very difficult in general. In many system settings, this configuration is very regular. We know that for NFS (Network File System, Network File System), we can share different hosts (different OS) over the Network) directory-you can mount the remote host directory through NFS to access this directory just like accessi
NFS servers are widely used. This service is required for file sharing in many communications. Today we will explain how to build and use NFS servers in multiple systems. I hope to help you understand this aspect.
NFS Introduction
Developed by SUN, NFS has become a standard for file services (RFC1904, RFC1813 ). its bi
Server-side configuration1 Creating a shared directory# Mkdir/home/share# chown Nobody.nogroup/home/share2 Creating or modifying a/etc/exports configuration fileThe content of this file is very simple, and each row consists of the throw path, the list of client names, and the access options immediately following each customer name:[Shared directory] [Host name or IP (parameters, parameters)]Where parameters are optional, NFS uses the default option wh
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.