Tuesday, June 19, 2007

NFS options

At times there are instances where you'd want to export an NFS share temporarily but don't want to add it in your /etc/exports file esp when its huge and bulky and another temporary entry might add to its ugliness. You can always do a temporary export using
exportfs -v -i -o root=server.domain.tld:rw=client.domain.tld /vol/tmp_data

Remember everytime anyone runs exportfs -a on the nfs server , the volume vanishes ..