Rdamal

updated

12 years ago

R

Rdamal

2 Intern

•

165 Posts

0

1511

May 21st, 2014 06:00

Celerra CLI

Hi

Is there a command that can be used to edit an existing NFS export by adding read-write, root users

Thanks

Damal

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    1091

    0

    Posted May 21st, 2014 09:00

    I dont think that works – I will overwrite the old options with the new option but NOT edit them

    By default server_export will add new options to the existing ones

    There is no edit – you need to list the old options, change them and then set your new ones using -ignore

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1091

    1

    Posted May 21st, 2014 08:00

    explore -ignore parameter, verify on a test NFS export first.

    server_export vdm01 -ignore -option access=test1.local.company:test2.local.company,root=test1.local.company:test2.local.company /fs01

  • jithin

    91 Posts

    1091

    0

    Posted May 21st, 2014 09:00

    Hi,

    yes, you can run the command syntax:


    server_export server_x -P nfs -ignore -o access= /subnet,rw= /subnet,root= /subnet -comment 'optional' /

    Jithin

  • Rdamal

    2 Intern

    •

    165 Posts

    1091

    0

    Posted May 21st, 2014 11:00

    I want to makes changes on prod file system by adding few more IP to the existing.

  • Vipin VK

    2 Intern

    •

    812 Posts

    1091

    0

    Posted May 21st, 2014 12:00

    As suggested by Rainer, you can either run a server_export with only new IP addresses to be added

    or run with the -i option and including all(both existing and new) the IP addresses

  • Rdamal

    2 Intern

    •

    165 Posts

    1091

    0

    Posted May 21st, 2014 13:00

    Will there be an interruption to existing users connected to that export if i use ignore options and give both existing and new ip address

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    1091

    1

    Posted May 21st, 2014 13:00

    I dont think so but if you want to be sure for a production system I would suggest to test it on a test fs first