Hi everyone
I have a directory named media that is giving me so much grief. I believe its somehow stopping me from starting a new arr stack. This has been resolved but i thought id post this in case anyone might be googling how to resolve this one day.
Background
I have been following a youtuber who makes awesome content on homelab stuff. He has a script that creates the correct dataset and subdirectorys for the arr stack. I ran it, i was having problems so i decided to go another way about it and start again. I deleted it, tried to recreate the dataset but got the error message that there is already a dataset call mediarr. Ok fine, ill use a different name. When setting up the dockercompose in dockge i get more error messages and i wondered if it was related to the previous attempt.
I went to smb shared and i could see the mediarr folder but it was a directory not a dataset. I am not able to do a share for the pool so i can delete it through windows. I have been using chatgpt and shell. Im learning alot with chatgpt about how the shell works.
logs
list
root@truenas[/home/truenas_admin]# ls -la /mnt/super_rad_cool_pool/mediarr
total 2
drwxr-xr-x 4 root root 4 Jun 21 10:54 .
drwxr-xr-x 6 root root 6 Jun 21 10:54 …
drwxr-xr-x 4 root root 4 Jun 21 10:54 configs
drwxr-xr-x 2 root root 2 Jun 21 10:54 media
unmount
root@truenas[/home/truenas_admin]# sudo umount /mnt/super_rad_cool_pool/mediarr
umount: /mnt/super_rad_cool_pool/mediarr: not mounted.
immunable attibutions
root@truenas[/home/truenas_admin]# lsattr -d /mnt/super_rad_cool_pool/mediarr
---------------------- /mnt/super_rad_cool_pool/mediarr
sudo remove (delivered no result)
root@truenas[/home/truenas_admin]# sudo rm -rf /mnt/super_rad_cool_pool/mediarr
root@truenas[/home/truenas_admin]#
list open files
root@truenas[/home/truenas_admin]# lsof +D /mnt/super_rad_cool_pool/mediarr
lsof: WARNING: can’t stat(/mnt/super_rad_cool_pool/mediarr): No such file or directory
lsof 4.95.0
latest revision: GitHub - lsof-org/lsof: LiSt Open Files
latest FAQ: lsof/00FAQ at master · lsof-org/lsof · GitHub
latest (non-formatted) man page: lsof/Lsof.8 at master · lsof-org/lsof · GitHub
usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]
[-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
[+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [–] [names]
Use the ``-h’’ option to get more help information.
test
root@truenas[/home/truenas_admin]# test -d /mnt/super_rad_cool_pool/mediarr && echo “Directory exists” || echo “Directory gone”
Directory exists
list
root@truenas[/home/truenas_admin]# ls -ld /mnt/super_rad_cool_pool/mediarr
drwxr-xr-x 4 root root 4 Jun 21 11:05 /mnt/super_rad_cool_pool/mediarr
stat
root@truenas[/home/truenas_admin]# stat /mnt/super_rad_cool_pool/mediarr
File: /mnt/super_rad_cool_pool/mediarr
Size: 4 Blocks: 1 IO Block: 131072 directory
Device: 0,53 Inode: 288 Links: 4
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2025-06-21 11:05:47.982232670 +1200
Modify: 2025-06-21 11:05:47.982232670 +1200
Change: 2025-06-21 11:05:47.982232670 +1200
Birth: 2025-06-21 11:05:47.982232670 +1200
At this point i started to focus more on the docker issue
docker ps
root@truenas[/home/truenas_admin]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ed36488d6a92 lscr.io/linuxserver/readarr:develop “/init” 37 minutes ago Created readarr
ed02a6b876f4 lscr.io/linuxserver/lidarr:latest “/init” 37 minutes ago Created lidarr
d36c40772d70 Package immich-server · GitHub “tini – /bin/bash s…” 15 hours ago Up About an hour (healthy) 0.0.0.0:2283->2283/tcp, :::2283->2283/tcp ix-immich-server-1
691ca6de6218 Package postgres · GitHub “/usr/local/bin/immi…” 15 hours ago Up About an hour (healthy) 5432/tcp ix-immich-pgvecto-1
d9f218ab1bc3 Package immich-machine-learning · GitHub “tini – python -m i…” 15 hours ago Up About an hour (healthy) ix-immich-machine-learning-1
7c2bc6f67d80 bitnami/redis:8.0.2 “/opt/bitnami/script…” 15 hours ago Up About an hour (healthy) 6379/tcp ix-immich-redis-1
0555ef81503d python:3.13.0-slim-bookworm “python3 /script/run…” 15 hours ago Exited (0) 15 hours ago ix-immich-permissions-1
f8a1f4db1d73 filebrowser/filebrowser:v2.33.0 “tini – /init.sh fi…” 15 hours ago Up About an hour (healthy) 80/tcp, 0.0.0.0:30051->30051/tcp, :::30051->30051/tcp ix-filebrowser-filebrowser-1
e358e9b72d08 filebrowser/filebrowser:v2.33.0 “/script.sh” 15 hours ago Exited (0) 15 hours ago ix-filebrowser-init-1
3caf488f02db Package tdarr · GitHub “/init” 16 hours ago Created tdarr
110bc8fa7593 Package qbittorrent · GitHub “/init” 37 hours ago Restarting (1) 46 seconds ago qbittorrent
1bb31d2d17e2 Package recyclarr · GitHub “/sbin/tini – /entr…” 37 hours ago Up About an hour recyclarr
b1c7d7ab89cd linuxserver/sonarr “/init” 37 hours ago Up About an hour 0.0.0.0:8989->8989/tcp, :::8989->8989/tcp sonarr
9ef47731c2b5 fallenbagel/jellyseerr “/sbin/tini – pnpm …” 37 hours ago Restarting (1) 46 seconds ago jellyseerr
3672113b7052 amir20/dozzle “/dozzle” 37 hours ago Up About an hour 0.0.0.0:8888->8080/tcp, :::8888->8080/tcp dozzle
e9bec4755182 containrrr/watchtower “/watchtower” 37 hours ago Up About an hour (healthy) 8080/tcp watchtower
d9e7d4411289 linuxserver/prowlarr “/init” 37 hours ago Up About an hour 0.0.0.0:9696->9696/tcp, :::9696->9696/tcp prowlarr
efd84789853a linuxserver/radarr “/init” 37 hours ago Up About an hour 0.0.0.0:7878->7878/tcp, :::7878->7878/tcp radarr
f37636f72310 lscr.io/linuxserver/jellyfin:latest “/init” 37 hours ago Up About an hour 0.0.0.0:8096->8096/tcp, :::8096->8096/tcp, 8920/tcp jellyfin
f0087b16502b linuxserver/bazarr “/init” 37 hours ago Up About an hour 0.0.0.0:6767->6767/tcp, :::6767->6767/tcp bazarr
a02b4effd1de Package flaresolverr · GitHub “/usr/bin/dumb-init …” 37 hours ago Up About an hour 0.0.0.0:8191->8191/tcp, :::8191->8191/tcp, 8192/tcp flaresolverr
b997f947742d Package homarr · GitHub “/app/entrypoint.sh …” 2 days ago Up About an hour (healthy) 0.0.0.0:30100->7575/tcp, :::30100->7575/tcp ix-homarr-homarr-1
9ecc2d55a7e0 python:3.13.0-slim-bookworm “python3 /script/run…” 2 days ago Exited (0) 2 days ago ix-homarr-permissions-1
bce43baaa4b3 Package lidarr-develop · GitHub “/sbin/tini – /entr…” 3 days ago Up About an hour (healthy) 0.0.0.0:30071->30071/tcp, :::30071->30071/tcp ix-lidarr-lidarr-1
375d6c8c698e Package audiobookshelf · GitHub “tini – node index.…” 3 days ago Up About an hour (healthy) 80/tcp, 0.0.0.0:30067->30067/tcp, :::30067->30067/tcp ix-audiobookshelf-audiobookshelf-1
1befc7217679 louislam/dockge:1.5.0 “/usr/bin/dumb-init …” 7 days ago Up About an hour (healthy) 0.0.0.0:5001->5001/tcp, :::5001->5001/tcp ix-dockge-dockge-1
f1d29455e970 Package tailscale · GitHub “/usr/local/bin/cont…” 7 days ago Up About an hour (healthy) ix-tailscale-tailscale-1
713534bbf00d Package qbittorrent · GitHub “/usr/bin/catatonit …” 12 days ago Up About an hour (healthy) 0.0.0.0:30024->30024/tcp, :::30024->30024/tcp, 0.0.0.0:51413->51413/tcp, :::51413->51413/tcp, 0.0.0.0:51413->51413/udp, :::51413->51413/udp ix-qbittorrent-qbittorrent-1
327015db88af python:3.13.0-slim-bookworm “python3 /script/run…” 12 days ago Exited (0) 12 days ago ix-qbittorrent-permissions-1
docker stop
root@truenas[/home/truenas_admin]# docker stop sonarr radarr prowlarr bazarr recyclarr jellyseerr
sonarr
radarr
prowlarr
bazarr
recyclarr
jellyseerr
tried to remove again
root@truenas[/home/truenas_admin]# rm -rf /mnt/super_rad_cool_pool/mediarr
lst
root@truenas[/home/truenas_admin]# ls -ld /mnt/super_rad_cool_pool/mediarr
ls: cannot access ‘/mnt/super_rad_cool_pool/mediarr’: No such file or directory