Mengatasi Read-only file system Linux

By | October 16, 2018

Panduan cara mengatasi Read-only file system Linux. Pernah mengalami VPS kamu di Google Cloud Platform (GCP) seperti ini?. Service web server tak dapat distart, Nginx, MariaDB dan lain-lain error “Unable to ..┬áRead-only file system”

Solusinya dimount. Lalu Bagaimana cara mounting filesystem di Linux?

Pertama-tama lihat dulu struktur disk (filesystem)

df -h

Hasilnya

FilesystemTypeSizeUsedAvailUse%Mounted on
/dev/sda1xfs10G3.7G6.4G37%/
devtmpfsdevtmpfs841M0841M0%/dev
tmpfstmpfs848M0848M0%/dev/shm
tmpfstmpfs848M8.4M840M1%/run
tmpfstmpfs848M0848M0%/sys/fs/cgroup
tmpfstmpfs170M0170M0%/run/user/0

Keterangan di atas /dev/sda1 dimount ke /

Jadi perintahnya yakni

mount -o remount,rw /dev/sda1 /

Sekarang ini, coba restart web server.


Sumber https://idnetter.com