VPS

From ElectroDragon
Jump to navigation Jump to search

Block Storage

  • mkfs.ext4 -F /dev/sda
  • mkdir -p test
  • mount -o discard,defaults,noatime /dev/sda /mnt/test
  • nano /etc/fstab
  • /dev/sda /mnt/test ext4 defaults,nofail,discard 0 0

Common Errors

  • gcc: internal compiler error: Killed (program cc1) - 内存不足, openvz 不能增加swap