Having problems starting up NFS on an OpenSolaris box


 
Thread Tools Search this Thread
Operating Systems Solaris Having problems starting up NFS on an OpenSolaris box
# 1  
Old 12-18-2008
Having problems starting up NFS on an OpenSolaris box

I am trying to set up an OpenSolaris box to be an NFS server.

The OpenSolaris version is 2008.11.

The kernel (uname -a output) is:
SunOS minime-28 5.11 snv_101b i86pc i386 i86pc

It is running ZFS but I know nothing about ZFS.

I have an entry in the /etc/dfs/dfstab file:
share -F nfs -o rw /vol1

I added an entry in the /etc/exportfs file:
/vol1 *(rw,sync,no_root_squash)

I tried the svcadm command:
svcadm enable nfs/server

A ps -ef | grep nfs command shows nothing

the svcs nfs/server command shows:
STATE STIME FMRI
offline 14:43:32 svc:/network/nfs/server:default



Am I missing a step here? I'm not familiar with ZFS or Solaris so I'm not sure what to do next.

Thanx.


# 2  
Old 12-18-2008
I found the problem

I was trying to add an entry to the /etc/dfs/dfstab and the /etc/dfs/sharetab by editing the file. Instead, I had to use the "share" command to do so.

After I invoked this command, the nfsd daemon started up:

share -F nfs -o rw /vol1
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

cannot ssh (use NFS) on RHEL box, but can mount external & ssh out of RHEL box

Ok, Im trying to get NFS working on my RHEL 5 box, apparently i can use the box as a client, but not as a server. If it helps i cant ssh into the box (server), but as a client ssh works fine. Ive configured server: /etc/hosts.allow: all : all all :all@all setup my /etc/exports file... (4 Replies)
Discussion started by: drs.grid
4 Replies

2. Solaris

Starting nfs/server

Hi, I do not get nfs/server started. bash-3.00# svcadm enable nfs/server bash-3.00# svcs -a |grep nfs disabled 21:44:36 svc:/network/nfs/cbd:default disabled 21:44:36 svc:/network/nfs/client:default disabled 21:44:51 svc:/network/nfs/rquota:default disabled ... (4 Replies)
Discussion started by: jld
4 Replies

3. Solaris

nfs/server not starting

Hi Gurus Sorry to ask this question again but left with no option I have entry in /etc/dfs/dfstab for resources which i am welling to shaer over the netwrok. Idelay once i execute shaerall it should enabel the nfs/server servcie in Solaris 10, however it was not stared and later i tried... (2 Replies)
Discussion started by: kumarmani
2 Replies

4. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

5. Web Development

Problems starting Apache 2.0.54

Hi, I just installed Apache 2.0.54 and when I try and start httpd I get mohit@mohit-desktop:/sw/pkg/apache/bin$ ./httpd -k start httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (13): make_sock: could not bind to address :80 no listening... (1 Reply)
Discussion started by: mojoman
1 Replies

6. Solaris

Problems installing OpenSolaris on _X86 platform

Hey Guys. I am trying to install OpenSolaris 5.11 on _X86 platform in a BladeCenter H chasis of IBM. Afetr Booting with the CDROM the install process send a PROBES FOR DEVICES NODES messages and goes to the follow state..... Please see the attach. If someone have installed... (0 Replies)
Discussion started by: aggadtech08
0 Replies

7. UNIX for Dummies Questions & Answers

Problems starting X windows

After i login i try to start X windows by using the "startx" command. All it does is return "startx: Command not found". Any help would be great.:), By the way I'm using freeBSD. (1 Reply)
Discussion started by: spacebizall
1 Replies

8. Solaris

Starting NFS server Solaris 10

Whenever I start nfs/server using "svcadm -v enable" it appears to start up. But when I look for daemons such as nfsd I don't see any. So I checked the manifest logs for nfs/server and it's telling me the NFS service gets enabled and then immediately disabled with a stop 102. All the... (2 Replies)
Discussion started by: bdsffl
2 Replies

9. Solaris

Problems starting apache 1.3 with mysql

I've been working on a project to replace one of the my group's primary NIS servers. It also runs mysql and apache, as it is the host for the our team's hardware tracking database and website. Its running apache 1.3, and for some odd reason, I can't get apache to start on system boot. The... (1 Reply)
Discussion started by: godspunk32
1 Replies

10. Solaris

Stopping NFS from starting at bootup - Solaris 10

Does anyone know how I stop nfs/lockd and all of the associated services from starting at bootup? There's nothing in the /etc/rc*.d files to rename. That was my first idea. I also tried renaming /etc/init.d/nfs.server to something else, but that did not work either. Any ideas would be greatly... (2 Replies)
Discussion started by: amheck
2 Replies
Login or Register to Ask a Question