<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Will,<br> Depending on your shell, the colon immediately after your variable can be causing something other than what you expect. Try enclosing the HOSTNAME in curlies to avoid this confusion:<br><br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> mount -t nfs -o hard,intr,nfsvers=2 ${HOSTNAME}:$SHARE $MOUNTPOINT</span><br><br>I hope that helps,<br>-Frd<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Will <will@psychdesigns.net><br><b><span style="font-weight: bold;">To:</span></b> lilug@lilug.org<br><b><span
style="font-weight: bold;">Sent:</span></b> Thursday, February 5, 2009 3:56:49 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [Lilug] NAS mounting problem<br></font><br>
Ok, so I've run into a bit of a problem...<br><br>We're running a streaming video server at my job, and rather then pay the<br>company we got it from for a 2 terabyte upgrade, we wanted to use a NAS. (I<br>know, it's a very bad idea, but it beats forking over tons of money for<br>something as simple as a hard disk)<br><br>The machine is running a 2.4 kernel, with some version of Red Hat. The NAS<br>is running windows server 2003.<br><br>When I tried to mount the NAS through samba, I discovered that the kernel<br>doesn't have smbfs support built in, so I tried using NFS instead. The<br>problem is, whenever I use the mount command, it just hangs. Here's the<br>relevant line from the script I wrote:<br><br>mount -t nfs -o hard,intr,nfsvers=2 $HOSTNAME:$SHARE $MOUNTPOINT<br><br>I tried various versions of NFS, but it still doesn't seem to work. I also<br>tried just passing "mount $HOSTNAME:$SHARE $MOUNTPOINT", but that didn't<br>work either. Whenever I run
the command, it just hangs, and I have to open<br>up another terminal and run killall on my script.<br><br>The NAS can be pinged from the machine, so it's accessible from the<br>network. The variables I'm specifying are correct as well.<br><br>Anybody have a clue what may be going on?<br><br>_______________________________________________<br>Lilug mailing list<br><a ymailto="mailto:Lilug@lilug.org" href="mailto:Lilug@lilug.org">Lilug@lilug.org</a><br><a href="http://lists.lilug.org/listinfo.cgi/lilug-lilug.org" target="_blank">http://lists.lilug.org/listinfo.cgi/lilug-lilug.org</a><br></div></div></div></body></html>