Package: quota
Severity: important
Dear Maintainer,
When I reboot machine, quota not start clearly:
Before adduser:
/dev/xvda1: clean, 47881/655360 files, 431344/2620928 blocks
[ 3.917625] systemd-fsck[202]: /dev/xvdb1: clean, 13/65408 files,
8535/261632 blocks
[ 4.302976] quotaon.sh[257]: Checking quotas...quotacheck: Quota for groups
is enabled on mountpoint /home so quotacheck might damage the file.
[ 4.303934] quotaon.sh[257]: Please turn quotas off or use -f to force
checking.
[ 4.309912] quotaon.sh[257]: quotacheck: Quota for users is enabled on
mountpoint /home so quotacheck might damage the file.
[ 4.310738] quotaon.sh[257]: Please turn quotas off or use -f to force
checking.
[FAILED] Failed to start Check And Enable File System Quotas.
See 'systemctl status quota.service' for details.
With exist system user (with quota - 250MB):
/dev/xvda1: clean, 47880/655360 files, 431365/2620928 blocks
[ 3.892881] systemd-fsck[199]: /dev/xvdb1: clean, 17/65408 files,
8539/261632 blocks
[ 4.203950] quotaon.sh[256]: Checking quotas...
[FAILED] Failed to start Check And Enable File System Quotas.
See 'systemctl status quota.service' for details.
[ OK ] Started Enable File System Quotas.
With both examples quota not running after reboot:
root@whng01:~# systemctl status quota.service
● quota.service - Check And Enable File System Quotas
Loaded: loaded (/lib/systemd/system/quota.service; enabled)
Active: failed (Result: exit-code) since Tue 2015-06-16 18:01:58 CEST; 33s
ago
Docs: man:quotaon(8)
Process: 256 ExecStart=/usr/share/quota/quotaon.sh (code=exited,
status=1/FAILURE)
Main PID: 256 (code=exited, status=1/FAILURE)
Jun 16 18:01:58 whng01 quotaon.sh[256]: Checking quotas...
Jun 16 18:01:58 whng01 systemd[1]: quota.service: main process exited,
code=exited, status=1/FAILURE
Jun 16 18:01:58 whng01 systemd[1]: Failed to start Check And Enable File System
Quotas.
Jun 16 18:01:58 whng01 systemd[1]: Unit quota.service entered failed state.
After /etc/init.d/quota restart:
root@whng01:~# /etc/init.d/quota restart
[....] Restarting quota (via systemctl): quota.serviceJob for quota.service
failed. See 'systemctl status quota.service' and 'journalctl -xn' for details.
failed!
root@whng01:~# /etc/init.d/quota restart
[....] Restarting quota (via systemctl): quota.serviceJob for quota.service
failed. See 'systemctl status quota.service' and 'journalctl -xn' for details.
failed!
root@whng01:~# /etc/init.d/quota restart
[....] Restarting quota (via systemctl): quota.serviceJob for quota.service
failed. See 'systemctl status quota.service' and 'journalctl -xn' for details.
failed!
root@whng01:~# systemctl status quota.service
● quota.service - Check And Enable File System Quotas
Loaded: loaded (/lib/systemd/system/quota.service; enabled)
Active: failed (Result: exit-code) since Tue 2015-06-16 18:23:17 CEST; 8s ago
Docs: man:quotaon(8)
Process: 1723 ExecStop=/usr/share/quota/quotaoff.sh (code=exited,
status=0/SUCCESS)
Process: 1816 ExecStart=/usr/share/quota/quotaon.sh (code=exited,
status=1/FAILURE)
Main PID: 1816 (code=exited, status=1/FAILURE)
Jun 16 18:23:17 whng01 quotaon.sh[1816]: Checking quotas...
Jun 16 18:23:17 whng01 systemd[1]: quota.service: main process exited,
code=exited, status=1/FAILURE
Jun 16 18:23:17 whng01 systemd[1]: Failed to start Check And Enable File System
Quotas.
Jun 16 18:23:17 whng01 systemd[1]: Unit quota.service entered failed state.
/etc/fstab setting:
UUID=xxxxxxxxx /home ext4
errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 2
quota was been created with this commands:
quotacheck -avugm
quotaon -avug
root@whng01:~# dpkg --list quota
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Architecture Description
+++-=============================================-===========================-===========================-================================================================================================
ii quota 4.01-8
amd64 disk quota management tools
Best Regards,
HeximCZ
-- System Information:
Debian Release: 8.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]