RB-7716

が更新しました

1年前

解決済み!

解決策へ移動
R7

RB-7716

5 Journeyman

•

1031 投稿

•

3114 ポイント

0

73

2025年10月10日 03:59

Data Domain:NFS Export 削除

NFS Export を以下で作成し、不要なNFS Export をCLIから削除するには
どのような指定をすれば良いのでしょうか。

NFS Export

・nfs name:test-nfs
・path:/data/col1

GUI上で削除できるNFSの削除をCLIでの削除を確認しておりますが、
CLIの指定が待ちがっているようで削除ができませんでした。

nfs del <path> <client-list>


どうぞよろしくお願い致します。

  • ayas

    Community Manager

    •

    7537 投稿

    •

    68231 ポイント

    0

    0

    投稿済み 2025年10月14日 01:02

    RB-7716さん

    NFS Export を以下で作成し、不要なNFS Export をCLIから削除するには
    どのような指定をすれば良いのでしょうか。
    nfs del <path> <client-list>

     

    →お使いのコマンドnfs del(nfs export del)はExportそのものの削除ではなくExportへのアクセスをするクライアント削除のコマンドになります。
    その為Export自体を削除したい場合はnfs export destroy<Export名>コマンドが必要です。

     

    コマンド例>   
    sysadmin@bespin# nfs export destroy ayas NFS export(s) destroyed.

    事前にnfs export show listで確認が可能です。
    sysadmin@bespin# nfs export show list
    Export                                          Path                                                       # Client   Tenant-Unit
                                                                                                                Entries
    ---------------------------------------------   --------------------------------------------------------   --------   -----------
    ayas                                            /data/col1/ayas


    DD Operating System 8.5 Command Reference Guide
    Page223
    nfs del
    nfs del path client-list
    NOTE: This command is deprecated and will be removed from a future release. Use nfs export del.

    Page225
    nfs export del
    nfs export del {export-spec | all} clients {client-list | all} Removes a client or a list of clients from existing exports. You can remove a single client or a list of clients, with the name of each client separated by a comma. Role required: admin.

    nfs export destroy
    nfs export destroy {export-spec | all}
    Destroys one or multiple NFS exports. Role required: admin.



  • RB-7716

    5 Journeyman

    •

    1031 投稿

    •

    3114 ポイント

    0

    0

    投稿済み 2025年10月14日 07:15

    ayas さん

    ご回答ありがとうございます。


    実機にて NFS Export の削除が確認できました。
    ご回答内容、大変参考になりました。