http://bugzilla.novell.com/show_bug.cgi?id=511513 User syseng@adnovum.ch added comment http://bugzilla.novell.com/show_bug.cgi?id=511513#c1 Summary: Quota reports wrong NFS filesystem Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: syseng@adnovum.ch QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.7) Gecko/2009021906 Firefox/3.0.7 Setup: We have a Netapp filer where our NFS user homes are. The Netapp filer has user quota enabled. User homes are mounted on /home with automount tables in LDAP. Expected behaviour (Solaris) ---------------------------- Type "quota -v" and your own quota usage is printed: bernd@solarishost:~> quota -v Disk quotas for bernd (uid 3031): Filesystem usage quota limit timeleft files quota limit timeleft /home/bernd 10748 52428800 52428800 286 -1 -1 bernd@solarishost:~> df -h . Filesystem size used avail capacity Mounted on adnnfsbe01.be.adnovum.ch:/vol/home_be/bernd 64G 25G 39G 40% /home/bernd Wrong behaviour (Linux) ----------------------- User types "quota" and sees the quota of someone else's directory. The command "quota -A" reveals that in fact always the first entry in the list of mounted /home directories is listed with always the same quota (the quota of the user that typed that command): bernd@linuxhost:~> quota Disk quotas for user bernd (uid 3031): Filesystem blocks quota limit grace files quota limit grace adnnfsbe01.be.adnovum.ch:/vol/home_be/fedor 10748 52428800 52428800 286 4294967295 4294967295 bernd@linuxhost:~> quota -v Disk quotas for user bernd (uid 3031): Filesystem blocks quota limit grace files quota limit grace adnnfsbe01.be.adnovum.ch:/vol/home_be/fedor 10748 52428800 52428800 286 4294967295 4294967295 bernd@linuxhost:~> quota -u Disk quotas for user bernd (uid 3031): Filesystem blocks quota limit grace files quota limit grace adnnfsbe01.be.adnovum.ch:/vol/home/fedor 10748 52428800 52428800 286 4294967295 4294967295 bernd@linuxhost:~> quota -A Disk quotas for user bernd (uid 3031): Filesystem blocks quota limit grace files quota limit grace netappfiler:/vol/home/fedor 10748 52428800 52428800 286 4294967295 4294967295 netappfiler:/vol/home/toms 10748 52428800 52428800 286 4294967295 4294967295 netappfiler:/vol/home/bernd 10748 52428800 52428800 286 4294967295 4294967295 bernd@linuxhost:~> df -h . Filesystem Size Used Avail Use% Mounted on netappfiler:/vol/home/bernd 64G 26G 39G 40% /home/bernd The quota command works fine on Solaris and I remember that many years ago it also worked fine on HP-UX. Why not Linux? Are we the only company that users Linux as desktop OS? Reproducible: Always Steps to Reproduce: 1. Setup Netapp NFS server with user home and quota 2. Login as user1 on Linux client and type "quota" 3. Login as user2 on Linux client and type "quota" Actual Results: One sees the quota entry of user1, the first in the list. Expected Results: User should only see its own home directory with the quota command. Everything else is confusing. uname -a Linux adnwsbe08 2.6.25.18-0.2-pae #1 SMP 2008-10-21 16:30:26 +0200 i686 i686 i386 GNU/Linux rpm -qi quota Name : quota Relocations: (not relocatable) Version : 3.16 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany Release : 24.1 Build Date: Fri 06 Jun 2008 11:35:13 PM CEST Install Date: Wed 10 Jun 2009 10:02:08 AM CEST Build Host: belana.suse.de Group : System/Filesystems Source RPM: quota-3.16-24.1.src.rpm Size : 1187273 License: GPL v2 only Signature : DSA/SHA1, Fri 06 Jun 2008 11:38:28 PM CEST, Key ID a84edae89c800aca Packager : http://bugs.opensuse.org URL : http://sourceforge.net/projects/linuxquota/ Summary : Disk Quota System Description : The quota subsystem allows a system administrator to set soft and hard limits on used space and the number of inodes used for users and groups. The kernel must be compiled with disk quota support enabled (SUSE kernels have this support). Authors: -------- Marco van Wieringen <mvw@planets.ow.nl> Johan Ekenberg <johan@ekenberg.nu> Jan Kara <jack@suse.cz> Distribution: openSUSE 11.0 (i586) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.