2024-10-16, 07:41 AM
(This post was last modified: 2024-10-16, 07:54 AM by wbravin. Edited 6 times in total.)
Hello all
first let me thank you @TheDreadPirate @GrumpyNick and @madsepperl for all your help, patience and teachings
Following the latest recommendations i had successfully managed to load /mnt/truenas/Movies all my movies were there brilliant.
So i continued with Music and Shows by adding the same line (amended for each dataset) to the /etc/fstab file
I then mounted each dataset using mount/mnt/truenas/Movies
I screwed up and i got all the files for movies in /mnt/truenas/Movies all the files for Music in /mnt/truenas/Movies/Music and all the shows in /mnt/truenas/Movies/Shows it was a mess.
I proceeded to delete all the contents of /mnt/truenas/Movies
root@pve:~# mount /mnt/truenas/Movies
mount: /etc/fstab: parse error at line 1 -- ignored
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
the same for Music when i did /mnt/truenas/Music
and for shows I got
root@pve:~# mount /mnt/truenas/Shows
mount: /etc/fstab: parse error at line 1 -- ignored
Couldn't chdir to /mnt/truenas/Shows: No such device
i found the following information
root@pve:/mnt/truenas# ls -la
total 8
drwxr-xr-x 5 root root 4096 Oct 16 08:14 .
drwxr-xr-x 6 root root 4096 Oct 15 13:21 ..
drwxrwx--- 2 100000 110000 0 Oct 16 08:23 Movies
drwxrwx--- 2 100000 110000 0 Oct 15 23:49 Music
drwxr-xr-x 2 root root 0 Oct 16 08:14 Shows
root@pve:/mnt/truenas#
Notice the shows having a uid of root instead of 10000 and i guess the 0 means that the directory is empty.
What is keeping the directories busy? and how do i change Shows to 10000?
then i will need to bind the mount to the lxc with
{ echo 'mp0: /mnt/truenas/Movies/,mp=/mnt/Truenas' ; } | tee -a /etc/pve/lxc/104.conf
{ echo 'mp0: /mnt/truenas/Music/,mp=/mnt/truenas' ; } | tee -a /etc/pve/lxc/LXC_ID.conf
{ echo 'mp0: /mnt/truenas/Shows/,mp=/mnt/truenas' ; } | tee -a /etc/pve/lxc/LXC_ID.conf
I will have to do this for all 3 datasets correct?
then start the lxc and install and configure Jellyfin
I looked at the possible issues and i saw this
root@pve:~# cd /mnt/truenas
root@pve:/mnt/truenas# ls -la
total 8
drwxr-xr-x 5 root root 4096 Oct 16 08:14 .
drwxr-xr-x 6 root root 4096 Oct 15 13:21 ..
drwxrwx--- 2 100000 110000 0 Oct 16 08:23 Movies
drwxrwx--- 2 100000 110000 0 Oct 15 23:49 Music
drwxr-xr-x 2 root root 0 Oct 16 08:14 Shows
Once again Thank you
first let me thank you @TheDreadPirate @GrumpyNick and @madsepperl for all your help, patience and teachings
Following the latest recommendations i had successfully managed to load /mnt/truenas/Movies all my movies were there brilliant.
So i continued with Music and Shows by adding the same line (amended for each dataset) to the /etc/fstab file
I then mounted each dataset using mount/mnt/truenas/Movies
I screwed up and i got all the files for movies in /mnt/truenas/Movies all the files for Music in /mnt/truenas/Movies/Music and all the shows in /mnt/truenas/Movies/Shows it was a mess.
I proceeded to delete all the contents of /mnt/truenas/Movies
root@pve:~# mount /mnt/truenas/Movies
mount: /etc/fstab: parse error at line 1 -- ignored
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
the same for Music when i did /mnt/truenas/Music
and for shows I got
root@pve:~# mount /mnt/truenas/Shows
mount: /etc/fstab: parse error at line 1 -- ignored
Couldn't chdir to /mnt/truenas/Shows: No such device
i found the following information
root@pve:/mnt/truenas# ls -la
total 8
drwxr-xr-x 5 root root 4096 Oct 16 08:14 .
drwxr-xr-x 6 root root 4096 Oct 15 13:21 ..
drwxrwx--- 2 100000 110000 0 Oct 16 08:23 Movies
drwxrwx--- 2 100000 110000 0 Oct 15 23:49 Music
drwxr-xr-x 2 root root 0 Oct 16 08:14 Shows
root@pve:/mnt/truenas#
Notice the shows having a uid of root instead of 10000 and i guess the 0 means that the directory is empty.
What is keeping the directories busy? and how do i change Shows to 10000?
then i will need to bind the mount to the lxc with
{ echo 'mp0: /mnt/truenas/Movies/,mp=/mnt/Truenas' ; } | tee -a /etc/pve/lxc/104.conf
{ echo 'mp0: /mnt/truenas/Music/,mp=/mnt/truenas' ; } | tee -a /etc/pve/lxc/LXC_ID.conf
{ echo 'mp0: /mnt/truenas/Shows/,mp=/mnt/truenas' ; } | tee -a /etc/pve/lxc/LXC_ID.conf
I will have to do this for all 3 datasets correct?
then start the lxc and install and configure Jellyfin
I looked at the possible issues and i saw this
root@pve:~# cd /mnt/truenas
root@pve:/mnt/truenas# ls -la
total 8
drwxr-xr-x 5 root root 4096 Oct 16 08:14 .
drwxr-xr-x 6 root root 4096 Oct 15 13:21 ..
drwxrwx--- 2 100000 110000 0 Oct 16 08:23 Movies
drwxrwx--- 2 100000 110000 0 Oct 15 23:49 Music
drwxr-xr-x 2 root root 0 Oct 16 08:14 Shows
Once again Thank you
Servers: Dell r720 128gb ram 2x 5690 24tb HGST
Supermicro x10 32 gb ram 1 X 5675 20TB HGST
Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin in a jail in truenas
I still say to use less internet and use more cabernet (responsibly (only if driving))
be well now
Supermicro x10 32 gb ram 1 X 5675 20TB HGST
Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin in a jail in truenas
I still say to use less internet and use more cabernet (responsibly (only if driving))
be well now