Mounting Issue??

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
TGPB
Level 1
Level 1
Posts: 47
Joined: Tue Apr 08, 2014 11:34 pm
Contact:

Mounting Issue??

Post by TGPB »

I built a new computer
1 SSD for boot
3 Hard Drives for storage ( 1 New, 2 from old computer)
Boot works fine
1 of 3 was working fine until I locked the folders, maybe from "take ownership"
Other 2 drives I can't see any files or folders in my Plex or other programs I can see them in Mint.
All 3 hard drives are EXT4 Linux Filesystem and show that they are mounted.
HELP PLEASE!!!
Last edited by LockBot on Wed May 03, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Cinnamon Mint 21
User avatar
deck_luck
Level 7
Level 7
Posts: 1577
Joined: Mon May 27, 2019 6:57 pm
Location: R-4808 North

Re: Mounting Issue??

Post by deck_luck »

TGPB wrote: Wed Nov 02, 2022 10:19 pm ...
1 of 3 was working fine until I locked the folders, maybe from "take ownership"
Other 2 drives I can't see any files or folders in my Plex or other programs I can see them in Mint.
All 3 hard drives are EXT4 Linux Filesystem and show that they are mounted.
..
To begin the troubleshooting process please post the output from the following commands:

Code: Select all

sudo cat /etc/fstab
sudo df -hxtmpfs
sudo lsblk -f
sudo ls -l /media/$USER
sudo ls -l /mnt
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11

Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
TGPB
Level 1
Level 1
Posts: 47
Joined: Tue Apr 08, 2014 11:34 pm
Contact:

Re: Mounting Issue??

Post by TGPB »

Code: Select all

sudo cat /etc/fstab
[sudo] password for tgpb:           
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=b3483d39-adbf-497c-b0e5-66ec95ff6c62 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda5 during installation
UUID=164fb07a-771e-4ce1-9fcc-a38bebfa0241 /boot           ext4    defaults        0       2
# /home was on /dev/sda8 during installation
UUID=42186a79-7350-4bfd-9309-df2ee6607f0f /home           ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=64ea2eb3-f414-4185-a1b6-e051c902fad4 none            swap    sw              0       0
/dev/disk/by-uuid/f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc /mnt/f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/b11bea22-9000-4410-8112-3bf3e75510e9 /mnt/b11bea22-9000-4410-8112-3bf3e75510e9 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/6bf16ca2-f7f1-448f-9b50-7a31c1af30d3 /mnt/6bf16ca2-f7f1-448f-9b50-7a31c1af30d3 auto nosuid,nodev,nofail,x-gvfs-show 0 0
tgpb@MovieServer:~$ sudo df -hxtmpfs
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6        19G   13G  5.2G  71% /
/dev/sda5       2.0G  314M  1.6G  17% /boot
/dev/sda8        63G  811M   59G   2% /home
/dev/sdd1       5.5T  4.0T  1.2T  78% /mnt/f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc
/dev/sdb1       7.3T  6.5T  427G  94% /mnt/b11bea22-9000-4410-8112-3bf3e75510e9
/dev/sdc1       7.3T  2.2G  6.9T   1% /mnt/6bf16ca2-f7f1-448f-9b50-7a31c1af30d3
/dev/sdi1       4.6T  2.1T  2.3T  47% /media/tgpb/MYLABEL
/dev/sdj1       3.7T  3.3T  358G  91% /media/tgpb/Seagate Backup Plus Drive
tgpb@MovieServer:~$ sudo cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=b3483d39-adbf-497c-b0e5-66ec95ff6c62 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda5 during installation
UUID=164fb07a-771e-4ce1-9fcc-a38bebfa0241 /boot           ext4    defaults        0       2
# /home was on /dev/sda8 during installation
UUID=42186a79-7350-4bfd-9309-df2ee6607f0f /home           ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=64ea2eb3-f414-4185-a1b6-e051c902fad4 none            swap    sw              0       0
/dev/disk/by-uuid/f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc /mnt/f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/b11bea22-9000-4410-8112-3bf3e75510e9 /mnt/b11bea22-9000-4410-8112-3bf3e75510e9 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/6bf16ca2-f7f1-448f-9b50-7a31c1af30d3 /mnt/6bf16ca2-f7f1-448f-9b50-7a31c1af30d3 auto nosuid,nodev,nofail,x-gvfs-show 0 0

