Experimental purpose: my real machine is windows2008 (personal pc is not a server), the system space is not enough, I have a centos5.6 virtual machine space on the server is not enough , the server space is large, add a 20G hard disk to the virtual machine, let the virtual machine and my real machine use together, when a network disk;
first partition, in order to facilitate the division of a zone sdb1, formatted as Ext3
mounting mount /dev/sdb1 /home/disk
ok Configuring nfs first
system cenos 5.6
Because it is convenient to use, I configured The whole line is the largest, you can adjust it according to the actual situation
vim /etc/exports
/home/disk *(rw)
ok It is so simple to start the nfs service Service nfs start
Use the command to view the nfs case showmount -e ip //here can be 127.0.0.1
Next configure the client (nfs server ip 10.0.0.173)
View the nfs directory of the nfs server showmount -e 10.0.0.173
The client is linux
Direct command mount 10.0.0.173:/home/disk
windows 2008R2 first installation Server (nfs network file system role)
mounting nfs mount 10.0.0.173:/home/disk I: //here I is an unused disk number (equivalent to network mapping)
Put out the configuration parameters of the nfs exports file
Each line consists of the throw path, the list of client names, and the access options immediately following each client name: [shared directory] [hostname or IP (parameter, parameter)]
The parameter is optional. When no parameter is specified, nfs will use the default option. The default sharing options are sync,ro, root_squash, no_delay.
In the CentOS system, when the host name or IP address is empty, it provides services to any client on behalf of the share. When sharing the same directory to multiple clients, but the permissions provided for each client are different, you can do this: [shared directory] [hostname 1 or IP1 (parameter 1, parameter 2)] [hostname 2 or IP2 (parameter 3, parameter 4)]
The following are some common parameters for NFS shares:
eg:/home/share 192.168.102.15(rw,sync) *(ro)
Modify the exports file without restarting the nfs service
exportfs -r
exportfsoptions
Generally speaking, after installing ubuntu, the centralized display driver has been installed. Howe
ifconfig -a View all NIC information of Linuxifconfig eth0 down Turn off eth0 network cardifconfig e
First of all, I would like to thank community enthusiasts and supporters for their attention to Linu
IAP, the full name is In-Application Programming, Chinese is interpreted as Programming in the prog
Win7 system upgrade Steam error can not be upgraded and the solution
System downtime Emergency measures for data not backed up
Running the telnet command in Windows 7
How to set up and modify system power in Windows 8
Win10 local connection icon is gone, what to do
Win10 system update wireless network card driver to ensure normal use of wireless network