I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / 3Com Audrey
fs-nfs2 mounting - anyone get this working?
fs-nfs2 mounting - anyone get this working?

New Messagefs-nfs2 mounting - anyone get this working? (modified 0 times) larsomatic
Profile
I pulled fs-nfs2 off of my 6.0 install of qnx. I moved this into /bin (same place as fs-cifs), chmod +x the file and run fs-nfs2 machine:/remoteshare /localmountpoint

I get no error message, but it also does not nfs mount the drive.

09-14-2001 09:23:00

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) BongHitCharlie
Profile
Works here...


$ telnet 192.168.1.102
Trying 192.168.1.102...
Connected to lap (192.168.1.102).
Escape character is '^]'.

login: root
Password:
# fs-nfs2 192.168.1.101:/ /mnt
# ls /mnt
. bin lost+found sbin
.. boot mnt tmp
.automount dev net usr
.bash_history etc opt var
.mpg home proc
.viminfo lib root
# ls -l /bin/fs-nfs2
-rwxr-xr-x 1 root root 58596 Sep 09 03:22 /bin/fs-nfs2
#

09-15-2001 16:06:43

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) Chiliblue
Profile
Yup, just tried it and it works.

I have the file if anyone wants it
http://chili.homeip.net/audrey/files_from_qnx6/fs-nfs2

It lives in /bin on the audrey,

You will need to chmod +x fs-nfs2 to get the correct permissions

Sorry if I repeating stuff but the line to use it is.

fs-nfs2 serverip:/share /mountpoint

The positive thing is that although I got a bunch of drop out and stuttering when playing the mp3 over my samba share, in nfs it is smoother not perfect but a lot better.

I think I am going to rip out my qnxrto 6.1 install and get the 6 installed, at least then I could start on some other things.

09-15-2001 18:37:34

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) Veteran
Profile
I got this working without much effort today. All I
had to do was set up the nfs server, copy fs-nfs2 from
the 6.0 install (using ftp), and do the mount:
fs-nfs2 123.123.123.123:/qnx6.0 /mnt/qnx6.0

Are you sure that your nfs server permissions are correct?
/etc/exports correct? Does showmount -e show the right
things?

I tested my server using my qnx6.0 machine as a client
before I tried the Audrey.

09-15-2001 20:20:16

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) Chiliblue
Profile
A little of topic but....

Has anyone got linux mounting qnx4 partitions like qnxrtp 6.1 or 6 uses?

I haven't been able to, I use kernel 2.4.9, I talked to some people from the #qnx channel they seemed to think that the qnx partition support in linux kernels was bust or not being maintained...before I go bang my head against the wall somemore I would love to know if anyone else can comfirm it working or even non working.

Cheers

09-15-2001 21:02:30

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) BongHitCharlie
Profile
Here's a patch that will fix the QNX4
filesystem support in linux kernel 2.4.9

-Bong


$ pwd
/usr/src/linux/fs/qnx4
$ diff -u inode.c.orig inode.c
--- inode.c.orig Sat Sep 15 23:23:43 2001
+++ inode.c Sat Sep 8 16:44:21 2001
@@ -396,7 +396,7 @@
goto outi;

brelse(bh);
- s->s_dirt = 1;
+ // s->s_dirt = 1; RER hack

return s;

09-15-2001 21:29:19

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) fugowie
Profile
Great! works for me too. I tried playing an mp3 off the nfs mounted filesystem and
it skipped a lot less than playing off an smb filesystem, but it still skipped. Has
anyone experimented with the buffering options, and do you think they would help?
09-16-2001 18:39:14

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) fugowie
Profile
To the poster of this thread, i also had a problem mounting a drive and checked the log on the server.
Turns out that the drive was exported to allow only machines in my network by domain name.

eg. *.mynet.com

and i had not set up a reverse address mapping for the address of the audrey. All i had to do
was put audrey's hostname and ip address in the /etc/hosts file on the nfs server and it worked fine.

09-16-2001 18:42:57

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) mindbum
Profile | Email
what is involved in setting up a "share" on the audrey, so i can access audrey
as a network drive from my win2k box?

