Page 1 of 1

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

Posted: Mon Oct 09, 2017 3:24 am
by duy13
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

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

Posted: Wed Oct 18, 2017 12:21 pm
by DarthVader
I have same problem.

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

Posted: Thu Feb 14, 2019 6:14 pm
by songhanpoo
duy13 wrote:
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
Hi Bro !

i have same error !
remount that's work but i don't know why ?
tell me a reason for fix major

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

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