Re: 2.5.75 and xfs quotas

Nathan Scott (nathans@sgi.com)
Mon, 14 Jul 2003 09:48:37 +1000


On Sun, Jul 13, 2003 at 10:25:56AM -0400, Ivan Gyurdiev wrote:
> Perhaps I'm missing something silly, but with both generic quota v2 and xfs
> quota enabled (and xfs) all compiled into the kernel:
> ===========================================================
> [root@cobra linux]# mount -o remount /dev/hda8
>
> strace:
> mount("/dev/hda8", "/", "xfs", MS_REMOUNT|0xc0ed0000, 0x805be00) = 0
> ===========================================================
> [root@cobra linux]# mount -o remount,quota /dev/hda8
> mount: / not mounted already, or bad option

There will be a more meaningful message in your system log.

> strace:
> mount("/dev/hda8", "/", "xfs", MS_REMOUNT|0xc0ed0000, 0x805be38) = -1 EINVAL
> (Invalid argument)
> ===========================================================

This (remount,quota) is not implemented by the XFS kernel code,
and hasn't ever been, although there was a time when it wouldn't
have reported an error when attempting this. Currently, quota
can only be enabled during the initial mount. For your root fs
this means using "rootflags=quota" during startup.

cheers.

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