Code: Select all

 sudo df -hxtmpfs
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6        19G   13G  5.2G  71% /
/dev/sda5       2.0G  314M  1.6G  17% /boot
/dev/sda8        63G  811M   59G   2% /home
/dev/sdd1       5.5T  4.0T  1.2T  78% /mnt/f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc
/dev/sdb1       7.3T  6.5T  427G  94% /mnt/b11bea22-9000-4410-8112-3bf3e75510e9
/dev/sdc1       7.3T  2.2G  6.9T   1% /mnt/6bf16ca2-f7f1-448f-9b50-7a31c1af30d3

Code: Select all

sudo lsblk -f
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                         
├─sda1
│    ntfs         System Reserved
│                       38D26BC5D26B864A                                    
├─sda2
│    ntfs               34D46DF1D46DB630                                    
├─sda3
│    ntfs               9AEE6E7EEE6E5315                                    
├─sda4
│                                                                           
├─sda5
│    ext4   1.0         164fb07a-771e-4ce1-9fcc-a38bebfa0241    1.6G    15% /boot
├─sda6
│    ext4   1.0         b3483d39-adbf-497c-b0e5-66ec95ff6c62    5.1G    67% /
├─sda7
│    swap   1           64ea2eb3-f414-4185-a1b6-e051c902fad4                [SWAP]
└─sda8
     ext4   1.0         42186a79-7350-4bfd-9309-df2ee6607f0f   58.3G     1% /home
sdb                                                                         
└─sdb1
     ext4   1.0   MovieDrive
                        b11bea22-9000-4410-8112-3bf3e75510e9  426.7G    89% /mnt/b11bea22-9000-4410-8112-3bf3e75510e9
sdc                                                                         
└─sdc1
     ext4   1.0   MovieDrive2
                        6bf16ca2-f7f1-448f-9b50-7a31c1af30d3    6.9T     0% /mnt/6bf16ca2-f7f1-448f-9b50-7a31c1af30d3
sdd                                                                         
└─sdd1
     ext4   1.0   MovieDrive3
                        f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc    1.2T    74% /mnt/f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc
sde                                                                         
sdf                                                                         
sdg                                                                         
sdh    

Code: Select all

sudo ls -l /media/$USER
total 0

Code: Select all

sudo ls -l /mnt
total 12
drwx------  4 tgpb tgpb 4096 Nov  1 21:23 6bf16ca2-f7f1-448f-9b50-7a31c1af30d3
drwx------ 10 tgpb tgpb 4096 Nov  1 16:21 b11bea22-9000-4410-8112-3bf3e75510e9
drwx------ 13 tgpb tgpb 4096 Aug 23 20:22 f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc
Cinnamon Mint 21
TGPB
Level 1
Level 1
Posts: 47
Joined: Tue Apr 08, 2014 11:34 pm
Contact:

Re: Mounting Issue??

Post by TGPB »

The SSD drive is dual boot. (Cinnamon Mint 21 / Windows 10)
Cinnamon Mint 21
User avatar
deck_luck
Level 7
Level 7
Posts: 1577
Joined: Mon May 27, 2019 6:57 pm
Location: R-4808 North

Re: Mounting Issue??

Post by deck_luck »

Code: Select all

sudo ls -l /mnt
total 12
drwx------  4 tgpb tgpb 4096 Nov  1 21:23 6bf16ca2-f7f1-448f-9b50-7a31c1af30d3
drwx------ 10 tgpb tgpb 4096 Nov  1 16:21 b11bea22-9000-4410-8112-3bf3e75510e9
drwx------ 13 tgpb tgpb 4096 Aug 23 20:22 f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc
The ext4 file systems with the MovieDrive, MovieDrive2, and MovieDrive3 good meaningful labels reside in the /mnt directory with the UUID (less meaningful) mount points. The UUID mount points have the tgpb user as the owner with read, write, and access directory permissions.

TGPB wrote: Wed Nov 02, 2022 10:19 pm ...
1 of 3 was working fine until I locked the folders, maybe from "take ownership"
Other 2 drives I can't see any files or folders in my Plex or other programs I can see them in Mint.
...
If I understand you correctly, the Plex server cannot access the MovieDrive, MovieDrive2, and MovieDrive3 files systems in the /mnt directory using the UUID mount points, but you are able to access them with different programs? Does the Plex server except the file system to be in the /mnt directory using the UUID mount points? Does the Plex run with a different user id? Please post the output from the following command:

Code: Select all

ps -ef | grep -i plex
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11

Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
TGPB
Level 1
Level 1
Posts: 47
Joined: Tue Apr 08, 2014 11:34 pm
Contact:

Re: Mounting Issue??

Post by TGPB »

Code: Select all

 sudo ls -l /mnt
