Visit Our UNIX and Linux User Community


nfs/server not starting


 
Thread Tools Search this Thread
Operating Systems Solaris nfs/server not starting
# 1  
Old 09-27-2009
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 starting it with
Code:
svcadm -v enabel -r -t nfs/server

but its again getting disbaled in a moment.

My /etc/dfs/dfstab entery is like below

Code:
share -F nfs -d /flararch

Where am i going wrong? Please help

Thanks
# 2  
Old 09-27-2009
1. (optional) mount an extra disk on the machine that will be the NFS server.
2. enable NFS sever by running the following:
svcadm -v enable -r network/nfs/server

3. Run the following command to share via NFS
share -F nfs -o rw /flararch
Note: The above share command will not persist over reboots. To persist over reboots, add an entry to /etc/dfs/dfstab

share -F nfs -o rw /flararch

4. Run the following command to mount from the client side:
mount -F nfs server:/flararch /mount_point
Note: The above mount command will not persist over reboots. To persist over reboots, add the following line in /etc/vfstab:

server:/flararch - /mount_point nfs - yes rw,soft
# 3  
Old 09-27-2009
Thanks incredible

My dfstab entry was wrong

Previous Thread | Next Thread
Test Your Knowledge in Computers #319
Difficulty: Medium
The open source program Redis is a relational database server.
True or False?

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. Solaris

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... (1 Reply)
Discussion started by: sqa777
1 Replies

5. 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

6. 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

7. 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

8. Solaris

x server starting problem

i have installed solaris 10 on PIII i Ghz cpu, whole installation carried out in GUI mode but after installation it is unable to start GUI mode. Error is : "X server can not be started on display 0" screed flickers twice and the CLI login prompt appears (1 Reply)
Discussion started by: ajays
1 Replies

9. UNIX for Dummies Questions & Answers

starting a server

i am currently am planning to start a webserver to host a community of webpages, but i need help getting started? anyone have any sites or advice for me? thanks! (1 Reply)
Discussion started by: bowlofrice
1 Replies

Featured Tech Videos