Issue with NFS exportfs, receiving "duplicated export entries" errors.

Solution Verified - Updated -

Issue

  • NFS server is exporting file system to other hosts, but restarting the nfs service gives the following errors:
# cat /etc/exports
/testA/testA server1(rw)
/testA/testA server2(rw)
/testB/testB server1(rw)
/testB/testB server2(rw)

# service nfs start
Starting NFS services:  exportfs: duplicated export entries:
exportfs:       server1:/testA/testA
exportfs:       server2:/testA/testA
exportfs: duplicated export entries:
exportfs:       server1:/testB/testB
exportfs:       server2:/testB/testB                                                           [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Stopping RPC idmapd:                                       [  OK  ]
Starting RPC idmapd:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.