View Single Post
  #1  
Old 27th April 2012, 00:48
mattias88 mattias88 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Quota on ubuntu 11.10 /nginx/ISPConfig 3

Using Amazon Web Services (Ubuntu 11.10) AMI: ubuntu/images/ebs/ubuntu-oneiric-11.10-amd64-server-20120222 (ami-baba68d3)

Here is my problem, how can I fix this?

Quote:
root@sys:/# quotaon -avug
quotaon: using //quota.group on /dev/disk/by-label/cloudimg-rootfs [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //quota.user on /dev/disk/by-label/cloudimg-rootfs [/]: No such process
Attempt to start Quota

Quote:
root@sys:/# rm /*quota*
root@sys:/# touch /aquota.group
root@sys:/# chmod 600 /aquota.group
root@sys:/# touch /aquota.user
root@sys:/# chmod 600 /aquota.group
Fstab Config

Quote:
root@sys:/# cat /etc/fstab
LABEL=cloudimg-rootfs / ext4 usrquota,grpquota,usrjquota=quota.user,grpjquota=q uota.group 0 0
/dev/xvdb /mnt auto defaults,nobootwait,comment=cloudconfig 0 2
/dev/xvda3 none swap sw,comment=cloudconfig 0 0
Attempt to start Quota

Quote:
root@sys:/# mount -o remount /
root@sys:/# quotacheck -avugm
quotacheck: Scanning /dev/disk/by-label/cloudimg-rootfs [/] done
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Checked 4329 directories and 47622 files
quotacheck: Old file not found.
quotacheck: Old file not found.
root@sys:/# quotaon -avug
quotaon: using //quota.group on /dev/disk/by-label/cloudimg-rootfs [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //quota.user on /dev/disk/by-label/cloudimg-rootfs [/]: No such process
quotaon: Quota format not supported in kernel.
root@sys:/# quotacheck -avugm
quotacheck: Scanning /dev/disk/by-label/cloudimg-rootfs [/] done
quotacheck: Checked 4329 directories and 47624 files
Kernel has quota

Quote:
root@sys:/# uname -r
3.0.0-16-virtual
root@sys:/# grep -i quota /boot/config-`uname -r`
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
CONFIG_XFS_QUOTA=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
# CONFIG_QUOTA_DEBUG is not set
CONFIG_QUOTA_TREE=m
CONFIG_QUOTACTL=y
CONFIG_QUOTACTL_COMPAT=y
root@sys:/#
Modprobe doesn't work


Quote:
root@valtonen:/# modprobe quota_v1
FATAL: Module quota_v1 not found.
root@valtonen:/# modprobe quota_v2
FATAL: Module quota_v2 not found.
Reply With Quote
Sponsored Links