total 12
drwx------  4 tgpb tgpb 4096 Nov  1 21:23 6bf16ca2-f7f1-448f-9b50-7a31c1af30d3
drwx------ 10 tgpb tgpb 4096 Nov  1 16:21 b11bea22-9000-4410-8112-3bf3e75510e9
drwx------ 13 tgpb tgpb 4096 Aug 23 20:22 f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc
tgpb@MovieServer:~$ ps -ef | grep -i plex
plex        2485       1  0 Nov02 ?        00:01:00 /usr/lib/plexmediaserver/Plex Media Server
plex        2534    2485  0 Nov02 ?        00:00:27 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-f4cdfea9c/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.29.1.6316-f4cdfea9c /usr/lib/plexmediaserver/Resources/Plug-ins-f4cdfea9c/System.bundle
plex        2577    2485  0 Nov02 ?        00:01:25 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.29.1.6316-f4cdfea9c 32600
tgpb       88055   60695  0 17:53 pts/0    00:00:00 grep --color=auto -i plex
Cinnamon Mint 21
TGPB
Level 1
Level 1
Posts: 47
Joined: Tue Apr 08, 2014 11:34 pm
Contact:

Re: Mounting Issue??

Post by TGPB »

Other programs are not seeing the Hard Drives. Example VLC only sees the files on the SSD boot drive.
Plex sees the drive UUID but no folders.
Cinnamon Mint 21
User avatar
deck_luck
Level 7
Level 7
Posts: 1577
Joined: Mon May 27, 2019 6:57 pm
Location: R-4808 North

Re: Mounting Issue??

Post by deck_luck »

TGPB wrote: Thu Nov 03, 2022 8:54 pm

Code: Select all

 sudo ls -l /mnt
total 12
drwx------  4 tgpb tgpb 4096 Nov  1 21:23 6bf16ca2-f7f1-448f-9b50-7a31c1af30d3
drwx------ 10 tgpb tgpb 4096 Nov  1 16:21 b11bea22-9000-4410-8112-3bf3e75510e9
drwx------ 13 tgpb tgpb 4096 Aug 23 20:22 f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc
tgpb@MovieServer:~$ ps -ef | grep -i plex
plex        2485       1  0 Nov02 ?        00:01:00 /usr/lib/plexmediaserver/Plex Media Server
plex        2534    2485  0 Nov02 ?        00:00:27 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-f4cdfea9c/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.29.1.6316-f4cdfea9c /usr/lib/plexmediaserver/Resources/Plug-ins-f4cdfea9c/System.bundle
plex        2577    2485  0 Nov02 ?        00:01:25 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.29.1.6316-f4cdfea9c 32600
tgpb       88055   60695  0 17:53 pts/0    00:00:00 grep --color=auto -i plex
From the information you provided the plex server uses the plex user id not the tgpb user id. Since the mount points are owned by the tgpb user with no group or other permissions, I would not expect the plex server to be able to read, write, or access the directories. As a test and since this seems to only be movies, you can open the permissions to the directories for everyone.

Code: Select all

chmod 777 /mnt/6bf16ca2-f7f1-448f-9b50-7a31c1af30d3
chmod 777 /mnt/b11bea22-9000-4410-8112-3bf3e75510e9
chmod 777 /mnt/f723ebb7-02a4-48d8-a30c-b3cbbd3dfebc
After changing the directory permissions you should stop the plex service and restart it again. If you do not know how to stop and start the plex service you can perform a normal Linux Mint shutdown and reboot.
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11

Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
TGPB
Level 1
Level 1
Posts: 47
Joined: Tue Apr 08, 2014 11:34 pm
Contact:

Re: Mounting Issue??

Post by TGPB »

That worked, kinda. I can see the files now in plex. One drive shows a lock on all the folders. I can access them if I right click and open as root.
Cinnamon Mint 21
User avatar
deck_luck
Level 7
Level 7
Posts: 1577
Joined: Mon May 27, 2019 6:57 pm
Location: R-4808 North

Re: Mounting Issue??

Post by deck_luck »

TGPB wrote: Fri Nov 04, 2022 11:54 pm That worked, kinda. I can see the files now in plex. One drive shows a lock on all the folders. I can access them if I right click and open as root.
It sounds like more permissions problems. If you change directory in to that drive and post the output a ls -l command it would be helpful.
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11

Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
TGPB
Level 1
Level 1
Posts: 47
Joined: Tue Apr 08, 2014 11:34 pm
Contact:

Re: Mounting Issue??

Post by TGPB »

Everything is working great now, I forgot to reboot. Thanks for your awesomeness on this problem, it is greatly appreciated. Have a glorious day.

TGPB
Cinnamon Mint 21
Locked

Return to “Storage”