Sharing a local disk between to solaris machines


 
Thread Tools Search this Thread
Operating Systems Solaris Sharing a local disk between to solaris machines
# 1  
Old 02-19-2012
Sharing a local disk between to solaris machines

Hi,
I recently added a disk on a solaris 9 and I wanted to make it accessible for another machine, using the same name
here is what i did :
On the machine holding the internal disk
in vfstab i added the line
Code:
/dev/dsk/c1t1d0s4       /dev/rdsk/c1t1d0s4      /SHARED2    ufs     2       yes     -

then I went to /etc/dfs/dfstab
Code:
share -F nfs -o rw /SHARED2

then I issued
Code:
/etc/init.d/nfs.server stop
/etc/init.d/nfs.server start

Then I went on the client machine
open the vfstab file and
added (assume Support_Main is the equivalent to host machine from hosts file
Code:
Support_Main:/dev/dsk/c1t1d0s4     Support_Main:/dev/dsk/c1t1d0s4     /SHARED2 nfs 2 yes        -

I succeed to issue the mount command but when I try to issue
cd /SHARED2 on the client machine I get
Code:
ksh: /SHARED2: not a directory

Can it be because on the host machine the disk is mounted ufs and I ask to share it on nfs ?
Can someone tell me what am i missing ?

Thanks
# 2  
Old 02-19-2012
Run dfshares Support_Main on client machine and post output here.
# 3  
Old 02-19-2012
As first check which filesystem are exported on (as mentioned by Bartus above).
Code:
dfshares Support_Main

On the client system should be in /etc/vfstab line containing:
Code:
Support_Main:/SHARED2        -                      /SHARED2        nfs     -       yes     rw,soft

Path should reflect output from dfshares command.

As well /SHARED2 local mountpoint must exist on client system first.

Last edited by brusell; 02-19-2012 at 02:16 PM..
This User Gave Thanks to brusell For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sharing a physical disk with an LDOM

I have a guest LDOM running Solaris 10U11 on a Sun T4-1 host running Solaris 11.4. The host has a disk named bkpool that I'd like to share with the LDOM so both can read and write it. The host is hemlock, the guest is sol10. root@hemlock:~# zpool list NAME SIZE ALLOC FREE CAP DEDUP ... (3 Replies)
Discussion started by: Michele31416
3 Replies

2. UNIX for Beginners Questions & Answers

SAN vs. Local disk.

I am in the market looking to purchase a new E950 server and I am trying to decide between using local SSD drives or SSD based SAN. The application that will be running on this server is read-intensive so I am looking for the most optimal configuration to support this application. There are no... (2 Replies)
Discussion started by: ikx
2 Replies

3. Shell Programming and Scripting

Solaris 9 Home Directory, Two Machines Sharing a NAS

Good Morning, I have 2 Solaris 9 machines sharing a NAS, and need to have users to be able to log in from the 2nd machine and get to all of their files on the NAS that were created on the 1st machine. So far its working ok, but when users log in to the second machine, their user IDs show... (20 Replies)
Discussion started by: Stellaman1977
20 Replies

4. Red Hat

Sharing SAN disk with multiple severs

Hi , I had a requirement to share a san disk between two rhel severs. I am planning to discover the same disk in two rhel nodes and mount it. Is it a feasible solution? and what kind of issues we may encounter mounting same disk in two OS's parallel ? (2 Replies)
Discussion started by: nanduri
2 Replies

5. Solaris

No local disk in format in Solaris

I have Solaris-10 server. During troubleshooting of some storage issue, I removed disk entries from /dev/dsk and /dev/rdsk rm /dev/vx/dmp/* rm /dev/vx/rdmp/* rm /dev/dsk/* rm /dev/rdsk/ And rebooted the box. That recreated device tree for SAN disks, but I do not see c1t0d0s0 and c1t1d0s0... (7 Replies)
Discussion started by: solaris_1977
7 Replies

6. UNIX and Linux Applications

Problems of sharing of disk space in Rock Clusters

Hi Server configuration is Processor : xeon 64 bit Os: centos 5 We are in the process of setting up the Rock Cluster with 5 node.Currently the node are communication with each other however the disk space is not being shared in the cluster We would like to know how to used one disk space... (1 Reply)
Discussion started by: airquality
1 Replies

7. Solaris

Sharing devices (tape drive) to local zone

I have to setup a local zone and need to share the fiber attached tape drive that is connected to the global zone. What is the best way to do this? Will sharing the /dev/rmt directory via lofs work? Any help is appreciated! (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

8. Solaris

sharing a directory between local and global zone

is this the step? add fs set dir=/export set special=/export set type=lofs add options rw end i notice i can't post immediately, moderator needs to moderate. i have 1 more post still haven't appear in the forum..hmm.... (1 Reply)
Discussion started by: binary0011
1 Replies

9. Solaris

installing from local disk

We ordered a DVD for solaris 10 upgrade . However I realized that we have cd rom only and DVD is unreadable . Can i use this DVD , to upgrade the release from local disks. If yes , is there any specific procedure. (5 Replies)
Discussion started by: Hitesh Shah
5 Replies

10. UNIX for Dummies Questions & Answers

Any solaris machines on the NET??

i am running a linux redhat machine here and am interested in learning some deeper more sophisticated comands in solaris. can someone show me some free sites that allows people to telnet into their (solaris) machines to use for practice?? (1 Reply)
Discussion started by: TRUEST
1 Replies
Login or Register to Ask a Question