NetWorker: NMC 데이터베이스 백업이 "no space left on device" 오류와 함께 실패함

Summary: NMC(NetWorker Management Console) 데이터베이스의 백업이 실패합니다. 반환되는 오류는 "no space left on device"입니다.

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

NMC 서버 백업이 실패하고 작업 로그에 다음과 같은 메시지가 보고됩니다.

108179:savepsm: Replicating database contents to /nsr/nmc/nmcdb_stage/pgdata...
108180:savepsm: Unable to execute /opt/lgtonmc/postgres_latest/bin/pg_basebackup in order to copy the database
108181:savepsm: See '/opt/lgtonmc/logs/pg_basebackup.log' for details
--- Job Indications ---
nsr.amer.lan:/nsr/nmc/nmcdb_stage: retried 1 times.

pg_basebackup.log에서 "no space left on device"를 보고합니다.

[root@nsr 1]# cat /opt/lgtonmc/logs/pg_basebackup.log
pg_basebackup: could not write to file "/nsr/nmc/nmcdb_stage/pgdata/base/1/somefile": No space left on device
pg_basebackup: removing data directory "/nsr/nmc/nmcdb_stage/pgdata"

nmcdb 디렉토리의 크기가 사용 가능한 디스크 공간을 초과합니다.

[root@nsr ~]# du -sh /nsr/nmc/nmcdb
1.6G    /nsr/nmc/nmcdb
[root@nsr ~]#
[root@nsr ~]# df -h | grep "Filesystem\|rhel-root"
Filesystem                                   Size  Used Avail Use% Mounted on
/dev/mapper/rhel-root                         70G   69G  1.4G  98% /
참고: Windows 서버의 경우 [설치 드라이브]:\Program Files\EMC NetWorker\Management\nmcdb 폴더의 디스크 공간 사용량과 파일 탐색기 "이 시스템"에서 디스크 공간 가용성을 확인합니다.

Cause

nmcdb 백업은 NMC 서버에서 사용하는 postgres 데이터베이스 파일의 백업입니다. nmcdb 클라이언트는 백업 명령 savepsm을 사용합니다. nmcdb 백업 중에 파일이 nmcdb_stage 디렉토리에 "스테이징"됩니다.

Linux: /nsr/nmc/nmcdb_stage
Windows: [설치 드라이브]:\Program Files\EMC NetWorker\Management\nmcdb_stage

nmcdb_stage 디렉토리가 백업되고 백업이 완료되면 nmcdb_stage 디렉토리가 정리됩니다.

NMC 설치 드라이브에 디스크 공간이 부족하여 온라인 nmcdb 디렉토리에서 nmcdb_stage 디렉토리로 파일을 스테이징할 수 없습니다.

Resolution

세 가지 옵션이 있습니다.

1. 더 이상 필요하지 않은 파일을 제거하여 디스크 공간을 확보합니다. 

정리할 수 있는 파일은 운영 체제 관리자가 결정해야 합니다.

2. NetWorker 설치 드라이브의 디스크 공간을 늘립니다.

디스크 공간에는 전체 nmcdb 디렉토리를 nmcdb_stage 디렉토리로 복사/스테이징할 수 있는 충분한 공간이 있어야 합니다. /nsr 파티션의 디스크 공간 사용량이 100%에 도달하면 nmcdb가 손상될 수 있습니다. 시스템에 NetWorker Server 패키지가 포함되어 있고 /nsr 파티션의 디스크 공간 사용률이 100%에 도달하면 NetWorker Server 데이터베이스(nsrdb, mm, index)도 손상될 수 있습니다. 

3. nmcdb_stage 디렉토리를 여유 공간이 있는 다른 드라이브로 이동합니다. 

/nsr 파티션의 디스크 공간이 부족한 경우 늘리거나 재확보해야 합니다. 그러나 nmcdb_stage 디렉토리를 더 많은 공간이 있는 다른 파티션으로 이동할 수도 있습니다.

A. 다른 드라이브에 nmcdb_stage 디렉토리를 생성합니다. 예:
nve:~ # mkdir /space/nmcdb_stage
B. NMC 클라이언트 리소스의 세이브 세트 필드를 업데이트하여 새 스테이징 폴더의 전체 경로를 지정합니다.
NMC 클라이언트 속성
C. nmcdb의 백업을 수행하고 성공적으로 완료되었는지 확인합니다. 필요한 경우 mminfo 명령을 사용하여 백업을 검증합니다.
mminfo -avot -q client=NMC_clientName

Additional Information

Affected Products

NetWorker, NetWorker Management Console

Products

NetWorker Family, NetWorker Series
Article Properties
Article Number: 000228276
Article Type: Solution
Last Modified: 07 Aug 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.