* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
@ 2014-09-10 13:48 ` bugzilla-daemon
2014-09-11 6:00 ` bugzilla-daemon
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-10 13:48 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
Theodore Tso <tytso@mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tytso@mit.edu
--- Comment #1 from Theodore Tso <tytso@mit.edu> ---
"mount -o remount,userjquota=,grpjquota= /"
should do the trick.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
2014-09-10 13:48 ` [Bug 84201] " bugzilla-daemon
@ 2014-09-11 6:00 ` bugzilla-daemon
2014-09-11 12:56 ` bugzilla-daemon
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-11 6:00 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
--- Comment #2 from Robin <robinedgar@gmail.com> ---
Unfortunately
# mount -o remount,userjquota=,grpjquota= /
mount: / not mounted or bad option
# mount
/dev/disk/by-uuid/2ceaad1e-7ca8-42f9-b657-ce689beba638 on / type ext4
(rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered,jqfmt=vfsv1,usrjquota=aquota.user,grpjquota=aquota.user)
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
2014-09-10 13:48 ` [Bug 84201] " bugzilla-daemon
2014-09-11 6:00 ` bugzilla-daemon
@ 2014-09-11 12:56 ` bugzilla-daemon
2014-09-11 13:10 ` bugzilla-daemon
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-11 12:56 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
Jan Kara <jack@suse.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jack@suse.cz
--- Comment #3 from Jan Kara <jack@suse.cz> ---
Ted had a typo there. It should have been:
mount -o remount,usrjquota=,grpjquota= /
I.e. 'usrjquota' not 'userjquota'. And what Ted suggested works for me...
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
` (2 preceding siblings ...)
2014-09-11 12:56 ` bugzilla-daemon
@ 2014-09-11 13:10 ` bugzilla-daemon
2014-09-12 16:45 ` bugzilla-daemon
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-11 13:10 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
--- Comment #4 from Robin <robinedgar@gmail.com> ---
Thanks, that's worked partially.
a space between the following the = and , worked to clear the usrjquota:
# mount -o remount,usrjquota= ,grpjquota= /
but doesn't clear the grpjquota.
I tried:
# mount -o remount,grpjquota= ,usrjquota= /
mount: you must specify the filesystem type
# mount -t ext4 -o remount,grpjquota= ,usrjquota= /
# mount -t ext4 -o remount,grpjquota=,usrjquota=
/dev/disk/by-uuid/2ceaad1e-7ca8-42f9-b657-ce689beba638 /
# mount -o remount,grpjquota= /
# mount -o remount,grpjquota=" " /
# mount -o remount,grpjquota=" ",usrjquota=" " /
# mount -o remount,grpjquota="",usrjquota="" /
all lead to
mount: / not mounted or bad option
# mount -o remount,usrjquota= ,grpjquota=" " /
(no error, but doesn't clear)
so it's cleared the usrjquota, but not the grpjquota
/dev/disk/by-uuid/2ceaad1e-7ca8-42f9-b657-ce689beba638 on / type ext4
(rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered,jqfmt=vfsv1,grpjquota=aquota.user)
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
` (3 preceding siblings ...)
2014-09-11 13:10 ` bugzilla-daemon
@ 2014-09-12 16:45 ` bugzilla-daemon
2014-09-12 16:47 ` bugzilla-daemon
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-12 16:45 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
Jan Kara <jack@suse.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #5 from Jan Kara <jack@suse.cz> ---
With the space in the arguments, you make shell pass the ",grpjquota=" as
another argument and thus it ends up being used a s device name for the
remount. The device is ignored by remount so nothing happens.
I would be interested in what kernel message does kernel spit out when you try:
mount -o remount,grpjquota= /
Because that's what's working for me. When kernel version do you use?
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
` (4 preceding siblings ...)
2014-09-12 16:45 ` bugzilla-daemon
@ 2014-09-12 16:47 ` bugzilla-daemon
2014-09-16 12:18 ` bugzilla-daemon
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-12 16:47 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
--- Comment #6 from Jan Kara <jack@suse.cz> ---
Blah. I meant: *What* kernel version do you use...
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
` (5 preceding siblings ...)
2014-09-12 16:47 ` bugzilla-daemon
@ 2014-09-16 12:18 ` bugzilla-daemon
2014-09-16 20:23 ` bugzilla-daemon
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-16 12:18 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
--- Comment #7 from Robin <robinedgar@gmail.com> ---
Hi Jan, thanks. I'm using kernel:
3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64
dmesg gave:
EXT4-fs (vda1): journaled quota format specified with no journaling enabled
which is strange because:
# tune2fs -l /dev/disk/by-uuid/2ceaad1e-7ca8-42f9-b657-ce689beba638 | grep -i
journal
Filesystem features: has_journal ext_attr resize_inode dir_index filetype
needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg
dir_nlink extra_isize
Journal inode: 8
Journal backup: inode blocks
(and just to make sure)
# tune2fs -l /dev/vda1 | grep -i journal
Filesystem features: has_journal ext_attr resize_inode dir_index filetype
needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg
dir_nlink extra_isize
Journal inode: 8
Journal backup: inode blocks
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
` (6 preceding siblings ...)
2014-09-16 12:18 ` bugzilla-daemon
@ 2014-09-16 20:23 ` bugzilla-daemon
2014-09-16 20:25 ` bugzilla-daemon
2014-09-18 10:04 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-16 20:23 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
--- Comment #8 from Jan Kara <jack@suse.cz> ---
Ah, OK. I've checked the code again and now I see the problem. The message is
about jqfmt being specified but no quota file name. But there's no way to zero
out jqfmt on remount. So the only way to get rid of quota options is to unmount
the filesystem (= reboot for you since this is your root filesystem).
Attached patch should fix your problem.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
` (7 preceding siblings ...)
2014-09-16 20:23 ` bugzilla-daemon
@ 2014-09-16 20:25 ` bugzilla-daemon
2014-09-18 10:04 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-16 20:25 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
--- Comment #9 from Jan Kara <jack@suse.cz> ---
Created attachment 150581
--> https://bugzilla.kernel.org/attachment.cgi?id=150581&action=edit
[PATCH] ext4: Don't check quota format when there are no quota files
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 84201] mount doesn't clear usrjquota / grpjqouta options
2014-09-09 14:28 [Bug 84201] New: mount doesn't clear usrjquota / grpjqouta options bugzilla-daemon
` (8 preceding siblings ...)
2014-09-16 20:25 ` bugzilla-daemon
@ 2014-09-18 10:04 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-09-18 10:04 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=84201
Jan Kara <jack@suse.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |CODE_FIX
--- Comment #10 from Jan Kara <jack@suse.cz> ---
Ted has merged the patch so I'm closing the bug.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread