The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mac OS X 10.5: Disk Utility's Repair Disk Permissions reports issues with SUID files iBot OS X Support RSS 0 03-19-2009 10:50 PM
SUN Cluster Vs Veritas Cluster RAA High Performance Computing 4 11-13-2008 10:51 PM
Resolve startup issues and perform disk maintenance with Disk Utility and fsck iBot OS X Support RSS 0 11-07-2008 09:50 PM
Building a Solaris Cluster Express cluster in a VirtualBox on OpenSolaris iBot High Performance Computing 0 09-09-2008 10:55 AM
adding new disk to cluster ppass SUN Solaris 2 07-17-2006 06:30 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-27-2009
bluescreen bluescreen is offline
Registered User
  
 

Join Date: Jun 2008
Location: 0x486F6D65
Posts: 39
SAN Disk w/o Cluster

Scenario:

I've got 2 M5000's connected to a 9985 SAN storage array. I have configured the SAN disks with stmsboot, format and newfs. I can access the same SAN space from both systems. I have created files from both systems on the SAN space.

Question:

Why can't I see the file created with "SystemA" from "SystemB"?

SystemA:
Code:
root@SystemA# df -h
Filesystem             size   used  avail capacity  Mounted on
...
/dev/dsk/c6t60060E80144380000001438000000342d0s3
                        15G    15M    15G     1%    /c3d10
root@SystemA# ls -lsa /c3d10
total 204996
   2 drwxr-xr-x   3 oracle   dba          512 Apr 24 10:29 .
   2 drwxr-xr-x  34 root     root        1024 Apr 24 14:32 ..
41008 -rw------T   1 root     root     20971520 Apr 24 13:15 20mtest
61488 -rw------T   1 root     root     31457280 Apr 24 13:15 30mtest
102480 -rw------T   1 root     root     52428800 Apr 24 14:42 50mtest
  16 drwx------   2 root     root        8192 Apr 14 15:26 lost+found
root@SystemA# mkfile 7m /c3d10/7mtest
root@SystemA# ls -lsa /c3d10
total 219348
   2 drwxr-xr-x   3 oracle   dba          512 Apr 27 09:48 .
   2 drwxr-xr-x  34 root     root        1024 Apr 27 09:47 ..
41008 -rw------T   1 root     root     20971520 Apr 24 13:15 20mtest
61488 -rw------T   1 root     root     31457280 Apr 24 13:15 30mtest
102480 -rw------T   1 root     root     52428800 Apr 24 14:42 50mtest
14352 -rw------T   1 root     root     7340032 Apr 27 09:48 7mtest
  16 drwx------   2 root     root        8192 Apr 14 15:26 lost+found
SystemB:
Code:
root@SystemB# df -h
Filesystem             size   used  avail capacity  Mounted on
...
/dev/dsk/c6t60060E80144380000001438000000342d0s3
                        15G    65M    15G     1%    /c3d10
root@SystemB# ls -lsa /c3d10
total 204996
   2 drwxr-xr-x   3 oracle   dba          512 Apr 24 14:42 .
   2 drwxr-xr-x  34 root     root        1024 Apr 24 14:32 ..
41008 -rw------T   1 root     root     20971520 Apr 24 13:15 20mtest
61488 -rw------T   1 root     root     31457280 Apr 24 13:15 30mtest
102480 -rw------T   1 root     root     52428800 Apr 24 14:42 50mtest
  16 drwx------   2 root     root        8192 Apr 14 15:26 lost+found

Any help is greatly appreciated!
  #2 (permalink)  
Old 04-28-2009
cjcox cjcox is offline
Registered User
  
 

Join Date: May 2005
Posts: 64
If two systems view the SAME filesystem (even if one is read only), you have to run a cluster aware filesystem.

In your case (I believe) shared drive w/o cluster isn't really possible. Cluster the boxes (at least filesystem wise) and run a cluster aware filesystem. Most of the filesystems supplied by *ix vendors are NOT cluster aware.
  #3 (permalink)  
Old 07-12-2009
punit_j punit_j is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1
Well file systems need not be cluster aware. I can have 2 drives presented to both systems at same time but have only one fs write to that shared disk.
  #4 (permalink)  
Old 07-13-2009
cjcox cjcox is offline
Registered User
  
 

Join Date: May 2005
Posts: 64
You CAN have both be able to have ACCESS to the drive. However, it is NOT true that one can be read+write and the other read only. The only way this is safe is if one system is NOT using (and if possible, seeing) the drive at the same time. Why? Because manipulations to the drive can happen from the system that has read+write including modifications to meta data areas... and if that information is not communicated somehow to the other host, then even if it's supposedly "read only", you'll be messing up the internal representation on that host and possible cause issues, perhaps major issues.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0