Author Topic: [SOLVED] No Media. Windows Shares Not Mounting.  (Read 14710 times)

orionsune

  • Veteran
  • ***
  • Posts: 133
    • View Profile
[SOLVED] No Media. Windows Shares Not Mounting.
« on: February 11, 2008, 01:39:42 am »
Ok.  I have done some pretty intense research regarding this matter.  All I have found are old topics, where the problem was never solved.  Hardly any topics even had suggestions on how to resolve this problem.  The topics that did offer suggestions were links to a set of generic instructions on how to manually add shares through web admin (which didn't work for any previous posters or myself).


From the begining.  Anyone feel free to blow my mind with whatever it is i'm missing... please..

1. Installed Linux MCE DVD 710 Beta 3
2. Ran through wizards, took mostly default settings.
3. MCE finds my windows box's shares. (asks for username/pw, etc... everything proceeds with the share wizards fine... no indication of any problems)
4. I go to look at my media and it isn't there.
5. The generic syslog's in the /var/log tell me absolutely nothing.
6. I search the forums...
7. I find out where MCE tries to mount the samba shares... (/mnt/devices/##)
8. I issue smbmount command to manually mount my share in (/mnt/device/##) and recieve an error that the folder doesn't exist.
9. I check the folder contents of /mnt/device and there are no folders that correspond with the symbolic links created by the wizard in /home/public/data/other.
10. I issue a "mkdir" command to create the associated number of my share (my case 33).  It says permission denied.
11. I smack myself and then issue a command "sudo mkdir" and again... permission denied.
12 I use "su" to become root completely and make the folder again... permission denied.
13. So I issue an "ls -la" to see if maybe the folder exists but is hidden... it is not.
14. I decide I am too frustrated and came to the conclusion this product does not work out of the box, even with matching hardware as seen on the demo. word of the day = bullshit
15. Just to see if MCE even catalogs my movies correctly, I create a folder in /home/public/data/other called test.  So I have /home/public/data/other/test...
16. I manually mount my windows share at the command line into /home/public/data/other/test...
17. It mounts successfully.  Wow that was an easy command to use... wonder what MCE's problem is?
18. (Continuing on) I issue the "UpdateMedia" command at the command prompt.
19. I go back into the orbiter and go look at media, OMFG IT'S THERE.. ALL MY MEDIA IS THERE!!!

So... is there some sort of known issue or am I a rare case?  Wtf I have no idea why the hell mce cannot properly mount my shares.  Except maybe MCE can't create the /mnt/device/## folder for the mount point to go.  Because I certainly was not able to create any folder in there, even as root.  I tried different folder names too, not just the numbers associated with my symbolic links.

Please, this is probably the only time in my life I desperately want someone to make me feel stupid and talk down to me like i'm at idiot and explain to me what is wrong with me and why i'm not smart enough to figure out this supposedly "out of the box" product.
« Last Edit: February 15, 2008, 08:50:46 pm by orionsune »
entia non sunt multiplicanda praeter necessitatem

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #1 on: February 11, 2008, 05:01:09 am »
You aren't stupid! But I am assuming that if you have read the forums for similar issues you will have seen the advice many times - do not attempt to mount your drives manually.... LMCE has an automated system for doing this transparently integrated into the software. 1. if you do it manually you will almost certainly screw this mechanism up, 2. doing it manually is addressing the symptom not the root of the problem, there is something wrong with the system; fix it, and the shares will mount themselves.

I have no idea how you can guarantee roll-back of all the mounts and so on that you have done manually, and any associated confusion/corruption it may have caused to LMCE's file system management - so to be honest, I would rebuild from scratch again just to be sure. Only takes 30 mins from the DVD! But there's nothing more annoying than going around in circles for hours troubleshooting only to find that you fixed the issue hours ago, but something else you did manually prevented the fix from working.... :)

Things:

1. Networking issues
2. Permissions
3. Firewall
4. Filesystem mount type
5. UpdateMedia


Sounds like your networking is OK, but even relatively minor or intermittent issues could cause problems. You could try attaching (temporarily of course) your PC directly to the core with a cross over cable (modern NICs usually don't even need that) to eliminate cabling and switching. And try fixing your NICs rather than autonegotiating - use sudo ethtool eth0 and 1 on the Core and properties of the adaptor in Windows to check what they are set to. Fixing to 100Full to start with. If either say half-duplex then you definitely have an autoneg problem. BTW - some NICs have been seen to have comms probs at Gb on LMCE, so 100Full again would help you eliminate that possibility.

Make sure that your Windows firewall is completely disabled whilst testing to eliminate that. Once the share(s) have been detected and added, from KDE desktop Dolphin file manager navigate to /home/data/public/Windows... blah blah, and see if KDE can browse your Windows folders and play files in Kaffine or Amarok - this will confirm basic connectivity. Copying large files back and forth can confirm you are getting the correct bandwidth as speed and duplex problems often cause massive reductions in bandwidth, especially only in one direction....

If you can't navigate/play - try enabling security logging on Windows in admin tools-local security policy then check the events in the Security Event log to confirm that LMCE is successfully authenticating. You should also look under shares/sessions in Computer Management, and keep hitting refresh. You should see LMCE periodically connecting to the share(s), especially just after it sets them up.

When it discovers the shares, use the option to accept the LMCE folder structure. And check that it creates public/data/audio|video|documents|pictures under the share - this will confirm application layer connectivity and write access. This is the best option to use anyway, and once the folders are there, you move your media into the appropriate ones so that it can discover them and add them to the library.

Be aware that the initial run of UpdateMedia will take a few minutes to populate your media library even when there are only a few media files, but much longer when there are a lot. Don't run UpdateMedia from the command line unless you know what you are doing. And don't forget to Reload the DCERouter after it has discovered and added all your shares.

Go to the admin web site, login and go to Media File Sync in the Media and Files menu. You should see your Windows shares under there when you navigate down on the left hand panel. Go into one of your media shares so that you can see your own folders/files - now choose the resync option. This will run UpdateMedia for you properly.

Pay close attention to the log window that opens. The first part of the run will identify the media files and attempt to generate/download metadata for them - if you see this happening against specific media files on your PC then at least you know it is able to see them. However, the second part of the run it is determining whether the media is "available" or "online". It may sound obvious that they are, but UpdateMedia can make a mistake here in some circumstances (I had this problem for 4 weeks before I finally worked it out!) If it lists all your files but says that the device is offline, skipping file. Then you have the CIFS/SMBFS issue I had. Go to the devices tree and navigate down to the share - you will find a data attribute in the definition that is called filesystem type - set to "cifs", change that to "smbfs".

Only once UpdateMedia has successfully run, you see the media mentioned in its log window, it doesn't declare the device offline, and the DB sync happens at the end, will you be able to see your media in LMCE.

Sorry, this was a brain dump, and thus not in a good order for troubleshooting, so I recommend you read it all first then go through it in a more logical order. Don't just follow it step by step, as I back track in spots!

HTH
« Last Edit: February 11, 2008, 05:07:09 am by colinjones »

orionsune

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #2 on: February 11, 2008, 06:08:25 am »
Quote
Sounds like your networking is OK, but even relatively minor or intermittent issues could cause problems. You could try attaching (temporarily of course) your PC directly to the core with a cross over cable (modern NICs usually don't even need that) to eliminate cabling and switching. And try fixing your NICs rather than autonegotiating - use sudo ethtool eth0 and 1 on the Core and properties of the adaptor in Windows to check what they are set to. Fixing to 100Full to start with. If either say half-duplex then you definitely have an autoneg problem. BTW - some NICs have been seen to have comms probs at Gb on LMCE, so 100Full again would help you eliminate that possibility.
The network environment i'm using, has been used with the same configuration for quite some time, there is no question my network settings, configuration, layout, etc... is ok.
Quote
Make sure that your Windows firewall is completely disabled whilst testing to eliminate that. Once the share(s) have been detected and added, from KDE desktop Dolphin file manager navigate to /home/data/public/Windows... blah blah, and see if KDE can browse your Windows folders and play files in Kaffine or Amarok - this will confirm basic connectivity. Copying large files back and forth can confirm you are getting the correct bandwidth as speed and duplex problems often cause massive reductions in bandwidth, especially only in one direction....
Always the first thing I do when I install a windows box... firewall = off, reportingmethod = none, etc...
I think i confirmed basic connectivity when I manually mounted my windows share on linux mce using smbmount.  Also I can play the movies off my windows share through mce, after I mounted it manually in /home/public/data/other/test.
I can also see the mce box connecting to my windows share using the "shared folders" snap-in for the management console.  Also see successful login under security audit.
Quote
If you can't navigate/play - try enabling security logging on Windows in admin tools-local security policy then check the events in the Security Event log to confirm that LMCE is successfully authenticating. You should also look under shares/sessions in Computer Management, and keep hitting refresh. You should see LMCE periodically connecting to the share(s), especially just after it sets them up.
got it
Quote
Be aware that the initial run of UpdateMedia will take a few minutes to populate your media library even when there are only a few media files, but much longer when there are a lot. Don't run UpdateMedia from the command line unless you know what you are doing. And don't forget to Reload the DCERouter after it has discovered and added all your shares.
I checked the mount point... it's empty.  Every configuration pattern i've tried.
Windows logs a successful auth.
Windows shows user logged into share.
but /mnt/device remains empty.
Quote
Go to the admin web site, login and go to Media File Sync in the Media and Files menu. You should see your Windows shares under there when you navigate down on the left hand panel. Go into one of your media shares so that you can see your own folders/files - now choose the resync option. This will run UpdateMedia for you properly.
Yes i've done this also, again something I read during my research... problem is, those windows shares we see listed there?  They are symbolic links to the actual mount point of the share?  Something eg: /mnt/device/33.... it's empty.  there is no /mnt/device/33.  It stops at /mnt/device.
Quote
Then you have the CIFS/SMBFS issue I had. Go to the devices tree and navigate down to the share - you will find a data attribute in the definition that is called filesystem type - set to "cifs", change that to "smbfs".
This is the juicy part... I actually saw a topic about this, and when I saw it, I was convinced this would be my problem.  I tried that, I also tried changing that setting in the config file.  To no avail.  I wasn't exactly sure how long it would take for the core to pick up the change and restart the associated service so I rebooted to make sure the change was in effect.  Still got errors in updatemedia, and /mnt/device was still blank.. no mounted shares... Where can I look to try and observe the error messages generated by mce's mounting mechanism?

I'm leaning toward this mounting issue with the difference between cifs/smbfs... i'm sure thats it, because if I try mounting using -t cifs in my mount command, I get some obscure error, I have to use -t smbfs and it'll mount find... but thats just manually, and as I stated before, I changed the mounting method but it still wouldn't mount.  I think if we can just find where that mechanism is logging errors... I know it's autofs, but I see no errors being generated in the typical log files...

The only thing I haven't looked at in depth are the security logs in windows.  At first glance everything seems to auth just fine on windows side, then nothing else happens.  I haven't turned up my logging level yet, i'm going to try this next time I re-install linuxmce and it goes through all it's wizardry and tries to connect to the shares again.

EDIT: I decicded to move on and try to get the RAID working and give the shares a rest... I noticed this in my syslog
Feb 11 00:54:36 dcerouter automount[15507]: mount(generic): failed to mount /dev/md3 (type auto) on /mnt/device/28
Feb 11 00:54:36 dcerouter automount[15507]: failed to mount /mnt/device/28
Feb 11 00:54:36 dcerouter automount[15541]: >> mount: you must specify the filesystem type
Feb 11 00:54:36 dcerouter automount[15541]: mount(generic): failed to mount /dev/md3 (type auto) on /mnt/device/28
Feb 11 00:54:36 dcerouter automount[15541]: failed to mount /mnt/device/28
so I know auotofs is logging to syslog, now why don't I get any errors when configuring the windows shares...

well, now i'm back on troubleshooting shares i've been inspired...
« Last Edit: February 11, 2008, 06:57:34 am by orionsune »
entia non sunt multiplicanda praeter necessitatem

royw

  • Guru
  • ****
  • Posts: 261
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #3 on: February 11, 2008, 09:50:52 am »
First, I'm going to suggest verifying that there are no other DHCP servers active in you internal network.  I had fun after resetting my linksys wireless router and not thinking that resetting it re-enabled the DHCP server.  A quick check is to run ipconfig on your windoze box and verify the IP address is 192.168.80.x

Second, I'm going to reiterate Collin's suggestion to minimize/change you network.  I thought my network was working fine, but in reality one of my problems was that my Netgear GS105 was bad.  Here's what my network looked like (abridged):

ISP -> Linksys BEFSR41 -> Core/hybrid -> Netgear GS105  ->  PS3, Dlink DGS2208 -> kubuntu, Dlink DBS2208 -> gentoo

The gentoo & kubuntu systems were working great.  Could NFS to each other at 36MB/s.
The Core/hybrid could not reliably NFS to either the gentoo or kubuntu boxes.

For a test I removed the Netgear & PS3 from the network:

ISP -> Linksys BEFSR41 -> Core/hybrid -> Dlink DGS2208 -> kubuntu, Dlink DBS2208 -> gentoo

Poof, NFS started working great at 36MB/s between core/hybrid and kubuntu.  I then put the netgear back in and tried different cables.  No joy.  This isolated the problem to the netgear switch.

Originally I had tried samba on the kubuntu system, but couldn't get it working so switched to NFS (I'm much more comfortable in *nix land than windoze).  In retrospec the bad switch was probably my problem when I tried samba/cifs.

HTH,
Roy

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #4 on: February 11, 2008, 12:17:00 pm »
orionsune - not sure whether you mean that you have had LMCE and the network working in this config for quite a while, or JUST the hardware components. Certainly your post suggests that either your LMCE is new or has never worked for shares. So if you mean just the hardware, not LMCE - please don't dismiss the suggestions, just having the hardware (PCs, cables, switches) working under a different OS means nothing. It has everything to do with your NIC drivers - if your LMCE is new, then this component (arguably the most significant and prone) is completely new and you have never had it working before, in effect....

I don't think I have any more suggestions for you until you have rebuilt as there is no way to know what state your system is in after the mounting you have done.

I agree that there seems to be a mounting issue - that seems obvious from your last post. But I am questioning now whether it has anything to do with the cifs/smbfs issue that I have described (it sounds like you have been reading my posts on the issue). My issue did not involve the share being missing from /dev/mnt.... this was fine, as was the symlink. As I say I could browse the media from the symlink, no problem, cd into the /dev/mnt, etc... the mount was fine, and UpdateMedia could see the attributes, new files, etc. Just thought they were offline when it checked using cifs. The mounting is obviously not that straightforward. Even though it is mounting, something else is going on to confirm this. Otherwise you would be able to search for media and play it in LMCE like I could, even though it doesn't appear in the media browser.

Good luck

orionsune

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #5 on: February 11, 2008, 06:15:48 pm »
So I just tried you guy's suggestion despite my stubbornness...

I connect my network share pc (windows box) to the internal nic of the lmce box using a crossover cable.  Then the cablemodem connected directly to the external nic of my lmce box.  Completely isolating the lmce box and windows box from my existing network.  No change...

Although I have had another development... i've finally gotten logging to log the errors during automount and here they are.

Feb 11 01:06:55 dcerouter kernel: [  939.815214]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 11 01:06:56 dcerouter kernel: [  940.312890]  CIFS VFS: Send error in SessSetup = -13
Feb 11 01:06:56 dcerouter kernel: [  940.387544]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 11 01:06:57 dcerouter kernel: [  940.979295]  CIFS VFS: Send error in SessSetup = -13
Feb 11 01:07:22 dcerouter automount[31586]: parse(sun): entry 36 is empty!
Feb 11 01:07:22 dcerouter automount[31586]: failed to mount /mnt/device/36
Feb 11 01:07:23 dcerouter automount[31868]: parse(sun): entry 37 is empty!
Feb 11 01:07:23 dcerouter automount[31868]: failed to mount /mnt/device/37


So it's obviously the cifs/smbfs issue, but i've put "smbfs" in the filesystem field and no change it still gives CIFS errors and mounting errors.  I even tried modifying the automount map file and hardcoded the option to use "-fstype=smbfs" instead of allowing it to use a variable.  Still I can mount all these shares manually...

Thanks for trying tho guys, at least I know it's something to do with the mounting procedure... if I find a solution i'll be sure to post details.

EDIT: I was hoping one of you guys would recognize those errors.  It seems to me, everything is pointing to the cifs/smbfs issue, but when I put smbfs in the filesystem field of the share through the web admin, and restart/reboot/powerdownbackup, I still recieve the same error, and shares still do not get mounted.  Actually I found out if you try to cd into /mnt/device/##, then the autofs attempts to mount the filesystem associated with the number.  I used this method to generate those error messages, but they are generated the same by itself also.  I don't understand on the Windows side, the only log entry being recorded is a successful login from the username I specified linuxmce to use for the share.

BTW: I tried seting up a NFS share on my spare *nix box, I don't know if it's my configuration yet, but it wasn't detected at all.  I do admit, i've never really used NFS much because of permission issues in the applications I used in the past.

EDIT2: It dawned on me to try and mount manually using cifs... so I did, and i cant mount my windows shares manually using smbfs or cifs, so again, whats with the mounting errors? errrr
« Last Edit: February 12, 2008, 05:40:44 am by orionsune »
entia non sunt multiplicanda praeter necessitatem

orionsune

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #6 on: February 13, 2008, 12:22:33 am »
Oh My God... yes I had to spell it out.  I want to give each of you guys my home address and directions.  I would like for everyone that tried to help, come to where I live and put a foot in my ass.

Out of pure and total desperation last night, I checked my windows firewall and it was ON!  I sware to god and all that is holy and righteous that I turned that damned firewall off when I installed windows.  I just installed windows not only a few days ago, because I went from  XP to Vista.  I decided to see what Vista is all about.  Well, this is my second installation of Vista, and I have to admit, the first time I installed Vista, I remember having this firewall problem with another technology I was researching.  The problem was, I swore that I turned the firewall off after installing windows, then when nothing worked right over my network, I checked the firewall settings and it was back on.  I think windows Vista is turning the firewall back on by itself, I sware it has to be because i've never in my life had any kind of memory problems like this.  And twice i've sworn I turned the firewall off, I go back and check and it's back on.

Now.. I turned the firewall off, but I had already broken the autofs mechanism in mce during my troubleshooting, so I need to re-install mce again and test it's "out of the box" share discovery and autofs again.  I hope it will work this time.  But I am still skeptical.  I am a firm skeptic because even with windows firewall being on that whole time, I was able to mount my windows shares manually using both smbfs and cifs.  And windows was logging in the event log, successful logins from the autofs attempting to mount the shares. If windows firewall was preventing autofs from mounting my shares, then shouldn't it prevent me from manually mounting them as well?  I will admit, I do not claim to know all the intricacies and obscure methods used in network protocols, maybe there is something different autofs does that gets blocked by windows firewall where manually mounting does not use.  Who knows... (the RFC knows...)

Anyways, I will re-install mce on my box and re-test this again with windows firewall OFF and post my results.

I would appreciate any flaming please.  A foot in the ass, a couple variations of the spelling newbie... anything please lol.
entia non sunt multiplicanda praeter necessitatem

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #7 on: February 13, 2008, 12:29:54 am »
Have you tried accessing the contents of the files as well besides just mounting the shares? 
"Change is inevitable. Progress is optional."
-- Anonymous


colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #8 on: February 13, 2008, 12:42:51 am »
Just a thought - I noticed somewhere in some script a ping test (not the one to google) and I think I was looking at storage device scripts at the time. It is just possible that one of the things used to test share availability is ping. If so, it is also just possible that your Windows firewall was configured to allow file sharing (inbound), but probably not ICMP/ping. If so, then it would have thought the share/server was offline even though you manually mount.

Have fun!

orionsune

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #9 on: February 13, 2008, 04:04:25 am »
Negative houston... I just got home, re-installed MCE fresh... made damned sure windows firewall is off, same identical results.   Once again, here are my log entries.  Too bad I can't find what code -13 means.

I get this during LinuxMCE's automatic detection wizard...
Feb 12 18:51:15 dcerouter kernel: [ 1582.854473]  CIFS VFS: Send error in SessSetup = -13
Feb 12 18:51:15 dcerouter kernel: [ 1583.095652]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 12 18:51:16 dcerouter kernel: [ 1584.962725]  CIFS VFS: Send error in SessSetup = -13
Feb 12 18:51:17 dcerouter kernel: [ 1585.204772]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 12 18:51:17 dcerouter kernel: [ 1586.671798]  CIFS VFS: Send error in SessSetup = -13
Feb 12 18:51:18 dcerouter kernel: [ 1586.939598]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 12 18:51:18 dcerouter kernel: [ 1588.550243]  CIFS VFS: Send error in SessSetup = -13
Feb 12 18:51:19 dcerouter kernel: [ 1588.797034]  CIFS VFS: cifs_mount failed w/return code = -13

Directly afterwards, and everytime I try to cd into my /mnt/devices/## folder where the mount point is, I recieve these errors.
Feb 12 18:52:31 dcerouter automount[28724]: failed to mount /mnt/device/28
Feb 12 18:52:31 dcerouter automount[28845]: parse(sun): entry 35 is empty!

What is interesting here, I didn't notice before, is that the first set of errors only happen when the auto wizard detects my windows shares.  The following errors are the only ones I see after the wizard is finished.

Quote
Have you tried accessing the contents of the files as well besides just mounting the shares?
Yes, actually if I mount my windows share somewhere inside LinuxMCE's /home/public/data  , it sees all my media and I can play it just fine.

Quote
Just a thought - I noticed somewhere in some script a ping test (not the one to google) and I think I was looking at storage device scripts at the time. It is just possible that one of the things used to test share availability is ping. If so, it is also just possible that your Windows firewall was configured to allow file sharing (inbound), but probably not ICMP/ping. If so, then it would have thought the share/server was offline even though you manually mount.
That actually could make a whole lot of sense, except I remember reading also that it doesn't bother attempting to mount those shares if it doesn't recieve a ping reply.  I have a log file full of autofs trying to mount those shares every 5 minutes or so on it's own.

I am so frustrated, this is garbage.  I have a question, you guys have this working just fine?  Can I look at your autofs map file (/etc/auto.PlutoStorageDevices, network configuration, flavor of windows (xp/vista)? I just don't get it.  This copy of windows vista is only 5 days old, I have no exotic configurations on my network or pc.  I have a pretty standard setup, have tried to match all the hardware i've collected to the list of known compatible hardware in LinuxMCE.

Well I am back to troubleshooting, think i'll try and get more detail out of the windows side as it tries to mount.  Screw windows event log, time to download ethereal.  I'll update later... thx everyone for your input...
entia non sunt multiplicanda praeter necessitatem

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #10 on: February 13, 2008, 05:22:30 am »
Sorry, just blew up my installation! Will be re-installing and reconfiguring for a while...

orionsune

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #11 on: February 13, 2008, 07:04:02 am »
Well, I have finished analyzing my network traffic using wireshark.

When I mount the share manually using mount or smbmount, there are tons of browser/smb/cifs traffic showing up.

When I allow linuxmce to attemp an aoutmount of those shares (while monitoring both ends of traffic), a ping is sent to my windows share box, and a replay is recieved by the linuxmce box, but then nothing else happens.  It just pings my windows box, and generates an error in the syslog.   The linuxmce box never even attempts through out any browser traffic after pinging and recieving a response. This sounds like coolinjones's hunch, but... I commented out the pinging mechanism in the autofs map file so that it would bypass pinging and go straight to the mount command, no luck... same error logged in syslog also...
entia non sunt multiplicanda praeter necessitatem

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #12 on: February 13, 2008, 12:16:04 pm »
Very strange - don't think I can help any further. I was going to say, make sure that the ICMP coming back is an echo_reply, not an expiry/destination unreachable/source_quench, but if the commenting made no difference.... I can only assume that some other logic mechanism somewhere else has already marked the share as down (even though the server may be marked as up confirmed by the ping) and so it doesn't even try. BTW, in the admin site for the share, at the bottom of the details section there is a tick box that indicates whether the share is "online", is that ticked? Mine wasn't, I could turn it on, but it would go off again after a few seconds. Sorry, I've forgotten, did the pnp even detect the share and create a device that isn't working?

Anyway, persevere - took me a month to get mine online :)

orionsune

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #13 on: February 13, 2008, 03:31:27 pm »
Yes, it detects the shares and the wizard runs...  the online box is checked...

At least i'm homing in on the source, i'm alot closer than I was a day ago.  I've narrowed it down to the autofs mechanism.  I've been playing with the syntax in the map file for mounting shares.  The autofs mechanism mounts my raid fine, so I haven't ruled out that something between linuxmce and the windows box is causing a problem.  But like I said, there is absolutely no browser traffic making it to the windows box, as if the automount command is never being executed.  Even though I don't really NEED this work i'm stuck on it now, I won't rest until I solve this.
entia non sunt multiplicanda praeter necessitatem

orionsune

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: No Media. Windows Shares Not Mounting.
« Reply #14 on: February 14, 2008, 04:10:42 am »
UPDATE:


I tested to see if everything was being pulled from the database properly, using a method mentioned previously..

Quote
you can test the code by running the following:


sudo /etc/auto.PlutoStorageDevices 91

( please change 91 to the device Number of your Storage Device)

Everything was returned accurate.... so thats not it...
entia non sunt multiplicanda praeter necessitatem