[Lilug] NAS mounting problem
Will
will at psychdesigns.net
Thu Feb 5 15:08:11 PST 2009
Nope, that doesn't seem to be doing it...
On Thu, 5 Feb 2009 13:28:29 -0800 (PST), Brendan Ford wrote:
Will,
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:
mount -t nfs -o hard,intr,nfsvers=2 ${HOSTNAME}:$SHARE
$MOUNTPOINT
I hope that helps,
-Frd
-------------------------
From: Will
To: lilug at lilug.org
Sent: Thursday, February 5, 2009 3:56:49 PM
Subject: [Lilug] NAS mounting problem
Ok, so I've run into a bit of a problem...
We're running a streaming video server at my job, and rather then
pay the
company we got it from for a 2 terabyte upgrade, we wanted to use a
NAS. (I
know, it's a very bad idea, but it beats forking over tons of money
for
something as simple as a hard disk)
The machine is running a 2.4 kernel, with some version of Red Hat.
The NAS
is running windows server 2003.
When I tried to mount the NAS through
samba, I discovered that the
kernel
doesn't have smbfs support built in, so I tried using NFS instead.
The
problem is, whenever I use the mount command, it just hangs. Here's
the
relevant line from the script I wrote:
mount -t nfs -o hard,intr,nfsvers=2 $HOSTNAME:$SHARE $MOUNTPOINT
I tried various versions of NFS, but it still doesn't seem to work.
I also
tried just passing "mount $HOSTNAME:$SHARE $MOUNTPOINT", but that
didn't
work either. Whenever I run the command, it just hangs, and I have
to open
up another terminal and run killall on my script.
The NAS can be pinged from the machine, so it's accessible from the
network. The variables I'm specifying are correct as well.
Anybody have a clue what may be going on?
_______________________________________________
Lilug mailing list
Lilug at lilug.org [1]
http://lists.lilug.org/listinfo.cgi/lilug-lilug.org [2]
Links:
------
[1] mailto:Lilug at lilug.org
[2] http://lists.lilug.org/listinfo.cgi/lilug-lilug.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lilug.org/pipermail/lilug-lilug.org/attachments/20090205/f55c861c/attachment-0003.htm>
More information about the Lilug
mailing list