Subscribe

vfiler-create api example

Hi,

I looking a way for create vfiler with api vfiler-create and storage-units for parameters

I experience  Exception

Operation not completed, error in usage

Any help appreciate.

francois

Re: vfiler-create api example

There is a sample code of creating a vfiler inside NMSDK. Please refer that.

You can also use ZExplore to create the code for vfiler-create and provide parameters there.

Re: vfiler-create api example

Hi,

I found, the problem was in the format of storage-unit, that must begin by /vol/.....

Do you know if it's possible to create by api vfiler in the same way like  command line "vfiler create vfiler -r /vol/vfiler_root ?

Thanks in advance.

francois

Re: vfiler-create api example

Do you know if it's possible to create by api vfiler in the same way like  command line "vfiler create vfiler -r /vol/vfiler_root ?

> NO. In vfiler-create API, both ip address and storage-unit are mandatory inputs. AFAIK, there is no equivalent API for this CLI.