RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1285038 - Re-exporting of nfs share gives error message if export directory has space
Summary: Re-exporting of nfs share gives error message if export directory has space
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils
Version: 6.6
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Filesystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-24 17:49 UTC by Shahish Nambiar
Modified: 2016-07-06 23:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-24 17:50:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shahish Nambiar 2015-11-24 17:49:11 UTC
Description of problem:
Re-exporting of nfs share gives error "does not support NFS export" message if export directory has space.

How reproducible:
Always

Steps to Reproduce:
1. Export a directory with contain space in it

 # cat /etc/exports 
 "/tmp/This is a test"  *(rw)

2) Now re-export the nf share by restarting the nfs server or "exportfs" command:

# service nfs restart
Shutting down NFS daemon:                                  [  OK  ]
Shutting down NFS mountd:                                  [  OK  ]
Shutting down NFS quotas:                                  [  OK  ]
Shutting down NFS services:                                [  OK  ]
Starting NFS services:  exportfs: /tmp/This is a test does not support NFS export
                                                           [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]


OR

# exportfs -rv
exporting *:/tmp/This is a test
exportfs: /tmp/This is a test does not support NFS export
exporting *:/data


3) But the NFS share gets exports properly and also on client system mounting is successful.

# showmount -e <NFS_SERVER_IP>
Export list for <NFS_SERVER_IP>:
/tmp/This is a test *

# mount "<NFS_SERVER_IP>:/tmp/This is a test" /mnt -vv
mount: no type was given - I'll assume nfs because of the colon
mount: trying <NFS_SERVER_IP> prog 100003 vers 3 prot tcp port 2049
mount: trying <NFS_SERVER_IP> prog 100005 vers 3 prot udp port 50097

# mount | grep -i nfs
<NFS_SERVER_IP>:/tmp/This is a test on /mnt type nfs (rw,addr=<NFS_CLIENT_IP>)


Expected results:
Need to ignore the message "does not support NFS export" while re-exporting the nfs share eventhough the export directory has space in it.


Note You need to log in before you can comment on or make changes to this bug.