Avamar: Nie można opróżnić MCS po wyświetleniu server_data komunikatu "Administrator Server flush failed." z powodu uszkodzenia systemu plików
Summary: Gwałtowne zamknięcie spowodowało uszkodzenie plików. Błąd opróżniania serwera administratora "Opróżnianie serwera administratora nie powiodło się"
Symptoms
Proaktywne sprawdzanie zgłosiło błąd uprawnień plików w następujący sposób:
ERROR: File /usr/local/avamar/var/mc/server_data/postgres/bad_data/pg_stat_tmp/db_0.stat is not readable by admin and will cause flush failures ERROR: File /usr/local/avamar/var/mc/server_data/postgres/bad_data/pg_stat_tmp/db_16384.stat is not readable by admin and will cause flush failures RESOLUTION: Change permissions or move files. # --> File Permissions *FAILED*
Próba ręcznego opróżnienia MCS kończy się niepowodzeniem (zmniejszone dane wyjściowe/polecenie pogrubione):
admin@UtilityNode:~/>: mcserver.sh --flush --verbose . . . Flushing Administrator Server... Administrator Server flush failed.
Cause
Gwałtowne zamknięcie Avamar Server powoduje uszkodzenie systemu plików z dwoma nieprawidłowymi plikami.
Wykryta data utworzenia bad_data:
root@UtilityNode:/data01/avamar/var/mc/server_data/postgres/#: ls -la /data01/avamar/var/mc/server_data/postgres/ total 8 drwx------ 4 admin admin 32 Jul 21 13:21 . drwxr-xr-x 6 admin admin 4096 Aug 15 14:32 .. drwxr-xr-x 3 admin admin 24 Jul 21 13:21 bad_data drwx------ 19 admin admin 4096 Aug 11 04:18 data
Uszkodzone pliki w katalogu /bad_data:
root@UtilityNode:/usr/local/avamar/var/mc/server_data/postgres/bad_data/pg_stat_tmp/#: ls -la ls: cannot access db_0.stat: No such file or directory ls: cannot access db_16384.stat: No such file or directory total 0 drwx------ 2 admin admin 42 Jul 21 12:59 . drwxr-xr-x 3 admin admin 24 Jul 21 13:21 .. ?????????? ? ? ? ? ? db_0.stat ?????????? ? ? ? ? ? db_16384.stat Note how the time the system rebooted matches the modification date of the directory which contains the bad data.
root@UtilityNode:/data01/avamar/var/mc/server_data/postgres/#: uptime 14:42pm up 25 days 6:52, 1 user, load average: 0.39, 0.42, 0.42
Przyczyna ponownego uruchomienia (w tym konkretnym przykładzie była to awaria zasilania). Plik /var/log/messages zawiera następujące elementy:
Jul 21 05:49:33 UtilityNode ipmiutil: igetevent-gen4t: 00c7 07/21/17 05:49:29 MIN BMC Power Supply Status #98 External Fault (asserted) 6f [0d ff ff] - ELOG(632) 0x79 : 0xB800 0x7E : 0x00 0x80 : 0x00 0x01 : 0x80 0
Resolution
Jeśli objawy są takie same w systemie Avamar, skontaktuj się z działem pomocy technicznej Avamar i zapoznaj się z tym artykułem (KB 503262)
Dział pomocy technicznej dokona przeglądu systemu i, jeśli problem pasuje, pomoże zidentyfikować uszkodzone pliki i rozwiązać problem.