Volver á categoría

Disk Kota Aktif Etmek Centos7 LVM XFS Plesk cPanel

Temas de axuda

/etc/default/grub içerisinde GRUB_CMDLINE_LINUX olan satır sonuna "rootflags=uquota,pquota" ekleyerek kayıt edin. Örnek:
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet rootflags=uquota,pquota"
/boot/grub2/grub.cfg yedekleyin:
cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.orig

/boot/grub2/grub.cfg yeniden derleyin:
grub2-mkconfig -o /boot/grub2/grub.cfg

/etc/fstab içerisinde kota uygulanacak diske defaults yanına ",usrquota,grpquota" ekleyin, Örnek:
/dev/mapper/centos_srv1-root / xfs defaults,usrquota,grpquota 0 0

Şimdi sistemi resetleyin:
reboot

Bu komut ile plesk kota aktif olmuş mu kontrol edin:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e 'selec t value from ServiceNodeEnvironment where name="isHardQuotaEnabled";'

Bu kontrol komutunda false görünür ise plesk phpmyadminden psa database içinde ServiceNodeEnvironment tablosunda isHardQuotaEnabled satırını true yapın veya plesk genel ayarlar menüsünden server bileşenlerine girerek bileşenleri yeni tıklayın.

#quotacheck, #Mountpoint, #Userquota, #xfs_quota, #usermng, #isquotable, #isHardQuotaEnabled, #usrquota, #grpquota, #uquota, #pquota
1.440 Visualizacións
22.05.2019

Comentarios

Trasladémoste a Yöncü!

Póñase en contacto connosco para a transferencia rápida dos seus servizos doutros provedores á nosa empresa con soporte rápido as 24 horas do día, os 7 días da semana.

Formulario de transferencia

Confirmación da transacción

Seguro que quere realizar esta transacción?