Get the App
SLTechnology News&Howtos  ›  Servers  › 

NFS sharing settings under AIX

Shulou Source: shulou.com Published: 2022-06-03 04:42:39 10月04日 Update

AIX 6.1

First, mxs04-ts operation on the server side

1. Check whether nfs is started

# lager nfs c-g

# startsrc-g nfs

# lager nfs c-g

It starts when you see the first five services as active.

two。 Configure server-side hosts (add client ip and host to it)

# vi / etc/hosts

10.88.51.87 mxs06-ts

3. Configure the exports file

# vi / etc/exports

/ data02-rw,access=mxs04-ts

Second, mxs06-ts operation on the client side

1. Create a folder / data/d3 on the client mxs06-ts

two。 Check whether the process portmap starts properly on the client side mxs06-ts

# lumped subscription c-s portmap (status is active)

3. Configure / etc/hosts on the client side (add server ip and hostname)

# vi / etc/hosts

10.88.51.85 mxs04-ts

4. In the client-side mxs06-ts configuration / etc/filesystems, add the following items:

/ data/d3:

Dev = / data02

Vfs=nfs

Nodename=mxs04-ts

Mount=true

Type-nfs

Options=rw,bg,hard,intr,vers=3,rsize=32768,wsize=32768,timeo=600,proto=tcp,biods=32

Account=flase

5. Hang NFS on mxs06-ts

Root@mxs06-ts # mount / data/d3

Mount: 1831-011 access denied for mxs04-ts:/data02

Mount: 1831-008giving up on:

Mxs04-ts:/data02

The file access permissions do not allow the specified action.

Root@mxs06-ts #

Handling method:

To solve this problem, do the following steps manually:

1, delete the "access=xxxxx" part of the file / etc/exports

2, type exportfs-an on the server, and then mount it on the client

Tags: Customer client configuration file host service check manual folder method status process part project processing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Linux Xiaomi NVidia Microsoft