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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content