Greetings, 

I have machine A which exports /home via nfsv3 with quota enabled to machine B. 
Running quota <user> in A produces the normal output of user quota. In remote B 
exits with 0 without printing anything while in A I get the following in 
/var/log/messages:

rpc.rquotad: Can't stat() given mountpoint /home//home: No such file or 
directory

In machine A, in /etc/exports I have:

/home               10.1.0.0/24(rw,sync,no_root_squash,fsid=0)

and in /etc/fstab

/dev/mapper/SAN-Users /home ext3 defaults,usrquota,grpquota 1 2

In remote machine B in /etc/fstab

10.1.0.131:/home /home nfs context=user_u:object_r:user_home_t 0 0


Finaly, running rpc.rquotad under strace I get:

read(5, "/dev/mapper/VolGroup00-LogVol00 "..., 4096) = 434
lstat("/home", {st_mode=S_IFDIR|0711, st_size=73728, ...}) = 0
statfs("/home", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=198167694, 
f_bfree=166179119, f_bavail=164165854, f_files=100663296, f_ffr
ee=97763183, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
stat("/dev/mapper/SAN-Users", {st_mode=S_IFBLK|0660, st_rdev=makedev(253, 5), 
...}) = 0
stat("/home", {st_mode=S_IFDIR|0711, st_size=73728, ...}) = 0
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x2aaaae926000, 4096)            = 0
stat("/home//home", 0x7fff12faaa30)     = -1 ENOENT (No such file or directory)

It seems at first stats "/home" but just after that in the last line stats 
"/home//home"

Why? Bug in quota? Anybody else seeing it? Any fix?

 -N.

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to