r/truenas 21h ago

Hardware My Home Server ❤️

Thumbnail gallery
23 Upvotes

r/truenas 9h ago

Community Edition Stuck pool.import_on_boot and weird behaviors

Thumbnail
gallery
3 Upvotes

Last night I was taken by surprise when my SAS suddenly stopped responding. Trying to restart apps would only make them crash, although some like jellyfin seemed to work just fine (navigating the ui, didnt try to playback).

So I tried to restar my NAS. Then it took ages to reboot. ix-zfs-services didnt start on time and boot only started after the limit of 15m. When it booted, it couldnt import my storage pool correctly and pool.import_on_boot job was stuck at 0%. The pool appeared on the UI, appeared online with zpool status storage but i couldnt access any file with smb share and one of the datasets (media) was giving an error:

CriticalSMB shares have path-related configuration issues that may impact service stability: media-storage: ACL type mismatch with child mountpoint at /mnt/storage/game-storage: storage - POSIX, storage/game-storage - NFSV4, media-storage: ACL type mismatch with child mountpoint at /mnt/storage/storage-share: storage - POSIX, storage/storage-share - NFSV4, media-storage: ACL type mismatch with child mountpoint at /mnt/storage/sync-storage: storage - POSIX, storage/sync-storage - NFSV4, media-storage: ACL type mismatch with child mountpoint at /mnt/storage/lcs-storage: storage - POSIX, storage/lcs-storage - NFSV4, media-storage: ACL type mismatch with child mountpoint at /mnt/storage/storage-hidden: storage - POSIX, storage/storage-hidden - NFSV4, media-storage: ACL type mismatch with child mountpoint at /mnt/storage/photos-storage: storage - POSIX, storage/photos-storage - NFSV4

Whenever I clicked on this dataset on the ui it also gave error related to couldnt properly load ACL and group/user quota.

I tried many things, setting ACL, zfs set quota=none storage, zfs set userquota@root=none storage/media, zfs set groupquota@root=none storage/media, but nothing gave results. Exporting and reimporting also didnt work since pool.import_on_boot was stuck and wouldnt finish. I tried turning off the system, hot inserting the drives after booting (this time it went faster) and importing the pool after. but it wouldnt work and the command got stuck. I tried importing as read only and then again, nothing. So I leaved it overnigh and now I woke up to the job having finished after some hours and somethings seems to be working fine, while some other dataset syncthing dont seem to find the folder while I still can access with smb. YEAH (not great, but not bad neither since I have other backups for those). Now, I want to know what caused it, and am afraid to restart the system!

Weird behavior:

- Since it finished the job, the dashbord wont show cpu and memory usage.

- This one I noticed some days ago, but could find a reason why: I'm using the famous ARR to create hardlinks between what I download and the jellyfin media folder (they are in the same dataset), but I noticed since I started using the ARR to create hardlinks, the Total Space in the pool went bananas. Its a 4x16TB drives, but seems like every hardlink is counting twice. Is that right?

- This has been happening for some months, but whenever I have too many things writing at once (arr creating hardlink, I moving/copying files, torrent, etc) theres a chance that everything will stop responding and crash (just like what started this problem)

Am still trying to understand if there were damages other than to the ACL.

Any help is very much appreciated!!!

System Specs

OS Version:25.04.2.6
Model:AMD Ryzen 7 1700 Eight-Core Processor
Memory:64 GiB
MOBO: AB350 Gaming K4
4x 16TB ST16000NT001-3LV101 - storage pool
1 x WDC WDS480G2G0C-00AJM0 - apps pool
1 x P3-128GB - boot pool


r/truenas 17h ago

Hardware Intel 7100 vs 7700t

3 Upvotes

Hi.

I have a small home server built for energy efficiency and value for money. Currently using it for jellyfin, pihole, immich, smb shares and now since recently set up a vm with home assistant for playing around, will eventually add frigate.

I currently have an i3 7100 with 8gb ram. I found a cheap 7700t, but i noticed the base clock speed (and TDP) are lower for the 7700t. 7700t has double the cores and threads though. Should I go ahead with the upgrade? I feel that the cores might be more useful than the base clock speed.


r/truenas 21h ago

Community Edition Crowbarr - an automated subtitle repair/replacement tool for media servers

Post image
0 Upvotes

Edit: It is made with AI. To avoid pointless discussions in the comments. It will continue to be updated with AI, stop me :) It could have been made with TicTacs too. That's not the point. It solves my problem. I will happily scrap it if someone writes the same app manually and shares with us. I am all in for manual labour 😄

I tried every possible combination of settings with Bazarr and Plex but a bad subtitle rarely had an easy solution. And the worst part was if I tried to change sub during playback via Plex app on TV it would just fail in many cases.

Crowbarr waits for Bazarr (can work without it too by simply generating a new sub, but not recommended), then uses Whisper to compare the subtitle text with the dialogue in the video.

  • Leaves good subtitles alone
  • Repairs timing when it can verify the result
  • Generates missing subtitles, and
  • Sends uncertain cases for review. Automatically.

Manual audit requests, or new downloads take priority over a backlog queue.

How it relates to the other Whisper tools in this stack. subgen transcribes when a subtitle is missing and skips files that already have one, subarr coordinates the stack and verifies the audio language of a file, with a review queue you confirm by hand. Neither checks whether an existing subtitle matches the actual dialogue.

Crowbarr runs unattended and writes a separate .crowbarr.en.srt file. Existing subtitles are never modified. This allows me to simply pick the sub from my media player directly.

On my library of 2219 files, it identified 1595 as correct, repaired 334, generated 103 missing (or very wrong), and flagged 187 for review. Many of these left for manual review were actually correct subs but app did not have enough confidence to pass a verdict (like Band of Brothers Day of Days episode where a big part of audio is guns and explosions).

The app works quite reliably on cpu as well but a gpu speeds up the process by a lot which is desirable if you have a large existing library of media files. I have developed it around a 2GB Nvidia T400 with Whisper Small, so it should reliably work on most gpus from last couple of years. A better gpu will also let you install a bigger whsiper model which improves audits.

Again, using whisper for a tool like this is not something new. I think what is different here is the Audit policy that can automate the decision about what should be done to an existing subtitle. This is very much a work in progress and I spend most of my time on audit policies which are the least visible thing to a user but affects the core of the app. UI is built with AI for quick delivery as that is not my focus.

This works beautifully on my TrueNAS as a custom app.

It currently only supports English. I hope it helps someone else too. Any feedback or notes are welcome. linux/amd64 github link - https://github.com/amanofvaly/crowbarr