Avamar: inode 수로 인해 디바이스 오류에 남은 공간이 없습니다.
Summary: 이 문서에서는 df 명령이 사용 가능한 공간을 표시함에도 불구하고 /var 파일 시스템에 대해 보고된 "디바이스에 남은 공간이 없음" 문제에 대한 해결 방법을 제공합니다.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
실행 logrotate error는 공백이 없음을 나타내는 오류를 생성합니다.
logrotate -f /etc/logrotate.conf
error: error creating output file /var/log/firewall: No space left on device
error: error creating output file /var/log/mail.err: No space left on device
error: error creating output file /var/log/wtmp-nnnnnnnn: No space left on device
이 df 명령은 사용 가능한 공간을 표시합니다.
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 7.9G 4.2G 3.4G 56% /
devtmpfs 5.8G 248K 5.8G 1% /dev
tmpfs 5.8G 0 5.8G 0% /dev/shm
/dev/sda1 114M 53M 56M 49% /boot
/dev/sda3 256G 19G 237G 8% /data01
/dev/sda7 1.5G 524M 899M 37% /var
/var 파일 시스템에 파일을 생성하려고 해도 공간 오류가 발생합니다.
touch /var/log/test
touch: cannot touch '/var/log/test': No space left on deviceCause
파일 시스템의 공간이 부족합니다. inodes에 관한 자세한 내용을 참조하십시오.
"-i" 스위치로 df 명령을 다시 실행하면 다음을 확인할 수 있습니다.
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda5 524288 106337 417951 21% /
devtmpfs 0 0 0 - /dev
tmpfs 1513794 1 1513793 1% /dev/shm
/dev/sda1 30120 49 30071 1% /boot
/dev/sda3 267691072 5438 267685634 1% /data01
/dev/sda7 97536 97536 0 100% /var
이는 일반적으로 조각난 파일 시스템, 매우 작은 파일, 임시 파일 또는 큰 메일 대기열로 인해 발생합니다.
Resolution
참고: 이러한 명령은 루트로 실행해야 합니다.
du 명령을 실행하여 공간을 차지하는 항목을 확인할 수 있습니다.
du -x -h /var --max-depth=1
이를 보여 주는 출력 예시 /var/spool 디렉토리는 /var 내에서 대부분의 공간을 차지합니다.
8.0K /var/state
4.0K /var/X11R6
4.0K /var/crash
45M /var/lib
4.0K /var/named
4.0K /var/opt
12K /var/yp
380M /var/spool
132K /var/run
4.0M /var/cache
25M /var/adm
16K /var/lost+found
8.0K /var/tmp
28K /var/lock
37M /var/log
56K /var/games
489M /var
그런 다음 디렉토리 트리에서 du 명령을 다시 실행할 수 있습니다.
du -x -h /var/spool --max-depth=1
공간을 차지하는 항목에 따라 추가 조사가 필요합니다.
지원이 필요한 경우 Dell Technologies Avamar 지원 팀에 SR( Service Request )을 개설하십시오.
이 예에서 문제는 매우 작은 파일이 많았습니다.
-
-
-
- 가장 큰 디렉토리는 /var/spool/postfix/maildrop 이며 수천 개의 작은 파일을 포함하고 있습니다.
-
-
ls -l /var/spool/postfix/maildrop| wc -l
96559
-
-
-
- 각 파일에는 다음이 포함되어 있습니다.
-
-
admin : /etc/sudoers is mode 0777, should be 0440
-
-
-
- sudoers 파일에 대한 권한 및 소유권이 업데이트되었습니다.
-
-
chmod 0440 /etc sudoers
chown root:root /etc/sudoers
-
-
-
- /var/spool/postfix/maildrop 디렉토리의 파일이 제거되었으며 문제가 해결되었습니다.
-
-
Affected Products
AvamarProducts
AvamarArticle Properties
Article Number: 000165842
Article Type: Solution
Last Modified: 04 Sept 2025
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.