ERROR Disk Read-only: VESTACP & CENTOS 7 disk xfs & /etc/fstab & quota

RHEL/CentOS related topics
duy13
Posts: 12
Joined: Wed Jul 06, 2016 2:53 am

ERROR Disk Read-only: VESTACP & CENTOS 7 disk xfs & /etc/fstab & quota

Postby duy13 » Mon Oct 09, 2017 3:24 am

Install VESTACP on CENTOS 7 (Google VPS, Digitalocean) There is an XFS hard drive:

Before installing vestacp:

Code: Select all

cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Tue Sep 12 23:48:48 2017
#
# 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
#
UUID=0356e691-d6fb-4f8b-a905-4230dbe62a32 /                       xfs     defaults        0 0
/swapfile none swap sw 0 0


After installing the vestacp:

Code: Select all

cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Tue Sep 12 23:48:48 2017
#
# 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
#
UUID=0356e691-d6fb-4f8b-a905-4230dbe62a32 /                       xfs     defaults,usrquota,grpquota,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0        0 0
/swapfile none swap sw 0 0


After Reboot VPS, CENTOS 7.4 can not understand the options: usrquota,grpquota,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0

The system booted into read-only mode, could not write anything to the hard drive, the service could not run (except sshd).

Proceed to restore the same fstab and reboot the server, and now vestacp can run again, but seems to quota function is disabled:

Code: Select all

mount -o remount rw /

nano /etc/fstab
#
# /etc/fstab
# Created by anaconda on Tue Sep 12 23:48:48 2017
#
# 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
#
UUID=0356e691-d6fb-4f8b-a905-4230dbe62a32 /                       xfs     defaults        0 0
/swapfile none swap sw 0 0

DarthVader
Posts: 10
Joined: Wed Jul 13, 2016 1:35 pm

Re: ERROR Disk Read-only: VESTACP & CENTOS 7 disk xfs & /etc/fstab & quota

Postby DarthVader » Wed Oct 18, 2017 12:21 pm

I have same problem.


Return to “RHEL/CentOS”



Who is online

Users browsing this forum: No registered users and 3 guests