파일시스템 full

filesystem full, filesystem 100%
파일시스템 full, 파일시스템 풀, 파일시스템 가득 참, 파일시스템 100%
root filesystem full
루트 파일시스템

1 파일시스템 full[ | ]

  • 할당된 디스크 공간(즉 파티션, 파일시스템)이 가득 찬 현상
  • 주요 원인: 로그 파일, 패키지 파일, 컨테이너 이미지

2 루트 파일시스템 full[ | ]

  • 루트(/) 파일시스템이 가득 찬 현상

3 예시 1: /home/testuser1/.composer[ | ]

du /* -s | sort -n
# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            475M     0  475M   0% /dev
tmpfs            97M  4.2M   93M   5% /run
/dev/nvme0n1p1   12G   12G     0 100% /
tmpfs           483M     0  483M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           483M     0  483M   0% /sys/fs/cgroup
# du /home/* -hs
1.2G    /home/testuser1
230M    /home/testuser2
170M    /home/testuser3
# cd /home/testuser1
# du -sch .[!.]* * | sort -h
...
76M     .vagrant.d
209M    .npm
277M    .cache
841M    .composer
1.2G    total
$ composer clear-cache
Clearing cache (cache-vcs-dir): /home/testuser1/.composer/cache/vcs
Clearing cache (cache-repo-dir): /home/testuser1/.composer/cache/repo
Clearing cache (cache-files-dir): /home/testuser1/.composer/cache/files
Clearing cache (cache-dir): /home/testuser1/.composer/cache
All caches cleared.

4 예시 2: /var/lib/docker[ | ]

root@localhost:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            220M     0  220M   0% /dev
tmpfs            47M  828K   46M   2% /run
/dev/nvme0n1p1  7.7G  7.3G  406M  95% /
tmpfs           231M     0  231M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           231M     0  231M   0% /sys/fs/cgroup
tmpfs            47M     0   47M   0% /run/user/0
root@localhost:~# cd /
root@localhost:/# du * -s | sort -n
...
137644  /boot
2694360 /usr
3718528 /root
41211812        /var
root@localhost:/# cd var/
root@localhost:/var# du * -s | sort -n
...
20      www
40      tmp
1028    backups
215448  cache
247856  log
40747388        lib
root@localhost:/var# cd lib/
root@localhost:/var/lib# du * -s | sort -n
...
31940   dpkg
160144  apt
40530136        docker
root@localhost:/var/lib# cd docker/
root@localhost:/var/lib/docker# du * -s | sort -n
...
39280   image
17891680        overlay2
22598968        volumes
root@localhost:/var/lib/docker# cd volumes/
root@localhost:/var/lib/docker/volumes# du * -s | sort -n
...
473988  668c8aa208eaf197ca8445606cccc64da6507d556c16eaae9a518d6987f9bbb0
473988  d231b7444f403a44029448b283788c55f9df997bb799d0b8c8b8164bf1e0425e
473988  ee2a7956957ffafdfa3e13cc7cfbf644607d13f671a643dfb690623b492ea77a
473992  da9c3cbe8a68718f91626a7f8c509a9a35fc8fcb0707c97bec29270139ff3a58

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}