Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

NFS sharing settings under AIX

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report