Re: [REGRESSION] nfs client: Read-only file system (2.6.19-rc1,2)

From: Sven Hoexter
Date: Wed Oct 18 2006 - 02:40:43 EST


Trond Myklebust wrote:
> On Tue, 2006-10-17 at 17:24 +0200, Jiri Slaby wrote:

Hi,

>> I can't write on mounted nfs filesystem since 2.6.19-rc1 (nfs client):
>> touch: cannot touch `aaa': Read-only file system
>>
>> strace says:
>> open("aaa", O_WRONLY|O_NONBLOCK|O_CREAT|O_NOCTTY|O_LARGEFILE, 0666) = -1
>> EROFS (Read-only file system)
>>
>> 2.6.18 behaves correctly. Settings are the same, does anybody have any
>> clue?
>
> What does "cat /proc/mounts" say?
Ok I'm not the OP but I can confirm the problem.

>From /proc/mounts:
arthur:/mnt/disk2/mp3 /mnt/mp3 nfs ro,nosuid,nodev,noexec,vers=3,rsize=8192,wsize=8192,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=arthur 0 0

Reports ro here while mount still reports rw:
arthur:/mnt/disk2/mp3 on /mnt/mp3 type nfs (rw,noexec,nosuid,nodev,addr=192.168.88.80)

Sven

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/