Bug 7612
Summary: | NFS share is default mounted ro and if I remount it I can write to it | ||
---|---|---|---|
Product: | File System | Reporter: | Daniel Smolik (marvin) |
Component: | NFS | Assignee: | Trond Myklebust (trondmy) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.19 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Daniel Smolik
2006-12-01 11:08:20 UTC
The VFS does not, and has not ever, allowed you to remount the same filesystem with different mount options. NFS 'allowed' this because if you mounted a different directory, it would treat that as a different filesystem. Unfortunately, that leads to nasty cache consistency problems. As of 2.6.19, NFS will group all directories that belong to the same filesystem on the server into the same superblock and hence treat them as the same filesystem on the client. Thanks for explanation, but problem is in another place :-) I compile kenrnel with NFSv3 and NFSv4 support ana problem disapear na client boots. Thanks again. |