Skocz do zawartości
HaPe

Dziwoty z quota na Centos w /home

Polecane posty

Witam, mam niewielki problem z quotą na serwerze pracującym pod kontrolą Centos 64bit.

Oto dane:

fstab

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/sda1       /       ext4    errors=remount-ro       0       1
/dev/sda6       /home   ext3    defaults,usrquota,grpquota      1       2
/dev/sda3       swap    swap    defaults                0       0
/dev/sda5       /tmp    ext4    defaults,noexec,nosuid  0       0
/tmp            /var/tmp none   bind
proc            /proc   proc    defaults                0       0
sysfs           /sys    sysfs   defaults                0       0
#tmpfs          /dev/shm        tmpfs   defaults        0       0
tmpfs           /dev/shm tmpfs  defaults,noexec,nosuid  0       0
devpts          /dev/pts        devpts  defaults        0       0

mount

rootfs on / type rootfs (rw)
/dev/root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=1011368k,nr_inodes=252842,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda5 on /tmp type ext4 (rw,nosuid,noexec,relatime,data=ordered)
/dev/sda5 on /var/tmp type ext4 (rw,nosuid,noexec,relatime,data=ordered)
tmpfs on /dev/shm type tmpfs (rw,nosuid,noexec,relatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
/dev/sda5 on /var/tmp type ext4 (rw,nosuid,noexec,relatime,data=ordered)
/dev/sda6 on /home type ext3 (rw,relatime,errors=continue,barrier=1,data=writeback,usrquota,grpquota)

listing /home

      --version  output version information and exit

SIZE may be (or may be an integer optionally followed by) one of following:
KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.

Using color to distinguish file types is disabled both by default and
with --color=never.  With --color=auto, ls emits color codes only when
standard output is connected to a terminal.  The LS_COLORS environment
variable can change the settings.  Use the dircolors command to set it.

Exit status:
 0  if OK,
 1  if minor problems (e.g., cannot access subdirectory),
 2  if serious trouble (e.g., cannot access command-line argument).

Report ls bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
For complete documentation, run: info coreutils 'ls invocation'
[root@ks3352447 home]# ls -l
total 16
drwx------ 2 root root 16384 Dec 26 01:14 lost+found
-rw------- 1 root root     0 Dec 26 01:16 quota.group
-rw------- 1 root root     0 Dec 26 01:16 quota.user
[root@ks3352447 home]# ls -l
total 16
drwx------ 2 root root 16384 Dec 26 01:14 lost+found
-rw------- 1 root root     0 Dec 26 01:16 quota.group
-rw------- 1 root root     0 Dec 26 01:16 quota.user
[root@ks3352447 home]# total 16
-bash: total: command not found
[root@ks3352447 home]# drwx------ 2 root root 16384 Dec 26 01:14 lost+found
-bash: drwx------: comma

quotacheck /home

quotacheck /home
quotacheck: WARNING - Quotafile /home/quota.user was probably truncated. Cannot save quota settings...
^C

quotaon /home

quotaon: cannot find /home/aquota.group on /dev/sda6 [/home]
quotaon: cannot find /home/aquota.user on /dev/sda6 [/home]

uname

Linux ks*.kimsufi.com 3.10.23-xxxx-grs-ipv6-64 #1 SMP Mon Dec 9 19:06:18 CET 2013 x86_64 x86_64 x86_64 GNU/Linux

W czym może tkwić problem, że quota nie może zostać aktywowana?

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Próbowałeś przeliczyć quote?

Usuń aquota.* z home, quotaoff -a, quotacheck -avugm, quotaon -a

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się


×