[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFS quotas



Привет!
Незнаю что не так, но 'grep quotaon' /etc/init.d/* '
не показал мне совсем никаких результатов.

http://www.tldp.org/HOWTO/Quota-3.html
3.4 Modify your system init script to check quota and turn quota on at
boot  time

Here's an example:

# Check quota and then turn quota on. 
if [ -x /usr/sbin/quotacheck ] 
        then 
               echo "Checking quotas. This may take some time." 
               /usr/sbin/quotacheck -avug 
               echo " Done." 
        fi 
         if [ -x /usr/sbin/quotaon ] 
        then 
                echo "Turning on quota." 
                /usr/sbin/quotaon -avug 
        fi


On Sat, Sep 27, 2003 at 04:52:53PM +0600, Timur Birsh wrote:
> привет,
> 
> есть:
> - Linux 2.4.22 + openwall patch
> - Debian 3.0r1
> 
> пытаюсь заставить работать квоты на разделе с ф/с XFS.
> вот что говорят...
> 
> tim@master:~$ cat /boot/config-2.4.22-7master | grep QUOTA
> CONFIG_QUOTA=y
> CONFIG_XFS_QUOTA=y
> tim@master:~$ dmesg | grep XFS
> SGI XFS snapshot 2.4.22-2003-09-03_04:09_UTC with ACLs, no 
> debug enabled
> SGI XFS Quota Management subsystem
> XFS mounting filesystem sd(8,11)
> Ending clean XFS mount for filesystem: sd(8,11)
> tim@master:~$ cat /etc/fstab | grep home
> /dev/sda11 /home xfs 
> rw,nodev,nosuid,exec,auto,nouser,async,quota,grpquota 0 2
> tim@master:~$ cat /proc/mounts | grep home
> /dev/sda11 /home xfs rw 0 0
> tim@master:~$ dpkg -l '*' | grep quota
> ii quota 3.04-1 An implementation of the disk quota 
> system.
> 
> и в итоге:
> 
> master:~# edquota -u tim
> No filesystems with quota detected.
> 
> что я делаю не так? 

-- 
/mator



Reply to: