LinuxMCE Forums
General => Users => Topic started by: dothedog on October 21, 2007, 07:45:54 pm
-
Hi All,
I had actually asked this question on the PlutoHome forums and never got an answer here:
http://plutohome.com/support/phpbb2/viewtopic.php?t=1256&highlight=
Hoping someone here can help. Here is my setup. I have a LinuxMCE 0704 dedicated core running. I have a 1.2TB raid array on it. I am currently using it in conjunction with a KnoppMyth r5f27 box. The KnoppMyth box records to the /home/public/data/video directory on the core over a network. The problem I am having is a wierd one. I want to use the KnoppMyth MythMusic to play music that is stored on /home/public/data/audio. This worked before I had KnoppMyth version r5e50. When I upgraded, I ran into a mount problem. When I mount the /home/public/data directory using smbfs I can see everything however, for some reason I get a bunch of smb errors and it takes forever to scan the directory. So I tried to mount using CIFS hoping that that would cause fewer errors. However, when I do a "mount -t cifs" it mounts, however the /home/public/data/audio and /home/public/data/video directories only show a "*" directory and not the actual contents. The /home/public/data/pictures directory is ok. Has anyone ever run into this before?
I've tried synchronizing users, dir_mode=777, file_mode=777, and nothing seems to work. I am hoping I am missing something simple in LinuxMCE.
Rob
-
Ok, I have tried a couple of other things. I can browse and read the missing directories in /home/public/data/audio from a winxp box as well as a Suse 10.2 box (using Konquerer). However, on the Suse box, I get the same behavior (as on the knoppmyth box) if I try to mount from command line. e.g. I only get a "*" directory after I cifs mount it.
Any Ideas?
Rob
-
Ok, I didn't actually solve the CIFS mounting, but I just exported the /home/public/ directory using NFS. All is working now...
Still would like to figure out how to make CIFS work though...
Rob
-
Can you post the entire mount statement that you used with cifs?
-
I thought the NFS mount solved things because I could scan the /home/public/data/audio directory, however, I couldn't get the thing to write recorded tv shows using myth. So I am back to trying to solve the CIFS issue. The wierd thing is before I couldn't get anything in the /mnt/public/audio folder. that is now showing up. Now I can't get it show any files in the /mnt/public/videos folder :(
The mount for /mnt/public shows up and most directories are read/write - able. All except for the /mnt/public/videos folder...
Thanks for the reply pixelator.
Here is the relevant info:
In /etc/fstab (username and password changed to protect the innocent;)
//192.168.80.1/public /mnt/public/ cifs username=User1,password=PassWord,filemode=0766,dir_mode=0777,uid=User1,gid=public
doing an ls -la on /mnt/public
root@mythtv:/mnt/public# ls -la
total 68
drwxrwxrwx 11 User1 public 0 Oct 30 07:14 .
drwxr-xr-x 3 root root 4096 Oct 6 15:48 ..
drwxrwxrwx 1 User1 public 0 Oct 21 20:07 audio
drwxrwxrwx 1 User1 public 0 Oct 5 20:51 backup
-rwxrw-rw- 1 User1 public 0 Oct 28 17:33 data
drwxrwxrwx 1 User1 public 0 Oct 25 22:59 documents
drwxrwxrwx 1 User1 public 0 Apr 22 2007 download
drwxrwxrwx 1 User1 public 0 Sep 29 17:01 pictures
drwxrwxrwx 1 User1 public 0 Oct 4 2006 samples
drwxrwxrwx 1 User1 public 0 Oct 26 08:12 tts
drwxrwxrwx 1 User1 public 0 Oct 30 07:04 tv
drwxrwxrwx 1 User1 public 0 Jul 27 06:51 videos
Doing an ls -la on the server returns
dcerouter_35940:/home/public/data# ls -la
total 168
drwxrwsr-x 12 User1 public 4096 2007-10-30 07:14 .
drwxrwsr-x 5 User2 public 4096 2007-09-29 14:23 ..
drwxrwsr-x 290 User1 public 8192 2007-10-21 20:07 audio
drwxrwsr-x 3 User1 public 4096 2007-10-05 20:51 backup
-rw-rw-rw- 1 User1 public 1780 2007-10-29 09:57 channels.conf
-rw-rw-rw- 1 User1 public 10439 2007-10-28 20:47 channels.conf.clean
-rw-rw-rw- 1 User1 public 11495 2007-10-28 20:46 channels.conf.orig
-rw-rw-rw- 1 User1 public 0 2007-10-28 17:33 data
drwxrwsr-x 6 User1 public 4096 2007-10-25 22:59 documents
drwxrwsr-x 7 User1 public 4096 2007-04-22 15:26 download
drwxrwsr-x 2 User1 public 4096 2007-03-06 07:55 knoppmythiso
drwxrwsr-x 101 User1 public 4096 2007-09-29 17:01 pictures
-rw-rwxrwx 1 User1 public 162 2007-05-21 17:57 ~$ree area research paper.doc
drwxrwsr-x 4 User1 public 4096 2006-10-04 20:12 samples
-rw-rwxrwx 1 User1 public 29696 2007-05-21 17:58 Three area research paper.doc
drwxr-sr-x 2 root public 4096 2007-10-26 08:12 tts
drwxrwsr-x 2 User1 public 53248 2007-10-30 07:04 tv
drwxrwsr-x 57 User1 public 4096 2007-07-27 06:51 videos
Here is an ls -la for the /mnt/public/videos folder:
root@mythtv:/mnt/public# ls -la videos/
total 0
drwxrwxrwx 1 User1 public 0 Jul 27 06:51 .
drwxrwxrwx 11 User1 public 0 Oct 30 07:14 ..
drwxrwxrwx 1 User1 public 0 Oct 9 2006 _2X68P~X
on the server I get:
dcerouter_35940:/home/public/data# ls -la videos/
total 292
drwxrwsr-x 57 User1 public 4096 2007-07-27 06:51 .
drwxrwsr-x 12 User1 public 4096 2007-10-30 07:14 ..
drwxrwxrwx 2 User1 public 4096 2006-10-09 18:29 *
drwxrwxrwx 2 User1 public 4096 2006-12-02 12:13 Movie1
drwxrwxrwx 2 User1 public 4096 2006-12-02 12:13 Movie2
drwxrwxrwx 6 User1 public 4096 2006-10-07 14:15 Movie3
drwxrwxrwx 2 User1 public 4096 2007-04-21 21:08 Movie4
... And lots more
the contents of _2X68P~X are the same as "*".
Contents of /etc/passwd on the server:
User1:x:10000:10000:,,,:/home/user_1:/bin/false
contents of /etc/passwd on client
User1:x:10000:10000::/home/User1:/bin/bash
-
Have you looked at: http://wiki.linuxmce.org/index.php/Howto:_Using_Network_Shares ?
I don't think you're supposed to mount external disks over /mnt/public to begin with.
-
Zaerc,
Thanks for the reply. I am using it like this:
From your link to the wiki.
Network Share Using LinuxMCE's Directory Structure
In this case LinuxMCE uses separate directories on the share for each user, with media sub-directories in each one. These directory trees are created if they do not already exist on the share.
For a typical Windows share, the storage layout will look like this:
my_share\public\audio
my_share\public\documents
my_share\public\pictures
my_share\public\videos
my_share\<user_1>\audio
my_share\<user_1>\documents
my_share\<user_1>\pictures
my_share\<user_1>\videos
So according to this, it should be ok. I'm just using it as a linux share instead of a windoze share. And in fact it had been working just fine before. And it works fine for most of the /home/public/data directories. It seems like just one doesn't want to play nice.
Rob