mount issues

mount issues

Postby wimmme » Tue Mar 30, 2010 1:27 pm

Hello,
long time reader and follower, first time poster ... :oops:

Can someone please help me with mounting an nfs share permanently on my tvix (M6500, BadEIP_M-6x00_1.5.19-R1.fwp ) ?
I can perfectly access the desired folder using the awfull dvico gui (network drive, nfs), but i would really, really ,really like to just have that share automatically mounted somewhere on the harddrive.

NFS share: 192.168.0.10:/tvixhd1
mountpoint: /tmp/mnt/disk1/HomeServer

i tried using automount, close, but no cigar :cry: it won't mount.

I would like this because i got my wife to use the Tvix but cannot make her go into menu's for opening network drives, too technical :roll:
I am sharing my root folders from my Windows Home Server (don't laugh, it works great) with netshare.

Can someone help me please ?
wimmme
Member
 
Posts: 10
Joined: Tue Mar 30, 2010 1:12 pm

Re: mount issues

Postby octessence » Tue Mar 30, 2010 5:38 pm

Can I assume that you know the nfs share is working already?

If so, can you mount from the command line?

Try this:
Code: Select all
> mkdir -p /tmp/mnt/disk1/HomeServer
> mount -t nfs 192.168.0.10:/tvixhd1 /tmp/mnt/disk1/HomeServer
> ls /tmp/mnt/disk1/HomeServer


Once this works, it will be a simple step to use the automounter on the web gui to set it up.
TViX M-6500 + TViX M-4000 (Bricked)
octessence
Member
 
Posts: 320
Joined: Sat Apr 26, 2008 5:54 pm
Location: Germany (UK expat)

Re: mount issues

Postby wimmme » Tue Mar 30, 2010 7:37 pm

tnx for the reply. should have mentioned in my first post that while i can mount the nfs share using the darned gui, it won't work while doing it from the command line:

I get the following error: mount: RPC: Unable to receive; errno = Connection refused

Code: Select all
root@TViX:~$ cd /tmp/mnt/disk1
root@TViX:/tmp/mnt/disk1$ ls
$RECYCLE.BIN/                   Photo/
Audio/                          System Volume Information/
BadEIP_M-6x00_1.4.26_R2.fwp*    Video/
BadEIP_M-6x00_1.5.11-R2.fwp*    boot.log*
BadEIP_M-6x00_1.5.17-R1.fwp*    dvdfs/
BadEIP_M-6x00_1.5.19-R1.fwp*    opentvix/
Databackup/                     setup.ini*
EDID_SAM_0xA402_0x00000000.ted* setup2.ini*
HomeServer/
root@TViX:/tmp/mnt/disk1$ mount -t nfs 192.168.0.10:/tvixhd1 /tmp/mnt/disk1/HomeServer/
mount: RPC: Unable to receive; errno = Connection refused
root@TViX:/tmp/mnt/disk1$




EDIT: and for the record: my windows firewall is not running
wimmme
Member
 
Posts: 10
Joined: Tue Mar 30, 2010 1:12 pm

Re: mount issues

Postby hasse69 » Tue Mar 30, 2010 8:42 pm

Just to double check.

What version of opentvix are you using?

I saw that you are using 192.168.0.10 as your server. Is that a coincidence? That is what is set as default in /etc/auto.net
(which is my server IP at home) ;)
Can you check if you see any files under /net/tvixhd1 (this is created by the autofs, not the same as AutoMount).
Connection refused from NFS can actually be anything. Firewall issues, access permission etc. But I strongly doubt any of those since it
works from the dvico main process.
M-6500 [BadEIP_M-6x00_1.5.19-R1]
hasse69
Member
 
Posts: 520
Joined: Mon Oct 20, 2008 8:06 pm
Location: Sweden

Re: mount issues

Postby wimmme » Tue Mar 30, 2010 9:37 pm

I was using opentvix 118, just updated to 121.

192.168.0.10 is indeed the ip i gave to my homeserver. i detected it in the auto.net. is that related to my issues ?
I don't have a /net/tvixhd1/ folder on my system.

what i find is bizarre is that it works from the gui but not the commandline. i have some experience with solaris and linux, as wel as nfs, but never encountered sth like this. what command is issued by the gui to mount an NFS share then ?
wimmme
Member
 
Posts: 10
Joined: Tue Mar 30, 2010 1:12 pm

Re: mount issues

Postby octessence » Wed Mar 31, 2010 6:58 pm

It does seem weird. Maybe it is clashing with autofs but I guess you have tried removing it from the autofs configuration. I'm out of ideas.

Do you have linux anywhere where you could set up a real nfs export to test with?

Also can you ping the machines in both directions?
TViX M-6500 + TViX M-4000 (Bricked)
octessence
Member
 
Posts: 320
Joined: Sat Apr 26, 2008 5:54 pm
Location: Germany (UK expat)

Re: mount issues

Postby wimmme » Wed Mar 31, 2010 8:00 pm

ping works in both directions (firewall is off)
how can i remove it from the autofs config ? remove it from auto.net ?
i do have a virtual ubuntu lying around, wil see what i can do with that ... but i know the nfs is working cause i can browse it using the gui :?

EDIT: can mount it from Windows 7 (having nfs installed on it)
wimmme
Member
 
Posts: 10
Joined: Tue Mar 30, 2010 1:12 pm

Re: mount issues

Postby wimmme » Wed Mar 31, 2010 11:50 pm

got it working by removing Dvico netshare :evil: and installing Microsoft Service fro Unix 3.5 on my Windows Home Server to provide NFS shares to my tvix.
mounting is a piece of cake, music and photo's go as desired, but my tvix hangs when playing video over the nfs share; after 10 seconds or so he 'freezes' -> reboot is necessary :(
wimmme
Member
 
Posts: 10
Joined: Tue Mar 30, 2010 1:12 pm

Re: mount issues

Postby octessence » Thu Apr 01, 2010 12:21 am

Well at least it's a start. I have no idea why it would crash. Have you tried coping files across using nfs and samba to see what the difference is? I only ever use samba and never get any trouble. I don't watch anything over 720p though because my TV is rubbish.
TViX M-6500 + TViX M-4000 (Bricked)
octessence
Member
 
Posts: 320
Joined: Sat Apr 26, 2008 5:54 pm
Location: Germany (UK expat)

Re: mount issues

Postby wimmme » Thu Apr 01, 2010 7:47 am

tried the same files over a samba mount, same issues.
when i play these files using my computer (VLC player or WMplayer) it works flawless ...
opentvix nor ssh accessable after tvix freezes up -> reboot
wimmme
Member
 
Posts: 10
Joined: Tue Mar 30, 2010 1:12 pm

Next

Return to Problems

Who is online

Users browsing this forum: No registered users and 1 guest