News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

[SOLVED] MD can't see anything in /mnt, giving "file not found"error

Started by purps, March 14, 2011, 03:15:39 PM

Previous topic - Next topic

purps

Subject says it all really. This is on my new ASUS AT3IONT-I which is now up and running as it should be, apart from this problem of course. The media resides on an internal HDD in the core that uses the LMCE file structure and mounts to /mnt/device/##. The MD has nothing in /mnt, so the symlinks in the public video, audio etc folders are not working.

I will try my other MDs later to see if they have the same problem, but in the meantime, any thoughts?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

coley

what is in your /etc/exports file on your core?
Are your new MD's mount points now there?

-Coley.
~ 12.04 Alpha: [url="http://linuxmce.iptp.org/snapshots"]http://linuxmce.iptp.org/snapshots[/url]
~ 10.04 Final: [url="http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso"]http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso[/url]
~ My setup: [url="http://wiki.linuxmce.org/index.php/User:Coley"]http://wiki.linuxmce.org/index.php/User:Coley[/url]

purps

Just added a second, previously working MD and it is doing the same thing.

The MDs both appear in /etc/exports http://pastebin.com/nRiPmG0C, but why are all the IPs 192.168.80.0? Is that normal?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

coley

That file looks fine, One disk exported and two Media Directors.
Do any services fail to start as the MD boots?

-Coley.
~ 12.04 Alpha: [url="http://linuxmce.iptp.org/snapshots"]http://linuxmce.iptp.org/snapshots[/url]
~ 10.04 Final: [url="http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso"]http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso[/url]
~ My setup: [url="http://wiki.linuxmce.org/index.php/User:Coley"]http://wiki.linuxmce.org/index.php/User:Coley[/url]

purps

Tried my backed up image from before I upgraded/added any MDs, same problem. Upgraded MD, same problem. This is snapshot 23796.

How do I check which services failed to start?

This is my DCERouter.log when I switch on the MD http://pastebin.com/AACbpppK, is there anything else I can check?
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

purps

What is the best/safest way of removing the HDD from the system, in order to allow for it to be detected again upon restart?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

JoakimL

Delete it in WebAdmin and reboot the server ought to do the trick.

/Joakim

purps

Quote from: JoakimL on March 16, 2011, 04:00:07 PM
Delete it in WebAdmin and reboot the server ought to do the trick.

/Joakim

Thanks for the reply.

From the devices tree in web admin? Is that definitely safe to do? I would be very interested in keeping the data :)

I may try adding another hard disk as well, see if that helps diagnose the problem.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

nosebreaker

I had this same error, but only with subtitles.  It used to work fine with AVI files with subtitles, and now it doesn't work at all (and I get that error msg), so I delete the subtitles file to watch the movie.

purps

It's doing this with absolutely everything, audio, videos, the lot.

I have recently made a second partition on this hard drive to hold backups (sdb2). So when I plugged the HDD back in (after installation), I said to use sdb1 with LMCE file structure (like I usually do), and said to ignore sdb2. Could the problem be ANYTHING to do with this?

Don't seem to have write access to sdb2 in KDE desktop if that is relevant (not that I need it). Also the sda1 volume is not present in "Places"; it always used to be.

The HDD is in /mnt/devices/ on the core/hybrid as it should be, and the symlinks are working as they should on the core/hybrid also.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

purps

OK finally got it sorted.

To recap, I have an internal hard drive for media (sdb) which only used to have one partition (sdb1), using LMCE directory structure, public, always worked no problem. Then I made a small second partition (sdb2) for my clonezilla image backups, which I "ignored forever". This was when I got the problem.

I moved the images to an external HDD, reverted the internal sdb drive back to one partition, removed all traces of it from LMCE in web admin (thanks for the tip Joakim) and everything from unknown devices. Rebooted, LMCE detected it, and MDs could see it.

Don't think the problem was necessarily caused by what I have just described, but it happened none the less. I suspect it was a one-off installation issue, fairly sure the permissions were messed up somehow.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

coley

Did you happen to notice if the device Id of the disc changed when you went from single partition to two?
Maybe UpdateMedia hadn't caught up putting new paths into the dB.

-Coley.
~ 12.04 Alpha: [url="http://linuxmce.iptp.org/snapshots"]http://linuxmce.iptp.org/snapshots[/url]
~ 10.04 Final: [url="http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso"]http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso[/url]
~ My setup: [url="http://wiki.linuxmce.org/index.php/User:Coley"]http://wiki.linuxmce.org/index.php/User:Coley[/url]

purps

Yes, the device ID definitely changed when I went back to the single partition (I was hoping it would, fresh start has to be the best thing).

Before, it had had plenty of time to catch up; it certainly wasn't that.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]