creating a share file


 
Thread Tools Search this Thread
Operating Systems Solaris creating a share file
# 1  
Old 04-02-2012
creating a share file

Hello Solaris Gurus,

can anyone please explain to me how to create a share file to share across network?

Thanks
# 2  
Old 04-02-2012
Hi,

NFS is the way to share & mount the remote filesystems or directories in solaris. Following link may help you on this -

http://www.oracle.com/technetwork/sy...sp-140792.html

All the best Smilie

Last edited by sunadmin; 04-03-2012 at 06:13 AM.. Reason: Editing the link URL
This User Gave Thanks to sunadmin For This Post:
# 3  
Old 04-05-2012
YES YOU CAN CREATE A SHARE FILE WITH THE HELP OF NFS SERVER.
MACHINE 1 CONFIGURATION:
1-mkdir /shared
2-cd /shared
3-vi sharedfile (and write whatever you want to share)
4-cd
5-share -F nfs -o rw /shared
6-svcadm enable svc:/network/nfs/server
7-showmount -e (your ip address to see the shared foldere.g., 192.168.1.1)
__________________________________________
MACHINE 2 (NFS CLIENT)
1-mkdir /shared2
2-mount -F nfs 192.168.1.1:/shared/ /shared2
3-cd /shared2
4-here you will see your shared file..
__________________________________________
if still have a problem mail me at <email address removed>

Last edited by Scott; 06-14-2012 at 12:00 PM.. Reason: Removed email
This User Gave Thanks to vipinkumarr89 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Creating dated folder name in SMB share

I can't seen to figure this out. Let's say I want to create a folder with the name "August2017". In regular terminal prompt I can type mkdir `date +%B%Y` But when I'm connected to a SMB share (at the smb: prompt), the command doesn't translate properly. A folder gets created but the name is... (4 Replies)
Discussion started by: sdch1000
4 Replies

2. UNIX for Advanced & Expert Users

How to get file from share drive when filename with spaces using samba client?

Hi Team, I am not able to get file name from shared drive when filename have spaces in it. following command i am using. filename="REP00105 - ABC XYZ (SCM)_ 1.TXT" /hfx/opt/samba220/bin/smbclient \\\\${nt_host}\\${nt_share} ${NT_PASSWORD} -U${NT_USERNAME} -c "cd ${nt_directory}; prompt;... (1 Reply)
Discussion started by: Makarand Dodmis
1 Replies

3. Windows & DOS: Issues & Discussions

Script that, if file exists in Samba share, moves file to Unix server

I'm looking to do pretty much what the title says. I want a script that runs, it can run on Unix or Windows, doesn't matter, and searches a Samba shares for a .txt file. If the file exists, the script will move (or possibly copy) the file from the Samba share into a directory on our Unix... (3 Replies)
Discussion started by: twcostello
3 Replies

4. Shell Programming and Scripting

Help with data reformat if share share content

Input data: read1_data1 read1_data1 read2_data1 read3_data1 read4_data1 read4_data1 read4_data1 read5_data1 . . Desired output result: read1_data1 read1_data2 read2_data1 read3_data1 read4_data1 (3 Replies)
Discussion started by: perl_beginner
3 Replies

5. Programming

share file descriptor between childs

#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <fcntl.h> #include <signal.h> #include <unistd.h> #include <string.h> #define BUFF_SIZE 256 #define CHILDS 4 #define DATAFILE "Client_Files.txt" void worker(int n);... (3 Replies)
Discussion started by: dlcpereira
3 Replies

6. UNIX for Dummies Questions & Answers

Watch for File on Windows share using Shell Script

I want to poll a particular file on a Windows shared drive using shell script and copy it to a Unix directory if present. Step wise execution: 1) Poll/watch for a file in the following location on Windows share: (SRC_DIR=\\mum\dharmesh\research\ST_DXR_20080821 to DXR.xls) 2) If present,... (1 Reply)
Discussion started by: dharam_v
1 Replies

7. Shell Programming and Scripting

Watch for File on Windows share using Shell Script

Watch for File on Windows share using Shell Script I want to poll a particular file on a Windows shared drive using shell script and copy it to a Unix directory if present. Step wise execution: 1) Poll/watch for a file in the following location on Windows share:... (1 Reply)
Discussion started by: dharam_v
1 Replies

8. Linux

how i can share the file between unix or linux in windows ??

hello everybody i have one quetion :( about how i can share my file in windows to use it in linux explane i have to opreating system windows xp and linux fedore core and unix ( sun solaris 10 ) and i want to open me file that is storege in windows <<< want to open it in unix or... (4 Replies)
Discussion started by: msn22
4 Replies

9. UNIX for Dummies Questions & Answers

how to share the unix file for other client 's access

Hi , I am new to the unix . And right now I have a unix machine "test" . I want to share a folder in the /opt/example .AND I hope when I use a windows machine to access the unix machine ,ep:start->cmd->\\test,I can see the shared folder "example", what shall I do thanks :) (2 Replies)
Discussion started by: floopw
2 Replies
Login or Register to Ask a Question