All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.5.75 and xfs quotas
@ 2003-07-13 14:25 Ivan Gyurdiev
  2003-07-13 23:48 ` Nathan Scott
  0 siblings, 1 reply; 4+ messages in thread
From: Ivan Gyurdiev @ 2003-07-13 14:25 UTC (permalink / raw)
  To: LKML

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)
===========================================================









^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.5.75 and xfs quotas
  2003-07-13 23:48 ` Nathan Scott
@ 2003-07-13 22:32   ` Ivan Gyurdiev
  2003-07-13 22:41   ` Ivan Gyurdiev
  1 sibling, 0 replies; 4+ messages in thread
From: Ivan Gyurdiev @ 2003-07-13 22:32 UTC (permalink / raw)
  To: Nathan Scott; +Cc: LKML

> 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"?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.5.75 and xfs quotas
  2003-07-13 23:48 ` Nathan Scott
  2003-07-13 22:32   ` Ivan Gyurdiev
@ 2003-07-13 22:41   ` Ivan Gyurdiev
  1 sibling, 0 replies; 4+ messages in thread
From: Ivan Gyurdiev @ 2003-07-13 22:41 UTC (permalink / raw)
  To: Nathan Scott; +Cc: LKML

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

Well the exact message is actually:
XFS: unknown mount option [quota].


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.5.75 and xfs quotas
  2003-07-13 14:25 2.5.75 and xfs quotas Ivan Gyurdiev
@ 2003-07-13 23:48 ` Nathan Scott
  2003-07-13 22:32   ` Ivan Gyurdiev
  2003-07-13 22:41   ` Ivan Gyurdiev
  0 siblings, 2 replies; 4+ messages in thread
From: Nathan Scott @ 2003-07-13 23:48 UTC (permalink / raw)
  To: Ivan Gyurdiev; +Cc: LKML

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-14  0:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-13 14:25 2.5.75 and xfs quotas Ivan Gyurdiev
2003-07-13 23:48 ` Nathan Scott
2003-07-13 22:32   ` Ivan Gyurdiev
2003-07-13 22:41   ` Ivan Gyurdiev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.