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
share(1M)																 share(1M)

NAME
share - make local resource available for mounting by remote systems SYNOPSIS
share [-F FSType] [-o specific_options] [-d description] [pathname] The share command exports, or makes a resource available for mounting, through a remote file system of type FSType. If the option -F FSType is omitted, the first file system type listed in /etc/dfs/fstypes is used as default. For a description of NFS specific options, see share_nfs(1M). pathname is the pathname of the directory to be shared. When invoked with no arguments, share displays all shared file sys- tems. -F FSType Specify the filesystem type. -o specific_options The specific_options are used to control access of the shared resource. (See share_nfs(1M) for the NFS specific options.) They may be any of the following: rw pathname is shared read/write to all clients. This is also the default behavior. rw=client[:client]... pathname is shared read/write only to the listed clients. No other systems can access pathname. ro pathname is shared read-only to all clients. ro=client[:client]... pathname is shared read-only only to the listed clients. No other systems can access pathname. Separate multiple options with commas. Separate multiple operands for an option with colons. See . -d description The -d flag may be used to provide a description of the resource being shared. Example 1: Sharing a Read-Only Filesystem This line will share the /disk file system read-only at boot time. share -F nfs -o ro /disk Example 2: Invoking Multiple Options The following command shares the filesystem /export/manuals, with members of the netgroup having read-only access and users on the speci- fied host having read-write access. share -F nfs -o ro=netgroup_name,rw=host1:host2:host3 /export/manuals /etc/dfs/dfstab list of share commands to be executed at boot time /etc/dfs/fstypes list of file system types, NFS by default /etc/dfs/sharetab system record of shared file systems See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ mountd(1M), nfsd(1M), share_nfs(1M), shareall(1M), unshare(1M), attributes(5) Export (old terminology): file system sharing used to be called exporting on SunOS 4.x, so the share command used to be invoked as exportfs(1B) or /usr/sbin/exportfs. If share commands are invoked multiple times on the same filesystem, the last share invocation supersedes the previous--the options set by the last share command replace the old options. For example, if read-write permission was given to usera on /somefs, then to give read- write permission also to userb on /somefs: example% share -F nfs -o rw=usera:userb /somefs This behavior is not limited to sharing the root filesystem, but applies to all filesystems. 9 Dec 2004 share(1M)
All times are GMT -4. The time now is 10:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy