2.5.75 and xfs quotas
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)
===========================================================
Quoted 10 lines · Ivan Gyurdiev
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/hda8strace:
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.
Quoted 4 lines
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.
Signature · 1 line
Nathan
Quoted 1 line
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.
Quoted 5 lines
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"?
Quoted 1 line
There will be a more meaningful message in your system log.
Well the exact message is actually:
XFS: unknown mount option [quota].