On Sun, 2006-12-03 at 02:08 +0000, Jonathan Miles wrote: > Hi all, > > What's the status of quota and JFS in the Linux kernel?
It was broken for a while, but fixed in 2.6.18. > I tried to setup quota with JFS for the first time today, but can't seem > to get it working with 2.6.17 and quotautils 3.13. The partition is > mounted as / with {usr,grp}quota options and the quota files have been > created. > > # mount > /dev/sda2 on / type jfs (rw,usrquota,grpquota,errors=remount-ro) > > When running quotaon, I get the following: > > # quotaon / > quotaon: using //aquota.group on /dev/sda2 [/]: Invalid argument > quotaon: Maybe create new quota files with quotacheck(8)? > quotaon: using //aquota.user on /dev/sda2 [/]: Invalid argument > quotaon: Maybe create new quota files with quotacheck(8)? This problem was reported here: http://bugzilla.kernel.org/show_bug.cgi?id=6872 and it's fixed in the 2.6.18 kernel. > open("//aquota.user", O_RDONLY|O_LARGEFILE) = 3 > ... > quotactl( > Q_QUOTAON|USRQUOTA, > "/dev/sda2", > 2, > { > 7022360269181497135, 4971974479945364782, 244813135896, > 7018986666877744431, 7809632559044715890, 7021225542849146213, > 6076814323885239139, 4064063760383880518 > } > ) = -1 EINVAL (Invalid argument) > > I checked the quotautils code and it has JFS support compiled in, but > don't know the kernel code well enough to check what's going on there. > > Any ideas? > > Regards, > > Jon. Thanks, Shaggy -- David Kleikamp IBM Linux Technology Center ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jfs-discussion mailing list Jfs-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jfs-discussion