Bug 166750
| Summary: | nfs clients mount wrong volume after server reboot | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Olle Liljenzin <olle> |
| Component: | lvm2 | Assignee: | Alasdair Kergon <agk> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0 | CC: | djuran, goeran, menscher |
| 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: | 2005-08-30 16:19:59 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
Olle Liljenzin
2005-08-25 09:19:52 UTC
The Red Hat Service ticket, number 550270, has also been opened about this issue. (1) If you need to mix persistent and dynamic device numbers, choose larger minor numbers for the persistent ones so that the lower dynamic ones won't conflict. As you've discovered, dynamic assignment takes the lowest unused minor number. (2) See 'man exports' fsid=num for how to avoid any nfs dependency on the device-number. Thanks! I will give (2) a try. The fsid option was new to me. It would be great if a warning was printed when a dynamic device minor number was used as fsid for an exported volume, but that is a different issue of course. If the major/minor number of the block device is not a stable identifier of a filesystem, then a different stable identifier should be used. The filesystem UUID seems ideally suited for this task. Please let me know if I should open this as a separate bug report, or if I should just take it upstream (to who?). |