UNSOLVED

TugaX

updated

7 years ago

T

TugaX

8 Posts

0

1357

November 6th, 2019 04:00

Unity cli, NFS export creation

Hi All,

I'm trying to create a nfs export using the bellow cmd without sucess:

uemcli -d IPADDR -u Local/XXXX -p XXXXX /stor/prov/fs/nfs create -name "someexport" -fs res_1 -path "/" -rootHosts "192.168.192.0/19"

Receive this error:

Operation failed. Error code: 0x6401060
The value specified for the '-rootHosts' qualifier is invalid: 192.168.192.0/19
OBSOLETE. The specified host was not found. (Error Code:0x6401060)

Can anyone help me figure out the valid qualifier for the -rootHosts?

  • Rainer_EMC

    6 Operator

    8645 Posts

    1169

    0

    Posted November 12th, 2019 08:00

    if you want to use the list based NFS export option then you need to first disable advanced management for that share

    OR create a host entry and use the host entry ID as the argument for rootHosts

  • Darklegends

    1 Message

    798

    0

    Posted August 17th, 2020 09:00

    you can use the option  -advHostMgmtEnabled no and that should solve it , below is the working example - 

     

     uemcli -d XX.XX.XX.XX -u Local/admin -p 'test' /stor/prov/fs/nfs create -name "/test" -fs res_14 -path "/test" -defAccess na -advHostMgmtEnabled no -rootHosts "host1,host2,host3"
    HTTPS connection

    ID = NFSShare_287
    Operation completed successfully.