[Users] /proc/mounts ABI change, simfs quota regression

Dmitry V. Levin ldv at altlinux.org
Sat Jan 16 04:44:03 PST 2016


Hi,

On Sat, Jan 16, 2016 at 12:11:14AM -0500, Michael Stauber wrote:
[...]
> Kernel: 2.6.32-042stab113.11 on CentOS 6.7, fully YUM updated.
[...]
> Upon creation of a VPS with "simfs" and 2nd level disk quota enabled the
> quota inside the VPS doesn't work:
> 
> VPS]# mount
> simfs on / type simfs (rw,relatime,usrquota,grpquota)

From kernel perspective, it works.
The first field used to be /dev/simfs in 2.6.32-042stab112 and before.

> VPS]# useradd admin
> VPS]# edquota admin
> edquota: Cannot stat() mounted device simfs: No such file or directory
> No filesystems with quota detected.

The same command would work if invoked from /dev directory.

This is a regression introduced in fs/namespace.c:show_vfsmnt() during
2.6.32-042stab112 -> 2.6.32-042stab113 rebase.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/users/attachments/20160116/b3571988/attachment.sig>


More information about the Users mailing list