I've linux-2.4.19 kernel patched with the xfs latest patch. When I try to do quotacheck on my my system, quotacheck -avug it displays (...)quotacheck: Skipping /dev/hda8 [/home]
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
but /dev/hda8 is mounted with quota enabled.
mount shows:
/dev/hda8 on /home type xfs (rw,uquota,gquota)
and in /etc/fstab I've:
/dev/hda8 /home xfs defaults,usrquota,grpquota 12
What does this mean and how can I fix, it.
Jan Chorowski
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is actually not a problem - quotacheck(8) is not needed for XFS filesystem because it maintains consistency of quota files on its own. But maybe I change the message not to be so confusing.
Honza
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-11-22
Thanks,
but actually, why quotas still dont work:
I can enable them on my xfs filesystem:
[root@linux:~]# quotaon /home
quotaon: Enable XFS group quota during mount
quotaon: Enable XFS user quota during mount
mount shows:
/dev/hda8 on /home type xfs (rw,uquota,gquota)
and then edit some (edquota -F xfs -t /home jasiek) but no changes are made. What am I doing badly?
Jan Chorowski
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First off, I would recommend reading the file README.quota which comes with the xfsprogs package, it will give you a better understanding of how XFS quota work and in what ways they are different to "normal" quota.
So, quotaon and quotacheck are not needed for XFS filesystems. quotacheck is done during mount on the first mount with quota enabled. quota must be enabled during mount, by using one of the quota mount options, not by the quotaon command.
The other thing to check is that your kernel supports XFS quota - during boot (or insmod xfs.o) you will see an "SGI XFS with ..., quota,... enabled" message is quota is enabled. Finally, use repquota(8) to check if quota is enabled, the mount(8) command can be fooled into thinking quota are enabled when they are actually not.
Hope this helps.
cheers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've linux-2.4.19 kernel patched with the xfs latest patch. When I try to do quotacheck on my my system, quotacheck -avug it displays (...)quotacheck: Skipping /dev/hda8 [/home]
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
but /dev/hda8 is mounted with quota enabled.
mount shows:
/dev/hda8 on /home type xfs (rw,uquota,gquota)
and in /etc/fstab I've:
/dev/hda8 /home xfs defaults,usrquota,grpquota 12
What does this mean and how can I fix, it.
Jan Chorowski
This is actually not a problem - quotacheck(8) is not needed for XFS filesystem because it maintains consistency of quota files on its own. But maybe I change the message not to be so confusing.
Honza
Thanks,
but actually, why quotas still dont work:
I can enable them on my xfs filesystem:
[root@linux:~]# quotaon /home
quotaon: Enable XFS group quota during mount
quotaon: Enable XFS user quota during mount
mount shows:
/dev/hda8 on /home type xfs (rw,uquota,gquota)
and then edit some (edquota -F xfs -t /home jasiek) but no changes are made. What am I doing badly?
Jan Chorowski
Hi there,
First off, I would recommend reading the file README.quota which comes with the xfsprogs package, it will give you a better understanding of how XFS quota work and in what ways they are different to "normal" quota.
So, quotaon and quotacheck are not needed for XFS filesystems. quotacheck is done during mount on the first mount with quota enabled. quota must be enabled during mount, by using one of the quota mount options, not by the quotaon command.
The other thing to check is that your kernel supports XFS quota - during boot (or insmod xfs.o) you will see an "SGI XFS with ..., quota,... enabled" message is quota is enabled. Finally, use repquota(8) to check if quota is enabled, the mount(8) command can be fooled into thinking quota are enabled when they are actually not.
Hope this helps.
cheers.