12-21-2018
It was a spam leadup, a scramble of a post made 12 months ago from a slightly-related topic. User has been banned.
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. AIX
Hello Everyone,
I have a pseries machine running AIX 4.3.3 that has an invalid IP in /etc/hosts. During a boot the system hangs because it's trying to mount an NFS share to this invalid IP.
I've tried to boot the system from a mksysb (not sure if the device was defined as rmt0) and AIX CD... (0 Replies)
Discussion started by: jlslhills
0 Replies
2. Solaris
Hello,
I'm doing a Perl script to parse the dfstab file and find dangerous configurations (rw to everyone, root access, etc). My question is, if I have a share command like this:
share -F nfs -o ro=chrome:copper:zinc,root=chrome /usr/man
it means that the /usr/man is "rw" to everyone... (6 Replies)
Discussion started by: psimoes79
6 Replies
3. Red Hat
I got a problem while creating files on a NFS mounted share in a RHEL box. That is when I create an empty file, this is what appears on the screen
###############################################
E325: ATTENTION
Found a swap file by the name ".test.swp"
owned by: jsmith dated: Tue... (2 Replies)
Discussion started by: rcmrulzz
2 Replies
4. Red Hat
Hi,
I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server.
On the NFS Server, in /etc/dfs/, I added following line to dfstab file.
share -F nfs -o rw /var/share
& then ran the following
svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies
5. Red Hat
Hi,
I have an NFS server, i want to mount that nfs share which is having around 500GB to my client system. But my client system doesnt have any free space, is it possible to mount that nfs share in my client.
Regards,
Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have created a NFS share in Solaris 10 server1 and mounted it on solaris 10 server 2.But I want to change owner of the files from nobody to a particular user in client.
Which command should I use. I have tried the following but it doesn't allow to change permissions in the server2 as... (0 Replies)
Discussion started by: Rossdba
0 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I created a nfs share in the server(Solaris 10) with the following command and also updated the dfstab file
share -F nfs -o rw=server_name2,anon=0 /to_share
And then in the client(solaris 10) added the following command to mount the share
mount -F nfs server_name1:/to_share... (4 Replies)
Discussion started by: Rossdba
4 Replies
8. Red Hat
I am having an issue with getting the proper group settings on NFS-shared directories.
NFS server, NFServe, nfs-shares hundreds of project directories...running Solaris 10 latest patches/updates.
SAS server, SAServe, statistical analysis server running on RedHat 7 with latest kernel/patches/etc.... (14 Replies)
Discussion started by: cjhilinski
14 Replies
9. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
10. AIX
Right, now that I've finally worked out this website, I'll ask my question!
I am having an absolute nightmare with NFS on AIX. I have used it many times, and I know what I'm doing, however I cannot fathom what is going on here. I have 2 LPARs, sitting on the same physical host. They are... (12 Replies)
Discussion started by: tmooredba
12 Replies
share(1M) share(1M)
NAME
share - make local resource available for mounting by remote systems
SYNOPSIS
FSType] specific_options] description] [pathname]
DESCRIPTION
The command exports, or makes a resource available for mounting, through a remote file system of type FSType.
If the option is omitted, the first file system type listed in 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, displays all shared file systems.
Options
recognizes the following options:
Specify the file system type.
The specific_options are used to control access of the shared resource. (See share_nfs(1M) for NFS specific options.) They may be
any of the following:
pathname
is shared read/write to all clients. This is also the default behavior.
Share the
pathname read-mostly if option is not provided. Read-mostly means read-write to those clients specified and read-only for
all other systems. If a option is provided, pathname is shared read/write only to the listed clients. No other systems
can access pathname.
pathname
is shared read-only to all clients.
pathname
is shared read-only only to the listed clients. No other systems can access pathname.
The flag may be used to provide a description of the resource being shared.
WARNINGS
Old terminology (export)
File system sharing used to be called on HP-UX, and was used for exporting file systems. With the new share NFS model, the command
replaces exportfs(1M) or
To support compatiblity with scripts that still invoke the exportfs command using the access= option, the share command will not fail when
the access option is used and the syntax matches the usage of exportfs(1M) from a release of HP-UX that does not support the share(1M) com-
mand. Attempts to use the access option with new share options, (i.e. sec=), may result in the access option begin rejected by the share
command. It is highly recommended that the access option not be used with the share command. Instead, use the ro= and rw= option to achieve
the desired access restrictions. This support of the access= option will be removed in a future release of HP-UX.
If commands are invoked multiple times on the same file system, the last invocation supersedes the previous; the options set by the last
command replace the old options. For example, if read-only permission was previously given to on use the following command to also give
read-only permission to on
This behavior is not limited to sharing the root file system, but applies to all file systems.
EXAMPLES
The following command wll share the file system read-only.
FILES
list of commands to be executed at boot time
list of distributed file system types, NFS by default
system record of shared file systems
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
mountd(1M), nfsd(1M), share_nfs(1M), shareall(1M), unshare(1M), dfstab(4), fstypes(4), sharetab(4).
share(1M)