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
strace:
mount("/dev/hda8", "/", "xfs", MS_REMOUNT|0xc0ed0000, 0x805be38) = -1 EINVAL
(Invalid argument)
===========================================================
> There will be a more meaningful message in your system log.
There is...quota is unsupported. But I figured that out from the rest of it.
> 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.
Okay, thank you.
Perhaps that's what the warning should say rather than "quota option
unsupported"?
> There will be a more meaningful message in your system log.
Well the exact message is actually:
XFS: unknown mount option [quota].
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