01-05-2006
Updated /etc/dfs/dfstab
Solaris 8.
So i updated dfstab and added computer2.acme.com i.e:
share -F nfs rw=computer1.acme.com,computer2.acme.com /export/home
how do I get the daemon to recognize the change, without kicking computer1.acme.com off?
kill -HUP
or
/etc/init.d/nfsd stop
/etc/init.d/nfsd start
or
just let it be
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello All,
I was wondering is there something in Unix/Linux that is similar to Distributed File System in Windows. This will help me keep our file servers highly available if one goes down.
Thanks,
-n (1 Reply)
Discussion started by: Insomniac
1 Replies
2. Solaris
Hello All,
I have all of a sudden developed issues with booting up one of my Solaris Servers. Upon a routine reboot, I was faced with the following errors:
Feb 1 07:56:44 sco1-au-tci scsi: WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd0):
Feb 1 07:56:44 sco1-au-tci Error for Command: read(10)... (9 Replies)
Discussion started by: ranjtech
9 Replies
3. Programming
hi all, i'm a student and managing lab at my insti. there in one application in which log file has to be maintaine the number of bytes transferred and received. but after certain entries these two attributes stop getting updated and holds same values for rest of the session. This happens one time... (4 Replies)
Discussion started by: KornFire
4 Replies
4. Shell Programming and Scripting
Put this together from somewhere else on the forums, just modified it and added the loop.
#!/bin/ksh
localFile=$1
remoteFile=$2
#source FTP parameters
. .ftp_put.cfg
mylog=ftp_session.log
echo "$(date "+%H:%M:%S") - Attempt to FTP $1 to $2" > $mylog
machine="server1 server2... (5 Replies)
Discussion started by: cbo0485
5 Replies
5. Debian
Hi,
I recently did slight modifications to the basename utility from the coreutils package.
I downloaded the source by typing "apt-get source coreutils", added a new option to the program, updated the respective manpage, build and installed it using "dpkg-buildpackage -uc -b && dpkg -i... (0 Replies)
Discussion started by: Gunther
0 Replies
6. Solaris
Hello,
I am in the middle of a security audit (Soalris 10) and have been given the following directives regarding my dfstab file:
The SA will ensure the NFS server is configured to deny client access requests that do not include a userid.
The SA will ensure access to exported filesystems... (0 Replies)
Discussion started by: stringman
0 Replies
7. Solaris
I am using a Solaris 5.10 with patch level 10/08.
Here /etc/dfs/sharetab is listed as a file system with "df -k" as below:
#df -k /etc/dfs/sharetab
Filesystem kbytes used avail capacity Mounted on
sharefs 0 0 0 0% /etc/dfs/sharetab
What is "sharefs"? This is not present in my other... (6 Replies)
Discussion started by: varunla
6 Replies
8. Solaris
Help with parsing regex in tripwire:
the rule is" This test verifies that exported file systems do not have the "root=<host>" option specified."
regex that does not work is :
^.*-o+(?=root=\S+|\S+,root=\S+).*
the dfstab looks like this :
# cat /etc/dfs/dfstab
# Place... (1 Reply)
Discussion started by: bathija12
1 Replies
9. Solaris
Help with parsing regex in tripwire:
the rule is" This test verifies that all exported file systems found in /etc/exports specify a fully qualified domain name containing "thecss.com" or a NIS netgroup.."
regex that does not work is :
... (1 Reply)
Discussion started by: bathija12
1 Replies
10. News, Links, Events and Announcements
As you all have heard, the Hewlett-Packard company has split into
HP Inc (hp.com, consumer market)
HP Enterprise (hpe.com, server market)
Consequently many Web links have changed.
Finally I have updated the HP-UX links at the top of the HP-UX subforum :) (0 Replies)
Discussion started by: MadeInGermany
0 Replies
LEARN ABOUT SUNOS
shareall
shareall(1M) System Administration Commands shareall(1M)
NAME
shareall, unshareall - share, unshare multiple resources
SYNOPSIS
shareall [ -F FSType [ ,FSType...]] [-| file]
unshareall [ -F FSType [ ,FSType...]]
DESCRIPTION
When used with no arguments, shareall shares all resources from file, which contains a list of share command lines. If the operand is a
hyphen (-), then the share command lines are obtained from the standard input. Otherwise, if neither a file nor a hyphen is specified,
then the file /etc/dfs/dfstab is used as the default.
Resources may be shared by specific file system types by specifying the file systems in a comma-separated list as an argument to -F.
unshareall unshares all currently shared resources. Without a -F flag, it unshares resources for all distributed file system types.
OPTIONS
-F FSType Specify file system type. Defaults to the first entry in /etc/dfs/fstypes.
FILES
/etc/dfs/dfstab
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
share(1M), unshare(1M), attributes(5)
SunOS 5.10 6 Nov 2000 shareall(1M)