Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to fix cpanel read-only file system?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How to fix cpanel read-only file system?

Hi,

I have a CentOS 7 VM, cPanel and is running on red-only file system. how to safely run fsck on it.

https://pastebin.com/HFJZ27d7

Comments

  • laobanlaoban Member
    edited February 2019

    fsck -yf [your disk/volume]

    Are you sure disks on VM host are fine?

  • I can assure you fsck -yfN is absolutely safe.

  • gethostedgethosted Member
    edited February 2019

    How to check which disk/volume I have in the system?

  • shutdown -rF

  • @adroitssd said:
    shutdown -rF

    I try this command and it is not working on CentOS 7

  • ClouviderClouvider Member, Patron Provider

    Are you a provider?

  • @gethosted said:
    How to check which disk/volume I have in the system?

    Run lsblk. See if the “TYPE” column says lvm.

    If you want more specific information:

    fdisk -l shows the PC-style partitions on each disk.

    cat /proc/partitions shows the available block devices. sda, sdb and so on are hard disks. sda1 and such are partitions on these disks. dm-0 and so on are LVM logical volumes.

    pvs or pvdisplay reports the volumes that are LVM physical volumes.

    df shows the mounted filesystems. If a filesystem is mounted from some place like /dev/sda1, it's not on an LVM volume. If it's mounted from /dev/mapper/group-logical, it's on an LVM volume.

    Google can do wonders https://unix.stackexchange.com/questions/18586/centos-check-partition-information-from-command-line

  • First-RootFirst-Root Member, Host Rep

    @Clouvider said:
    Are you a provider?

    Hopefully not but with this name...

  • desfiredesfire Member
    edited February 2019

    @gethosted said:

    @adroitssd said:
    shutdown -rF

    I try this command and it is not working on CentOS 7

    Do not type any command you find online, search on it about it on Google first, would you have typed "rm -rf /home" if I had told you so? Be careful

    Thanked by 1eol
Sign In or Register to comment.