Jellyfin Forum
Can't scan files on USB drive connected to R-Pi - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Can't scan files on USB drive connected to R-Pi (/t-can-t-scan-files-on-usb-drive-connected-to-r-pi)



Can't scan files on USB drive connected to R-Pi - debruyneOneTouch - 2024-01-02

First day with Jellyfin. It plays media stored on R-Pi SD RAM successfully

I attached a USB drive with existing media. This USB drive was previously attached to a Windows machine. Changed owner of USB files to same as Jellyfin user.

Jellyfin can't find subfolders of  /media/<user_name>.  Error message about path no found.  However VLC on R-Pi can see and play files on this USB that are in /media/<user_name>/sub_folder.

Jellyfin can create library folder from directory /media/<user_name> however library scans return empty. 

Jellyfin can  create library folder from directory /media and scan finds files. These files are on the R-Pi and not USB drive

Suggestions?


RE: Can't scan files on USB drive connected to R-Pi - TheDreadPirate - 2024-01-02

What are the mount parameters of this hard drive?

Code:
cat /proc/mounts



RE: Can't scan files on USB drive connected to R-Pi - debruyneOneTouch - 2024-01-02

Code:
/dev/sda1 /media/<my_user_id>/One\040Touch exfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro 0 0

The top directory of the USB appears as "One Touch" in Windows. 

A couple of /dev contents in case they are relevant:


Code:
ls -l /dev/disk/by-label
total 0
lrwxrwxrwx 1 root root 15 Jan  1 17:17  boot -> ../../mmcblk0p6
lrwxrwxrwx 1 root root 10 Jan  2 16:42 'One\x20Touch' -> ../../sda1
lrwxrwxrwx 1 root root 15 Jan  1 17:17  RECOVERY -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Jan  1 17:17  root -> ../../mmcblk0p7
lrwxrwxrwx 1 root root 15 Jan  1 17:17  SETTINGS -> ../../mmcblk0p5


Code:
ls -l /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 13 Jan  1 17:17 mmc-EB1QT_0xf95c6304 -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Jan  1 17:17 mmc-EB1QT_0xf95c6304-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Jan  1 17:17 mmc-EB1QT_0xf95c6304-part2 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Jan  1 17:17 mmc-EB1QT_0xf95c6304-part5 -> ../../mmcblk0p5
lrwxrwxrwx 1 root root 15 Jan  1 17:17 mmc-EB1QT_0xf95c6304-part6 -> ../../mmcblk0p6
lrwxrwxrwx 1 root root 15 Jan  1 17:17 mmc-EB1QT_0xf95c6304-part7 -> ../../mmcblk0p7
lrwxrwxrwx 1 root root  9 Jan  2 16:42 usb-Seagate_One_Touch_HDD_00000000NABLEHAC-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan  2 16:42 usb-Seagate_One_Touch_HDD_00000000NABLEHAC-0:0-part1 -> ../../sda1



RE: Can't scan files on USB drive connected to R-Pi - TheDreadPirate - 2024-01-02

Check out how this user resolved their permissions issue with their exfat drive.

https://forum.jellyfin.org/t-solved-library-scan-not-loading-all-available-media?pid=12107#pid12107