IRIX Server Configuration for NFS

Source: Internet
Author: User
Tags nfsd

Irix is a UNIX operating system developed by the Silicon Valley graphic Company (Silicon Graphics Inc., general abbreviation: SGI, American graphics workstation manufacturer) based on System V and BSD extension programs, for the the most optimized application software for virtual reality environments. IRIX can be run on SGI's RISC-based computers, which are SGI workstations and servers that adopt a 32-bit, 64-bit MIPS architecture. (Excerpt from Irix Baidu Encyclopedia)


A: Experimental environment:

1. the operating system is IRIX64 6.5.22m

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/56/A6/wKiom1SKYInwFIfCAACpH7F0MpU329.jpg "title=" 1.png " alt= "Wkiom1skyinwfifcaacph7f0mpu329.jpg"/>

2. Add content to the hosts file as follows (for Mount Test)

192.168.1.100 Suse1

192.168.1.101 Suse2

Two: Start Configuring NFS

1. activating the NFS service

First check to see if NFS software is installed in the system

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/56/A6/wKiom1SKYKfikJX7AAGFYx9B1Yc772.jpg "title=" 2.png " alt= "Wkiom1skykfikjx7aagfyx9b1yc772.jpg"/>

the above indicates that NFS has been installed

◆ to open the configuration status for NFS

Chkconfig NFS On

2. Create an NFS shared directory (/share) and export

#mkdir/share

#vi/etc/exports

#cat/etc/exports

/share-access=suse1:suse2,root=suse1

#

###############################################################################

Explanation of export options:

Suse1 and Suse2 can mount the shared directory, export read and write permissions for read and write, but only the root user of suse1 has administrator rights when operating the shared directory,Suse2 root user is mapped to a normal user

Note: If the export option has access to a host that is not written IP address is the form of host name, you must ensure that the hosts file has this hostname and IP address of the corresponding relationship, if not, it will not be exported normally

###############################################################################

3. start the NFS service

IRIX Operating system default NFS boot scripts are integrated in /etc/init.d/network , so starting the/etc/init.d/network service can also start NFS Service, because the current network has been started, then the process of NFS services has been started, the process is as follows

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/56/A6/wKiom1SKYOGBcnE4AAGYJoMbSus966.jpg "title=" 3.png " alt= "Wkiom1skyogbcne4aagyjombsus966.jpg"/>

If no such process is found, restart the network service

so we only need to use exportfs/share or exportfs-a to export the shared directory, do not need to restart the network service, the steps are as follows

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/56/A6/wKiom1SKYZ-yPDaLAACEO88P620573.jpg "title=" 4.png " alt= "Wkiom1skyz-ypdalaaceo88p620573.jpg"/>

Three: Verifying the configuration is mounting the test

1. If the client is also IRIX, then ensure that the system has NFS software installed and the configuration status is on (Chkconfignfs on) to start the NFS service (/ Etc/init.d/network start)

and ensure that the following processes are turned on

biod*

portmap* or rpcbind*

NFSD

where the nfsd and rpc.mountd processes can only be used when the machine is re-switched to the NFS server.

2. The client for this experiment is SUSE linux(SLES sp2x86_64)

suse1:~ # Cat/etc/issue

Welcome to SUSE Linux Enterprise Server 11sp2 (x86_64)-Kernel \ R (\l).

suse1:~ # SHOWMOUNT-E o350

Export list for o350:

/share Suse1,suse2

suse1:~ # Mkdir/unix// mount to /unix directory

suse1:~ # mount-t NFS o350:/share/unix/

suse1:~ # Mount |grep o350

O350:/share On/unix Typenfs (rw,addr=192.168.1.26)

suse1:~ #

The above indicates the success of the Mount

IV: Other sharing options

1./usr/share/catman

2./work/programs-access=adm1:adm2,rw=adm2,root=adm1

3./usr/demos adm1 adm2 adm3

4./usr/local/bin-ro,access=adm1:adm2:adm3:adm4

Explanation of export options:

1. all hosts can mount the directory, export read and write permissions to read and write,root user operation of the directory is mapped to a normal user

2. ADM1 and adm2 can mount the directory, export read-write permission for adm1 read-only,adm2 read- write, only root on ADM1 User has administrator privileges when manipulating this directory

3. Adm1,adm2 and adm3 can mount the directory, export read and write permissions to read and write,root user operation of the directory is mapped to a normal user

4. ADM1,ADM2,ADM3 and adm4 can mount the directory, the export read and write permission is read-only, the root user operation of the directory is mapped to a normal user


This article from "Never Stop" blog, declined reprint!

IRIX Server Configuration for NFS

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.