emub
Members
-
Joined
-
Last visited
Solutions
-
emub's post in All shares lost unable to create new ones. (7.2.5 + 7.2.6) was marked as the answerUpdate - resolved.
The empty syslog you flagged was because /boot/config/rsyslog.conf (and /etc/rsyslog.conf) had data corruption - bit-flipped characters throughout config which disabled the file-output rules. Reconstructed a minimal clean config and restarted rsyslogd. I replaced a corrupted USB Stick a long while ago, must have brought over bad config, I don't think syslog has been working for a long time.
The new logs immediately showed the actual culprit: XFS metadata corruption on disk 12, looping every second: XFS (md12p1): Metadata corruption detected.
Stopped array, started in maintenance mode, ran xfs_repair on /dev/md12p1. A few items moved to lost+found, mostly recoverable TV/movie folders. Started array normally and all 11 shares immediately came back.
after xfs_repair on disk 12 and array restart, shares appeared in the GUI but SMB still wasn't exporting them (smb-shares.conf was 0 bytes, shareSMBCount=0). Triggering a single cmdEditShare=Apply via emcmd against any one share caused emhttpd to regenerate smb-shares.conf for all 8 SMB-exported shares, and they're all now visible again.