하나 샀어요가상 디지털 시스템서버가 100GB SSD and Ubuntu 18.04
실행 중입니다. .docker and nginx
502 Bad Gateway
No space left on device
그런 다음 df -H
명령을 확인했습니다 . 다음과 같습니다.
Filesystem Size Used Avail Use% Mounted on
udev 1.6G 0 1.6G 0% /dev
tmpfs 313M 37M 276M 12% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 4.2G 4.2G 0 100% /
tmpfs 1.6G 0 1.6G 0% /dev/shm
tmpfs 5.3M 0 5.3M 0% /run/lock
tmpfs 1.6G 0 1.6G 0% /sys/fs/cgroup
/dev/sda2 1.1G 156M 798M 17% /boot
tmpfs 313M 0 313M 0% /run/user/1000
/dev/loop1 105M 105M 0 100% /snap/core/11316
/dev/loop2 2.1M 2.1M 0 100% /snap/fast/4
/dev/loop3 105M 105M 0 100% /snap/core/11420
lsblk
결과:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop1 7:1 0 99.4M 1 loop /snap/core/11316
loop2 7:2 0 2M 1 loop /snap/fast/4
loop3 7:3 0 99.4M 1 loop /snap/core/11420
sda 8:0 0 100G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 99G 0 part
└─ubuntu--vg-ubuntu--lv 253:0 0 4G 0 lvm /
sr0 11:0 1 1024M 0 rom
fdisk -l
결과:
Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FSE23SFG-FR21-4A89-A826-DFASDASD
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 2101247 2097152 1G Linux filesystem
/dev/sda3 2101248 209713151 207611904 99G Linux filesystem
/
루트 디렉터리를 더 크게 만들려면 어떻게 해야 합니까 ? 내 다른 프로그램이 docker and nginx
. 이 문제를 어떻게 해결할 수 있습니까?