Skip to content

Instantly share code, notes, and snippets.

@passionsjin
Last active December 13, 2021 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save passionsjin/7e7524a1d9b0b25ac4fc0f2d8a33e967 to your computer and use it in GitHub Desktop.
Save passionsjin/7e7524a1d9b0b25ac4fc0f2d8a33e967 to your computer and use it in GitHub Desktop.
cannot create temp file for here-document: Read-only file system 해결
# disk의 rw 유무 확인 / 혼자 ro일 가능성 높음
cat /proc/mounts | grep /dev

fsck -f /dev/vda1
reboot

# 그래도 안되면
umount /dev/vda1
e2fsck /dev/vda1
mount -o remount, rw /

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment