Page 1 of 1

Error Install VestaCP With Quota on Centos 7 xfs file system

Posted: Mon Mar 12, 2018 11:54 pm
by bogorwebhost
Hello!
i have problem installation vestacp + quota on centos 7 with xfs file system
after reboot give me os system read only, and all vestacp services cannot run

OS : CentOS Linux release 7.4.1708
VestaCP : LATEST VERSION (Jan 22): 0.9.8-19

Code: Select all

[root@svr ~]# parted -l
Model: ATA QEMU HARDDISK (scsi)
Disk /dev/sda: 53.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1075MB  1074MB  primary  xfs          boot
 2      1075MB  53.7GB  52.6GB  primary               lvm


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/centos-swap: 4161MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system     Flags
 1      0.00B  4161MB  4161MB  linux-swap(v1)


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/centos-root: 48.4GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system  Flags
 1      0.00B  48.4GB  48.4GB  xfs


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Model: QEMU QEMU DVD-ROM (scsi)
Disk /dev/sr0: 830MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos
Disk Flags:

Number  Start  End     Size    Type     File system  Flags
 2      885kB  37.7MB  36.8MB  primary

Code: Select all

#
# /etc/fstab
# Created by anaconda on Fri Mar  9 17:30:36 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       xfs     defaults,usrquota,grpquota,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0        0 0
UUID=4e1994bf-aeae-492d-bac9-d45df3b3db83 /boot                   xfs     defaults        0 0
/dev/mapper/centos-swap swap                    swap    defaults        0 0

If i install without quota, os system and vestacp is running
when i try reinstall centos 7 with ext4 filesystem and install vestacp with quota OS system and vestacp is running

Code: Select all

[root@centos72 ~]# parted -l
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 21.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1075MB  1074MB  primary  ext4         boot
 2      1075MB  20.1GB  19.0GB  primary               lvm


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/centos-swap: 4001MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system     Flags
 1      0.00B  4001MB  4001MB  linux-swap(v1)


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/centos-root: 15.0GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system  Flags
 1      0.00B  15.0GB  15.0GB  ext4

Code: Select all

#
# /etc/fstab
# Created by anaconda on Tue Mar 13 02:26:51 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       ext4    defaults,usrquota,grpquota,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0        1 1
UUID=774622bc-b574-4ddc-beac-c66d6277d6cd /boot                   ext4    defaults        1 2
/dev/mapper/centos-swap swap                    swap    defaults        0 0
i found different commands from ext4 with xfs, what is the problem from here ?

Image

please help me for fixing install vestacp with quota on centos 7 xfs filesystem

Thanks

Re: Error Install VestaCP With Quota on Centos 7 xfs file system

Posted: Sat Mar 17, 2018 7:27 pm
by skamasle
Not test it yet but you need setup quota manually per user I not see any support in vesta por xfs filesystem

So may you need disable vesta quota and setup por each user a script to do it manually -> https://access.redhat.com/documentation ... e/xfsquota

Re: Error Install VestaCP With Quota on Centos 7 xfs file system

Posted: Sat Mar 17, 2018 7:41 pm
by bogorwebhost
thanks for reply.
i will try for manually quota next. now i use debian 9 for vestacp+quota with ext4 filesystem

Re: Error Install VestaCP With Quota on Centos 7 xfs file system

Posted: Mon Oct 05, 2020 8:43 pm
by bberg
please check this post
viewtopic.php?f=20&t=20192