54 lines
2.9 KiB
Markdown
54 lines
2.9 KiB
Markdown
# UAE: Grass_Morning after replacing Edge, 2026-09-15
|
||
|
||
Device: `g-box-27d83450` (server device 66); model 11,
|
||
`Villa_18_Jumeirah_Irrigation`; component 75, `Grass_Morning`.
|
||
|
||
## Confirmed findings
|
||
|
||
- Server layout projection contained all eight current irrigation components.
|
||
- Grass_Morning resolved to register 1943 on module 186, device 66.
|
||
The detached device 38 was absent from the model's live device relation.
|
||
- MQTT reported the current board available, with no Modbus error. This alone
|
||
did not establish that the client had loaded its behavior model.
|
||
- At 17:52:48 Gulf time the kernel reported a bad ext4 block-bitmap checksum
|
||
on `/dev/mmcblk0p8` and remounted `/userdata` read-only.
|
||
- The client data directory is under `/userdata/itscreen`. Its cached model
|
||
files remained at 12:49, referring to the previous model, while its onscreen
|
||
log reported failures writing `journal2.json`.
|
||
- The filesystem had no ext4 journal, and its fstab check pass was zero.
|
||
|
||
## Recovery performed
|
||
|
||
1. Backed up client state and `/userdata` contents (excluding swap and
|
||
lost+found), verified the archive, and copied it outside the Edge.
|
||
2. Stopped the client and log watchdog, verified no users of `/userdata`, and
|
||
unmounted it. `e2fsck -pf` completed with code 1 (errors corrected).
|
||
3. Ran the existing `stage_env/iomatex-userdata-prepare` mechanism while the
|
||
filesystem was unmounted. It enabled the journal and set fstab pass to 2.
|
||
4. Mounted the filesystem and restarted the client and watchdog timer.
|
||
5. Confirmed read-write mount, clean filesystem, journal enabled, and storage
|
||
health status `ok`. Client logs then confirmed all eight current components
|
||
downloaded, including Grass_Morning; model files updated at 18:38 Gulf time.
|
||
|
||
Edge backup: `/var/backups/iomatex-grass-20260915/`.
|
||
An off-device copy is retained on UAE in
|
||
`/home/ansible/its_docker/edge-recovery-20260915/` (root-only).
|
||
|
||
All eight components were checked through their resolved API interface
|
||
relations: Grass uses 1943, Entrance 1944, Left Wall 1945, Right Wall 1946;
|
||
morning and evening pairs share their intended output. Every resolved output
|
||
belongs to module 186 / device 66. No additional old-device output was present.
|
||
|
||
No register tags were deleted. Register aliases are shared metadata, whereas
|
||
device-to-model membership determines the live binding; indiscriminately
|
||
deleting aliases on a detached device can damage other configurations.
|
||
|
||
The exact cause of the original filesystem corruption is not established.
|
||
The reported eMMC lifetime estimate is 0–10% with normal pre-EOL status;
|
||
this does not rule out hardware or power-loss faults. Journaled storage and
|
||
boot-time checks reduce exposure, but do not guarantee against recurrence.
|
||
|
||
Physical Push activation still requires a separate observed start/stop test;
|
||
successful configuration loading and an enabled UI button are not proof that
|
||
the relay has switched.
|