Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting "Error -1" when trying to mount NFS

Status
Not open for further replies.

gcazian

MIS
Dec 4, 2002
61
US
(root):/> mount /xyz

nfsmnthelp: myhost.com: Error -1 occurred.
mount: giving up on:
myhost.com:/xyz
Error -1 occurred.

Does anyone know what is causing this error or how to fix it? The entry for /xyz exists in /etc/filesystems:

/scm:
dev = "/xyz"
vfs = nfs
nodename = myhost.com
mount = true
type = nfs
options = bg,hard,intr
account = false
 
Just checking, but wouldn't you want to type:

# mount /scm

You may want to double check that the mount point /scm exists, as well.
 
Hi,
last week I had exactly the same problem with this "-1" error.

It was caused by a wrong DNS entry!

The NFS-server could resolve the clients name-to-address, but not reverse address-to-name.

As soon as we had corrected the DNS, the mount worked.
(You may also add local hosts-file entries, if you set "hosts=local,bind" in netsvc.conf)

Regards, Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top