sounds like a samba-thing...


mindbum
09-19-2001 18:03:45

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) abbott
Profile
I'll add here that the mount point apparently must be an absolute directory! I wanted to mount to /mnt/foo just for testing, so I would cd to /mnt and then try
fs-nfs2 192.168.1.101:/home/stuff foo and it failed. But fs-nfs2 192.168.1.101:/home/stuff /mnt/foo works just ducky.
10-21-2001 19:53:49

New MessagePlease, please post fs-nfs2 (modified 0 times) PhilosopherKing
Profile
The http://chili.homeip.net/audrey/ site for fs-nfs2 is not working, and it's questionable if the files themselves ever worked. Could someone with a working fs-nfs2 and associated files post it? All i can find are full modded CF images, which doesn't help me at all.
03-05-2002 14:42:06

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) Livin
Profile
What is the difference (postives & negatives) between fs-nfs2 & fs-cifs?
03-06-2002 19:55:22

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) bazabba
Profile | Email
I cannot get this to work (fs-nfs2).
I am running Win XP. I started a share and place the folder in my C:\
so the shared folder is /mnt
On my Audrey I run fs-nfs2 192.168.0.1:/mnt /mnt
and doesnt work. Do i have to have the directory already created on my Audrey?
03-07-2002 23:41:50

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) bazabba
Profile | Email
When i use fs-cifs i get an error saying:
expecting 'host:share' near "/mnt"
whats that mean?
03-07-2002 23:49:44

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) booya
Profile
fs-nfs2

I got this working after a few minutes of messing around.. turns out that I had to mount using the full qualified domain name for my nfs server.

fs-nfs2 mandrake:/home/music /music <-didn't work
fs-nfs2 192.168.100.1:/home/music /music <-didn't work
fs-nfs2 mandrake.brittonfamily.net:/home/music /music <- This WORKED!! mandrake.brittonfamily.net resolves to 192.168.100.1 so it is strange.

so what does this mean?! I don't know... when I tried the 2 that didn't work it messed up something on the linux box so when I tried to login to the linux box it would take a few minutes to be authenicated (restarting the nfs process after logging in fixed it). The reason I needed nfs to work was because fs-cifs to a samba share on the same box would dissapear after a few minutes. NFS so far is rock solid.. I get NO/None/Zero skips when using phjuke. Also no skips playing mp3's while surfing or typeing or dragging windows around. I even did a "du" command in a root telnet which would always stop the music when playing music from a share using cifs, but with NFS it was 100x better.. i heard maybe 2 or 3 noticable pauses. If you don't kow what du is type it in pterm but expect to wait a while until it's done estimating your disk space usage. :)

03-16-2002 15:12:53

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) kruel
Profile
wrt to skipping, i found that the following works for me while using phjuke:

1. change the priority on fs-nfs2. there are other threads on this board with detailed instructions on doing this. you should also change phplay's priority at start. look into the "nice" command.

2. set the environment variable MADPLAY_PREBUF_KBYTES to a very high number (default is 192) to buffer the mp3 at the decoder level.

03-22-2002 08:43:19

New MessageRE:fs-nfs2 mounting - anyone get this working? (modified 0 times) darkfrog
Profile | Email
I had three problems when I was using fs-nfs2 and I wanted to let people know about and how to fix them:

Problem1: "df" does not show the mounted partitions but that doesn't mean they aren't mounted!
Fix1: Look at your mountpoint to see if the files are there.

Problem2: fs-nfs2 doesn't report and error, but the files aren't there when I try to access them!
Fix2: Sometimes with slow file systems the files won't show up right away, look again in a few minutes.

Problem3: fs-nfs2 runs, but when I try and look in the mount point directory I get "ls: readdir of '/mnt/mount_point' failed (Permission denied)",
Fix3: This is because nfs mounts the directory with the same permissions as the server, you need to run "chmod -R 755 dir_on_server" the directory on the server to give permissions.


/************\
* DarkFrog *
\************/
03-07-2005 13:34:38

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3