Home > Ask the Storage Technology Experts > Questions & Answers > Why you shouldn't share disk resources in a SAN
Ask The Storage Expert: Questions & Answers
EMAIL THIS

Why you shouldn't share disk resources in a SAN

Christopher Poelker EXPERT RESPONSE FROM: Christopher Poelker

Pose a Question
Other Storage Categories
Meet all Storage Experts
Become an Expert for this site
>
QUESTION POSED ON: 07 October 2004
I have connected the same SCSI disk across two hosts, giving both hosts as exclusive logins. My SCSI disk is detected and visible from both initiators. Now, when I write a file from initiator 1 to the disk, and force a bus reset, initiator 2 can't see the file. Is there any way to force the initiator to reread the disk from the initiator instead of reading from the cache?

>
It is not recommended to share disk resources in a SAN (or a SCSI chain) unless there is some form of intelligent locking mechanism underlying the access to the disks. Usually, a form of clustering technology is used to provide that functionality. Windows-based servers could use MSCS (Microsoft Cluster Server) to provide that intelligence, and Unix-based servers can use solutions like VCS (Veritas Cluster Server) or the integrated clustering technology within the operating system itself (if applicable).

Without this software layer, the problem with what you are trying to accomplish is that operating systems generally do not like multiple writers to a single target without locking, since each OS wants the disk resource as its own. Also, most operating systems utilize a form of file system caching within system memory. You could turn off file system caching on the OS, but if one server happens to change the underlying inode structure of the disks, the other OS sharing that disk may crash.

You have two options for what you are trying to do:

  1. Use a NAS protocol like CIFS and NFS over Ethernet to access the shared "files" on the disk.
  2. If block access is required, implement a clustering solution on your servers.
Chris


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Search for Data Management Tools
TechTarget Storage Media
Storage Magazine View this month\\'s issue and subscribe today.
Storage Decisions Apply online for free conference admission.
SearchStorage.com
HomeNewsMagazineTopicsLearningMultimediaWhite PapersBlogsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts