新しい会話を開始

未解決

S

15 メッセージ

878

2019年2月14日 07:00

Unity CLIでのNFS共有作成(IP指定)について

UnityでNFS共有を作成する際、GUIでは登録済のHost指定だけではなく、IP、Subnet、domain等での指定が可能となりましたが、CLIでIP指定を行い登録することはできないのでしょうか。

Community Manager

 • 

4.9K メッセージ

2019年2月15日 00:00

FUNEさん

Unisphere CLIの「/stor/prov/fs/nfs set」コマンドで設定可能です。

ラボで確認した結果を以下に記載しておきます。

>uemcli -d xxx.xxx.xxx.xxx -u admin -p xxxxxxxxxxxx /stor/prov/fs/nfs show -detail
Storage system address: xxx.xxx.xxx.xxx
Storage system port: 443
HTTPS connection

1: ID = NFSShare_81
Name = utanfs
Description =
File system = res_83
Local path = /
Export path = xxx.xxx.xxx.xxx:/utanfs
Role = production
Default access = na
Minimum security = sys
Advanced host mgmt = no
No access hosts =
Read-only hosts =
Read/write hosts =
Read-only root hosts =
Root hosts =
Creation time = 2019-02-15 04:31:53
Last modified time = 2019-02-15 05:26:08
Allow SUID = yes
Anonymous UID = 4294967294
Anonymous GID = 4294967294


>uemcli -d xxx.xxx.xxx.xxx -u admin -p xxxxxxxxxxxx /stor/prov/fs/nfs -id NFSShare_81 set -rwHosts <指定したいHostのIPアドレス>
Storage system address: xxx.xxx.xxx.xxx
Storage system port: 443
HTTPS connection

ID = NFSShare_81
Operation completed successfully.

 

上記例では「-rwHosts」を利用して読み取り/書き込み可能ユーザを設定していますが、読み取り専用(-roHosts)、読み取り/書き込み、rootを許可(-rootHosts)などの指定も可能です。

【参考】
詳細情報がDell EMC Unity Family Version 4.5 Unisphere Command Line Interface User Guide P.432-434のChange NFS share settingsセクションにあります。

15 メッセージ

2019年2月17日 03:00

Uehara Y.さん なんどやってもHost名が見つからない旨のメッセージ(The specified host was not found.)が 出力されて設定できなかったんですが、 教えて頂いたマニュアルを再度確認し、 Advanced host mgmt = Yes ⇒ no に設定したら登録できるようになりました! ありがとうございました!
イベントは見つかりませんでした!

Top