Try checking your /etc/hosts file or else give the IP address of the host from which you want to have the access.
 
Krishnakumar

"Ferreira,_Andr�" <[EMAIL PROTECTED]> wrote:

Nick,

        Yes, this method works perfectly.
        But as soon as I am trying to limit the share to only one client to access the share I get the permission denied error.

        IE:
                This share:  share -F nfs -o rw -d "Share" /opt/logs   works fine.
        BUT, this share:   share -F nfs -o rw=<client machine> -d "Share" /opt/logs give "PERMISSION DENIED" error.


Andr� Ferreira

 -----Original Message-----
From:   Icke, Nick [mailto:[EMAIL PROTECTED]]
Sent:   Tuesday, March 09, 2004 14:24
To:     Solaris-Users mailing list
Subject:        RE: [Solaris-Users] NFS Share

Andre

  try these steps
 
  1. Edit vfstab  (on the box that is sharing)
                >vi /etc/dfs/dfstab
                insert
                share -F nfs /opt/logs
  2. Start the NFS Server
                /etc/init.d/nfs.server start
  3. Check is exported
                >exportfs

  To Mount on another server
  1. create a mount point
        >mkdir a
  2. start NFS client
        >/etc/init.d/nfs.client start
  3. mount the nfs
        >mount -F nfs hostname:/opt/logs /a
  to unmount
    umount /a

Ta

Nick

-----Original Message-----
From: "Ferreira, Andr�" [mailtoo:[EMAIL PROTECTED]]
Sent: 09 March 2004 12:00
To: Solaris
Subject: [Solaris-Users] NFS Share


Solaris 8
I am trying to setup an NFS share between server A and B.
On B I declare the share as follow:
        Share -F nfs -o rw=A -d "Share Drive" /opt/logs
On A I mount the share as follow:
        Mount -F nfs B:/opt/logs /mnt/B
>From this command I get the following error:
"nfs mount: B:/opt/logs: Permission denied"
Did I miss a step somewhere?
Thanx.
Andr� Ferreira


Note:
The information in this e-mail is confidential and is intended solely for the addressee. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution is strictly prohibited. Please inform the sender immediately and destroy the original. Siemens Limited and/or its subsidiaries accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from access to this message and any files or links that are attached hereto.


The information contained in this email is intended only for the person or organization to which it is addressed.  If you have received it by mistake, please disregard and notify the sender immediately.  Unauthorized disclosure or use of such information may be a breach of legislation or confidentiality and may be legally privileged.

Emails sent from and received by Members and employees of Norfolk County Council may be monitored.

Unless this email relates to Norfolk County Council business it will be regarded by the Council as personal and will not be authorized by or sent on behalf of the Council.  The sender will have sole responsibility for any legal actions or disputes that may arise.

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Note:
The information in this e-mail is confidential and is intended solely for the addressee. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution is strictly prohibited. Please inform the sender immediately and destroy the original. Siemens Limited and/or its subsidiaries accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from access to this message and any files or links that are attached hereto.

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to