Упал Unifi Controller | Ubiquiti форум UBNT: инструкции, настройка

Упал Unifi Controller

DOMI

участник
14 Мар 2021
36
4
10
36
# Аппаратная часть: Ubiquiti Unifi Cloud Key Gen2 Plus
# Проблема: Нет доступ к web интерфейсу контролера, контролер доступен только по ssh.
В логах ошибки в cat postgresql-14-main.log
FATAL: could not write lock file "postmaster.pid": No space left on device

Filesystem Size Used Avail Use% Mounted on
udev 1.5G 0 1.5G 0% /dev
tmpfs 298M 2.1M 296M 1% /run
/dev/mmcblk0p46 5.9G 848M 5.0G 15% /mnt/.rwfs
/dev/mmcblk0p45 976M 279M 672M 30% /persistent
/dev/disk/by-partlabel/rootfs 746M 746M 0 100% /mnt/.rofs
overlayfs-root 5.9G 848M 5.0G 15% /
tmpfs 1.5G 0 1.5G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
tmpfs 745M 36K 745M 1% /tmp
/dev/mmcblk0p47 19G 19G 0 100% /data
/dev/sda4 878G 13G 856G 2% /volume1
tmpfs 298M 0 298M 0% /run/user/0
tmpfs 64M 0 64M 0% /var/opt/unifi/tmp
 
Автор
DOMI

DOMI

участник
14 Мар 2021
36
4
10
36
journalctl -xe
Jan 19 21:18:44 srv-CloudKey postgresql@14-main[57465]: Error: /usr/lib/postgresql/14/bin/pg_ctl /usr/lib/postgresql/14/bin/pg_ctl start -D /data/postgresql/14/main/data -l /var/log/postgresql/postgresql-14-main.log -s -o

/dev/mmcblk0p47 19G 19G 0 100% /data
Интересно, почему этот раздел выделен отдельно, почему он всего 19Gb? Светлые головы, наставьте на путь истиный
 
Последнее редактирование:

fAntom

Super Moderator
Команда форума
24 Ноя 2017
7.040
426
5.065
ubnt.su
Расширить соответствующий раздел и удалить (если сам не исчезнет) postmaster.pid.
 
Автор
DOMI

DOMI

участник
14 Мар 2021
36
4
10
36
Дыма без огня не бывает, по смарту есть

smartctl -a /dev/sda
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1742
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 4419
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 001 001 000 Old_age Always - 56092
10 Spin_Retry_Count 0x0033 188 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 4419
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 1
192 Power-Off_Retract_Count 0x0032 092 092 000 Old_age Always - 4416
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 4420
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 50 (Min/Max 21/65)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 8
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 0
222 Loaded_Hours 0x0032 001 001 000 Old_age Always - 56090
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 184
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0

SMART Error Log Version: 1
ATA Error Count: 5
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 5 occurred at disk power-on lifetime: 56091 hours (2337 days + 3 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 41 08 00 00 44 40 Error: UNC at LBA = 0x00440000 = 4456448

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 00 08 fc 7f 40 00 00:00:26.275 READ FPDMA QUEUED
60 01 80 7f 6d 70 40 00 00:00:26.275 READ FPDMA QUEUED
60 01 78 7e 6d 70 40 00 00:00:26.275 READ FPDMA QUEUED
60 01 70 7d 6d 70 40 00 00:00:26.275 READ FPDMA QUEUED
60 01 68 7c 6d 70 40 00 00:00:26.275 READ FPDMA QUEUED

Error 4 occurred at disk power-on lifetime: 56091 hours (2337 days + 3 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 41 18 01 00 44 40 Error: UNC at LBA = 0x00440001 = 4456449

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 00 78 6d 70 40 00 00:00:22.914 READ FPDMA QUEUED
60 01 80 07 6d 70 40 00 00:00:22.882 READ FPDMA QUEUED
60 01 78 07 00 44 40 00 00:00:22.882 READ FPDMA QUEUED
60 01 70 06 6d 70 40 00 00:00:22.882 READ FPDMA QUEUED
60 01 68 06 00 44 40 00 00:00:22.882 READ FPDMA QUEUED

Error 3 occurred at disk power-on lifetime: 56091 hours (2337 days + 3 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 01 00 00 44 4d Error: UNC 1 sectors at LBA = 0x0d440000 = 222560256

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 03 01 00 00 44 40 00 00:00:19.530 READ DMA EXT
ef 03 45 80 08 00 00 00 00:00:19.530 SET FEATURES [Set transfer mode]
ef 03 0c 80 08 00 00 00 00:00:19.529 SET FEATURES [Set transfer mode]
ec 08 08 80 08 00 00 00 00:00:19.529 IDENTIFY DEVICE
ff ff ff ff ff ff ff 0c 00:00:19.526 [VENDOR SPECIFIC]

Error 2 occurred at disk power-on lifetime: 56091 hours (2337 days + 3 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 41 00 00 00 44 40 Error: UNC at LBA = 0x00440000 = 4456448

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 20 00 00 00 44 40 00 00:00:16.198 READ FPDMA QUEUED
60 00 08 00 fc 7f 40 00 00:00:16.178 READ FPDMA QUEUED
60 f8 08 08 0a 00 40 00 00:00:16.172 READ FPDMA QUEUED
60 f8 30 08 09 00 40 00 00:00:16.162 READ FPDMA QUEUED
60 78 28 88 08 00 40 00 00:00:16.162 READ FPDMA QUEUED

Error 1 occurred at disk power-on lifetime: 56091 hours (2337 days + 3 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 41 00 00 00 44 40 Error: UNC at LBA = 0x00440000 = 4456448

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 00 00 00 44 40 00 00:00:12.527 READ FPDMA QUEUED
60 08 00 f8 ff 43 40 00 00:00:12.500 READ FPDMA QUEUED
60 08 00 78 24 80 40 00 00:00:12.500 READ FPDMA QUEUED
60 08 00 70 03 80 40 00 00:00:12.496 READ FPDMA QUEUED
60 08 00 68 03 80 40 00 00:00:12.496 READ FPDMA QUEUED

При замене диска каков порядок?