Sometimes if vmware vm got shutdown inappropriately, the filesystem may crush or has error on next reboot, and / drive will become read-only and none of software usable at all. To fix this issue, we can simply force / to be remounted and forcely repair disk. For example, we have an Ubuntu server with disk failure, if we check its mounted disk, we’ll see / is read-only: # mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1988484k,nr_inodes=497121,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=403992k,mode=755) /dev/mapper/ubuntu--vg-ubuntu--lv on / type ext4 (ro,relatime,data=ordered) and if we check its disk layout:

Continue reading

Author's picture


Love coding and new technologies

Cloud Solution Consultant