Start a Conversation

Unsolved

This post is more than 5 years old

A

913

March 23rd, 2015 10:00

Not able to update properties for nfs export

Hello,

Not sure if this is a java problem or what. I am not able to add two hosts using the properties tab for an NFS file export. My storage array is an unified VNX5700..

Thanks in advance!

Admingirl

97 Posts

March 23rd, 2015 10:00

You have to use the parameter -ignore to update an export

8.6K Posts

March 23rd, 2015 11:00

See „man server_export“

614 Posts

March 23rd, 2015 11:00

Thank you!

97 Posts

March 23rd, 2015 11:00

server_export

Exports file systems, and manages access on the specified Data

Movers for NFS and CIFS clients.

SYNOPSIS

server_export { |ALL}

operations on all cifs and/or nfs entries:

| [-Protocol {cifs|nfs}] -list -all

| [-Protocol {cifs|nfs}] -all

| [-Protocol {cifs|nfs}] -unexport [-perm] -all

nfs operations per entry:

| -list

| [-Protocol nfs [-name ]][ -ignore][-option ]

[-comment ] <pathname></pathname>

| -unexport [-perm]

cifs operations per entry:

| -list -name [-option ]

| -name [-ignore][-option ][-comment ]

| -unexport -name [-option ]

-option type = {

CA[:] Encrypted[:] [ABE [:] HASH [:][OCAutoI|OCVDO|OCNONE]]|NONE

An example will be:

server_export server_2 -P nfs -name "export_name_any" -ignore -o sec=sys:rw=10.xx.xx.xx,

:10.yy.yy.yy,ro=10.xx.xx.xx:10.yy.yy.yy,root=10.xx.xx.xx:10.yy.yy.yy /FS_Filesystem /export_name

Where the BOLD part are additions to an existing export.

You have to include the original parameters of the export and the new ones.

The -ignore setting will overwrite anything already set in the export, so to add or update you have to add to the original export or modified what you want to change.

Hope this helps you

97 Posts

March 23rd, 2015 11:00

Ohh I belive that my answer was correct... Well next time I will point you to the manual. Easy answer then.

97 Posts

March 23rd, 2015 11:00

If what you wanna do is create a new export on the same filesystem you dont need the -ignore parameters.

If you wanna add or change servers to an existing export you have to use the -ignore parameter.

If is the second option the easyest way is to do an server_export server_2 -P nfs -list -all   first, then use the output of this command to copy/paste the meaningful part to create the modified export and add or modified in it your settings.

614 Posts

March 23rd, 2015 11:00

Did not see your reply until after marked, corrected it.

97 Posts

March 23rd, 2015 11:00

Thanks men, I know I don´t type fast, but I try to give the correct answer right in the forum. Thanks.

Aprecciate

614 Posts

March 23rd, 2015 11:00

Thanks Alvaro,

Can you send me the full command?

97 Posts

March 23rd, 2015 11:00

The thread disapear from the forum, I hope I was helpful to you.

If you need any future help, drop me a comment.

No Events found!

Top