UNSOLVED

kolsen1

updated

12 years ago

K

kolsen1

8 Posts

0

500

June 11th, 2014 11:00

Offline caching attribute setting

Hello,

I had a customer ask if the "offline file caching" is set for a particular share.

In reviewing the CLI reference for file 8.1 there is a setting for this as an option, but I am wondering what would the syntax be to first check to see what it is set to, and to enable it.

For example, when I try to set it with the following:

server_export vdm01 -P CIFS -name octest -option type=OCAutoI /fs1/octest

I get:

vdm01

Error 22: vdm01 : invalid argument

Share error: Sharename already used to declare netbios share

What I want to accomplish is determine what the current setting for this is, and change it so that it's enabled, if not presently enabled.

I am sure this is a syntax error on my part, but it;s not clear to me where.

Thanks!

Keith

  • 186

    0

    Posted June 12th, 2014 04:00

    Cause

    The server_export -i option does not work when trying to change a netbios share option if you are trying to re-export as a Global share and not specifying "netbios=".

    Resolution

    You must un-export and re-export or specify netbios=(netbios name already shared with).

    Notes

    [nasadmin@cs0prod01-lh nasadmin]$ server_export server_5

    server_5 :

    export "/apt01" root=162.66.191.253 access=172.19.10.111:162.66.191.253

    export "/" anon=0 access=192.168.1.100:192.168.2.100:192.168.1.101:192.168.2.101

    share "apt01" "/apt01" netbios=name maxusr=4294967295 umask=22