Bug 8415
| Summary: | cannot export 2 dirs on *same* partition + have to stop nfs to umount cdrom or zip when exported | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <redhat> |
| Component: | nfs-utils | Assignee: | Michael K. Johnson <johnsonm> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | mrensing |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-01-25 02:54:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Need Real Name
2000-01-12 20:26:54 UTC
In my tests it works like the other NFS servers that I use. You can export multiple directories on a single fs but one cannot be a sub-directory of another. I tries exporting /tmp and /var and it worked fine. I got the same problem exporting /tmp and then / but when exporting / and then /tmp got lots of errors and rpc.mountd died. I'm also having problem #2. I have stopped nfs and still can't umount /cdrom. fuser -m /cdrom shows nothing. It seems to me that point #1 is a logical behaviour. If you've exported the
parent directory, the sub directories are all accessable as well.
Point #2, however, seems like a real bug. I see the same behaviour. Put a CD in
the drive and mount it locally, export it, and mount it on another computer via
NFS, unmount it, and try to umount on the local machine. It doesn't work.
`umount -f /mnt/cdrom` produces two messages:
umount2: Device or resource busy
umount: /mnt/cdrom: device is busy
`fuser -v /mnt/cdrom` produces:
USER PID ACCESS COMMAND
/mnt/cdrom root kernel mount /mnt/cdrom
You said: It seems to me that point #1 is a logical behaviour. If you've exported the parent directory, the sub directories are all accessable as well. But: In the old situation with the user space nfsd (RH52) it was possible to export / and a subdir of / with different rights e.g.: / 192.168.1.*(rw,no_root_squash) /home/windows/ 192.168.1.*(ro) In the new situation /home/windows always has to be on a different partition. Richard assigned to johnsonm |