Jump to content

problem after replacing external disk


domenic

Recommended Posts

domenic

Hi I am running on debian testing 386 build.  All fine but I had a disk issue in which I have copied the data to a new drive  and mounted it to the same location.  The only difference is I switched file systems from NTFS to XFS as this will perform better.

 

The emby server no longer can access the data.  In the web browser it displays the mount point but after I select it none of the data is shown.  I have verified that the  mediabrowser account can access the data  by allowing account to logon and changing to the mount. I also have a different XFS file system mounted which is displayed in the browser and can be explored.

 

any ideas?

 

Domenic

Link to comment
Share on other sites

thefirstofthe300

Sounds like a permissions issue. What is the output of ls -l /path/to/media?

Link to comment
Share on other sites

domenic

nope, I changed the mediabrowser account (changed \bin\false to \bin\bash) and am able to logon and access the data, I have also added mediabrowser to the root group.

 

Note am trying to see /mnt/usb/TV

 

root@downstairs2:/mnt# df
Filesystem      1K-blocks       Used  Available Use% Mounted on
/dev/sda1       460605496  106030892  331154088  25% /
udev                10240          0      10240   0% /dev
tmpfs             9981924       9752    9972172   1% /run
tmpfs            24954800          4   24954796   1% /dev/shm
tmpfs                5120          0       5120   0% /run/lockI 
tmpfs            24954800          0   24954800   0% /sys/fs/cgroup
/dev/sdc1      2884121824 2571934924  165658900  94% /mnt/usb
/dev/sdb1      2146434048  118780844 2027653204   6% /mnt/usb/Downloads/complete/usenet2
/dev/sde1      2928801544 1919840392 1008961152  66% /mnt/usb2
tmpfs              796660          0     796660   0% /run/user/0
/dev/sdd1      2930253820 2662112276  268141544  91% /mnt/usb3
 
root@downstairs2:/mnt# ls -al
total 1452
drwxr-xr-x  8 root         root    4096 Apr  8 16:13 .
drwxr-xr-x 25 root         root    4096 Mar 21 11:46 ..
drwxr-xr-x  2 root         root    4096 Mar 12 11:32 sdb1
drwxr-xr-x 16 root         root    4096 Apr  8 17:17 usb
drwxrwxrwx 11 mediabrowser media   4096 Apr  6 10:59 usb2
drwxrwxrwx  1 root         root    4096 Apr  1 15:31 usb3
drwxr-xr-x  2 root         root    4096 Aug 25  2014 usb4
 
root@downstairs2:/mnt# cd usb2
root@downstairs2:/mnt/usb2# ls -al
total 880
drwxrwxrwx  11 mediabrowser media   4096 Apr  6 10:59 .
drwxr-xr-x   8 root         root    4096 Apr  8 16:13 ..
drwxrwxrwx   3 mediabrowser media   4096 Aug 20  2014 Comics
drwxrwxrwx  26 mediabrowser media   4096 Oct  8 08:48 ebooks
drwxrwxrwx   3 mediabrowser media     25 Feb 23 15:04 games
drwxrwxrwx   5 mediabrowser media   4096 Aug 20  2014 humble bundle
drwxrwxrwx   2 mediabrowser media  24576 Oct  4  2014 i386-linux-linux-gnu
-rwxrwxrwx   1 mediabrowser media 124904 Oct  4  2014 libselinux.so.1
-rwxrwxrwx   1 mediabrowser media  62848 Oct  4  2014 scp
drwxrwxrwx   2 mediabrowser media      6 Aug 27  2014 scripts
-rwxrwxrwx   1 mediabrowser media 440816 Oct  4  2014 ssh
-rwxrwxrwx   1 mediabrowser media     36 Aug 23  2014 syncguid.dat
drwxrwxrwx   2 mediabrowser media      6 Mar 29 15:34 torrents
drwxrwxrwx 110 mediabrowser media   4096 Apr  8 13:30 TV
 
Link to comment
Share on other sites

  • 1 month later...
domenic

So I have not found a proper soloution.  What I have done is re-mounted the same drive as a samba mount (same high level folder with a different name) and the server is able to scan..... very unusual.

 

Domenic

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...