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
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Solaris
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
3. Solaris
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
4. Solaris
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
5. Solaris
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
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
7. Solaris
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
8. Solaris
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
9. AIX
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
LEARN ABOUT DEBIAN
mount.nfs
MOUNT.NFS(8) System Manager's Manual MOUNT.NFS(8)
NAME
mount.nfs, mount.nfs4 - mount a Network File System
SYNOPSIS
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options]
DESCRIPTION
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality.
mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone
command with limited functionality.
remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be
mounted.
Under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. Under earlier Linux kernel versions,
mount.nfs4 must be used for mounting NFSv4 file systems while mount.nfs must be used for NFSv3 and v2.
OPTIONS
-r Mount file system readonly.
-v Be verbose.
-V Print version.
-w Mount file system read-write.
-f Fake mount. Don't actually call the mount system call.
-n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making
an entry.
-s Tolerate sloppy mount options rather than fail.
-h Print help message.
nfsoptions
Refer to nfs(5) or mount(8) manual pages.
NOTE
For further information please refer nfs(5) and mount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO
nfs(5), mount(8),
AUTHOR
Amit Gud <agud@redhat.com>
5 Jun 2006 MOUNT.NFS(8)