Announcement Banner
UNSOLVED

noeley

updated

6 years ago

N

noeley

4 Posts

0

1685

December 7th, 2020 04:00

NFS export update

I need to add IP's to a number of existing NFS mount exports. I only have access through CLI.

does anyone know the commands i need to use to accomplish this. all help appreciated.

  • DELL-Sam L

    Community Manager

    •

    8088 Posts

    •

    34506 Points

    1525

    0

    Posted December 7th, 2020 14:00

    Hello noeley,

    I am not seeing anyway to do this via CLI.

  • BillStein-Dell

    Moderator

    •

    285 Posts

    1273

    0

    Posted July 30th, 2021 13:00

    Sorry for my delay.

    The right way to do this is to capture a current list of IPs in your server_export output, unexport the export, and then re-export it with the new list of IP addresses.

    Do note that this is disruptive to end users of the export; do this in a downtime window or a low IO window.

    To get the list of current exports:

    server_export server_X

    To unexport:

    server_export server_X -u -p

    To re-export with a new IP list:

    server_export server_2 -o

    So let's say you have fs1 with an access= list which has 1.1.1.1 on it and you want to add 2.2.2.2 to it:

    server_export server_2 -u -p /fs1
    server_export server_2 -o access=1.1.1.1:2.2.2.2 /fs1