Sponsored Content
Operating Systems Solaris svcadm fails to enable nfs/server Post 302224679 by Vi-Curious on Wednesday 13th of August 2008 04:38:24 PM
Old 08-13-2008
Here is /etc/dfs/dfstab on the working server:
Code:
hostname_b:> cat /etc/dfs/dfstab
# THIS LINE DEFINES THE COMMENT CHARACTER FOR THIS FILE BUT WILL NOT BE INCLUDED
/usr/sbin/share -F nfs -o rw=@xx.yyy.zzz.37/25,root=@xx.yyy.zzz.37/25 -d 'Sxxxxxx Billing' /billing
/usr/sbin/share -F nfs -o rw=@xx.yyy.zzz.37/25,root=@xx.yyy.zzz.37/25 -d 'Sxxxxxx TMM' /stats
/usr/sbin/share -F nfs -o rw=@xx.yyy.zzz.37/25,root=@xx.yyy.zzz.37/25 -d 'Sxxxxxx DB Backups' /dbbackup
/usr/sbin/share -F nfs -o rw=@xx.yyy.zzz.37/25,root=@xx.yyy.zzz.37/25 -d 'Sxxxxxx Event Logs' /space/event
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx


And from the non-working server:
Code:
hostname:> cat /etc/dfs/dfstab
# THIS LINE DEFINES THE COMMENT CHARACTER FOR THIS FILE BUT WILL NOT BE INCLUDED
/usr/sbin/share -F nfs -o rw=@xx.yyy.zzz.35/25,root=@xx.yyy.zzz.35/25 -d 'Sxxxxxx Billing' /billing
/usr/sbin/share -F nfs -o rw=@xx.yyy.zzz.35/25,root=@xx.yyy.zzz.35/25 -d 'Sxxxxxx TMM' /stats
/usr/sbin/share -F nfs -o rw=@xx.yyy.zzz.35/25,root=@xx.yyy.zzz.35/25 -d 'Sxxxxxx DB Backups' /dbbackup
/usr/sbin/share -F nfs -o rw=@xx.yyy.zzz.35/25,root=@xx.yyy.zzz.35/25 -d 'Sxxxxxx Event Logs' /space/event
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx
/usr/sbin/share -F nfs -o rw -d "" /space/sxxxxxx

While I don't think it has anything to do with the problem, I'm thinking those last 9 duplicated lines can be deleted.

Even though the nfs server never stays online, the mounts to this server are created.
 

8 More Discussions You Might Find Interesting

1. Solaris

Solaris 8 - FTP server -enable

Hi, I have turn off the FTP service and rebooted the server . (edit /etc/inetd.conf and /etc/inet/services) Now , how can I enable back the FTP without rebooting the server . Thanks (1 Reply)
Discussion started by: civic2005
1 Replies

2. Solaris

NFS write failed for server.....error 11 (RPC: Server can't decode arguments)

Hello! I have a Linux nfs server (called server100 below) with a export nfs. My problem is that the Solaris client (called client100 below) doesn't seems to like it. In the Solaris syslog I got following messages (and after a while the solaris client behave liked its hanged/to buzy). Also see... (3 Replies)
Discussion started by: sap4ever
3 Replies

3. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

4. Ubuntu

[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!!

Gurus, I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup. * open a shell session to NFS server... (2 Replies)
Discussion started by: alan
2 Replies

5. SCO

enable ssh server on SCO 5.0.6

hi How to enable ssh server on SCO unix 5.0.6 and allow remote root login? (2 Replies)
Discussion started by: ccc
2 Replies

6. AIX

Enable large filesize option in NFS mount in AIX 4.3

Hi All, I have a NFS mount filesystem, however it is not supporting a creation of filesize greater than 2 GB in it, how can i enable the option (bf = true) in it. The AIX version is 4.3.2 Thanks in Advance!! (1 Reply)
Discussion started by: mad_man12
1 Replies

7. UNIX for Dummies Questions & Answers

enable all operations to use a proxy server , redhat server

Hi, i would like to enable all operations/connections to use a proxy server in a redhat server , witch file should i config to get this for all conections .... Thanks (0 Replies)
Discussion started by: prpkrk
0 Replies

8. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies
dfstab(4)							   File Formats 							 dfstab(4)

NAME
dfstab - file containing commands for sharing resources across a network DESCRIPTION
dfstab resides in directory /etc/dfs and contains commands for sharing resources across a network. dfstab gives a system administrator a uniform method of controlling the automatic sharing of local resources. Each line of the dfstab file consists of a share(1M) command. The dfstab file can be read by the shell to share all resources. System administrators can also prepare their own shell scripts to execute particular lines from dfstab. The contents of dfstab put into effect when the command shown below is run. See svcadm(1M). /usr/sbin/svcadm enable network/nfs/server SEE ALSO
share(1M), shareall(1M), sharemgr(1M), svcadm(1M) NOTES
Do not modify this file directly. This file is reconstructed and only maintained for backwards compatibility. Configuration lines could be lost. Use the sharemgr(1M) command for all share management. SunOS 5.11 15 Aug 2008 dfstab(4)
All times are GMT -4. The time now is 09:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy