linux partition on Lightsail

0

timeout problem / no space left on device

hi guys, i wanted to ask how to solve a problem. On an instance with this configuration "8 GB RAM, 2 vCPU, 160 GB SSD, Plesk Hosting Stack on Ubuntu" I have Wordpress installed and I can't clean secondary partitions to avoid free space problems during updates. This problem takes the site offline. Is there any tools to check the space and clean this from temporary files or resize these partitions to avoid other problems? I await your advice and wish you a good day.

regards Fabio

已提問 2 年前檢視次數 234 次
1 個回答
0

Hi.

I understand that you are experiencing the error below: “timeout problem / no space left on device”

To troubleshoot your error you need to upsize your Lightsail instance, block storage disk, or database, create a snapshot of your resource, and then create a new, larger version of that resource using the snapshot [1]. Prerequisites: You'll need a snapshot of your Lightsail instance, block storage disk, or database. For more information, see the following document [2] You can also create a new block storage disk and attach it to your instance [3].

You can you the following commands to check free space:

  1. df -h (With -h option, it shows the disk space in human-readable format (MB and GB)).
  2. fdisk -l (Shows disk size along with disk partitioning information (may require sudo privileges)).
  3. df -T (If you want to view the disk usage with more details like filesystem type and blocks.)

Please see the following link for more information about temporary files: https://developers.redhat.com/blog/2016/09/20/managing-temporary-files-with-systemd-tmpfiles-on-rhel7

References: [1] https://lightsail.aws.amazon.com/ls/docs/en_us/articles/how-to-create-larger-instance-from-snapshot-using-console
[2] https://lightsail.aws.amazon.com/ls/docs/en_us/articles/create-block-storage-disk-snapshot [3] https://lightsail.aws.amazon.com/ls/docs/en_us/articles/create-and-attach-additional-block-storage-disks-linux-unix [4] https://itsfoss.com/check-free-disk-space-linux/

I hope the information above is helpful. Please feel free to reach out for any concerns.

Phindi
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南