Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

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

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
duy13
Posts: 13
Joined: Wed Jul 06, 2016 2:53 am

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

Post by 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
Top

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

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

Post by DarthVader » Wed Oct 18, 2017 12:21 pm

I have same problem.
Top

songhanpoo
Posts: 3
Joined: Thu Feb 14, 2019 6:11 pm

Os: CentOS 6x
Web: apache + nginx
Re: ERROR Disk Read-only: VESTACP & CENTOS 7 disk xfs & /etc/fstab & quota
  • Quote

Post by songhanpoo » Thu Feb 14, 2019 6:14 pm

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
Top

bberg
Posts: 4
Joined: Sun Jun 14, 2015 12:03 am

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

Post by bberg » Mon Oct 05, 2020 8:38 pm

please check this post
viewtopic.php?f=20&t=20192
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password