Discussion Locked

Two machines sharing a SCSI RAID

0 helpful
30 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We have two Windows 2000 machines both connected to a SCSI RAID. The RAID is formated as NTFS.

The problem is that a file saved from one computer to the RAID needs to be seen by the other computer.

Currently a file saved by one computer cannot be seen by the other even though from both computers the drive gives Everyone full control and the test file also gives Everyone full control.

I'm told that about a week ago both computers could see the files.

30 replies

by kinetechs

Hi,
You'd mentioned that you were told a week ago that this setup would work. Can you post the link to that question here? From what you described above, I don't see how Windows 2000 would work correctly like that.

Cheers!
~Sean

by davidag

What I meant was that about a week ago someone else in the office said that both computers were seeing the same files on the RAID drive.
I figure that it can work as long as both computers know the users mentioned in the file permissions.

by rapidad

What you are describing is the beginning of a cluster env. Network load balancig may have been set for these to see the same drive and that may be the problem. also if you are hooking bothe servers to one scsi device with scsi cables, the normal routine is to use "Y" cables with terminators, is this the case??
1. what EXACTLY are the operating systems??
2. are you running load balancing??
3. are you running a cluster env??
4. what network cards do you have (yes it makes a diff)
5. what arethe scsi cards and connectors and terminators??

Let us know and we can help you...........

by davidag

The Data Silo DS570 IDE RAID we are using has two SCSI ports on it that are made to allow two computers to be connected simultaneously. (www.storcase.com) "Y" cables are not used.

1 Both OSes are Windows 2000 Server installed from the CD-ROM
2 Load balancing is not being used
3 A clustering environment is not being used
4 Intel 8254EI and Intel 855x Ethernet adapters are used
5 The connections are as follows:
internal termination - DELL PERC 3/Di RAID Controller - Ultra320 cable - DS570 RAID - Ultra320 cable- Adaptec AIC-7899 Ultra160/m PCI SCSI Card - internal termination

Those are good questions.

by davidag

If I save a file on one computer, then go to the other computer and run check disk on it (properties, tools, check now, automatically fix file system errors, start), then the other computer can see what the first computer saved.
But Check Disk changes the permissions to admin, system: full control - this folder only.

So it is possible to share files, but I need a "hands free" way of doing it.

I vaguely remember seeing an article at Microsoft?s web site, but I haven't found it again yet.

by timwalsh

I fear you are attempting a configuration that isn't possible. I have never seen any SCSI device that gives you the capability to share the device between multiple computers.

Yes, the Data Silo has the capability to connect to multiple SCSI hosts. But in SCSI terminology a "host" refers to a SCSI controller, not a computer. I think the purpose of this is to give you some redundancy should one SCSI controller fail. This would also give you the capability of splitting the drives in the enclosure into multiple arrays. I don't think it is meant to allow you to connect multiple computers to the same array.

To make sure, you need to talk to the StorCase technical support people.

If the servers are connected to a network, all you need to do is share the "disk" that represents the array from the ONE server the array is connected to. Then, all computers that connect to the network can "see" and access the datat on the array.

by davidag

The configuration is possible with the addition of volume management software.

For my situation, using a network share is not acceptable.

Thanks for the answer.

by frobo

Hi,

that what you try ist not possible !
Their is no clustering, thats in fact what you want, on filesystem!! In fact you may see the file from both machines, but in the moment you try to open it, the Filesystem will crash.
I know that Vertiasis working on a Clustering Filesystem, but in the moment their is no such thing.

regards

Frobo

by pokhylchenko

We've had the similar situation some 4 years ago, it was well before Win2000 and distributed RAID controllers, and solution was to change the drive letter (say from G: to I:) and then second machine will see files that first computer wrote. Disgusting thing. Now I propose you to install the most fresh drivers (from web site) of that RAID controller to both stations, and if that won't help, well, go for manufacturer's support.

by davidag

There are no drivers for the RAID: it is built to appear as a single SCSI hard drive.
A manufacturer representative said that he thinks that volume management software is needed.

Did you change the drive letter on both computers or just one. I'm not sure of how you did it.

by davidag

I've called StoreCase Technologies to ask them about this, and the representative said I will be called back when the tech. gets off another line.

by joseph moore

Ok, I also have not heard of this sharing SCSI technology, so I cannot comment on it.
Now, if you had a SAN device with virtual LUNs carved out of it, I believe that you can have a single LUN be seen by multiple Win2K servers. The LUN is just a fixed amount of drive space, and it can be formatted as a drive (say, for example, yo make LUN3 a 4GB drive). You then have the Win2K servers connect to the SAN via fiber channel connections (using a fiber switch from companies like Brocade), and tell each server to connect to LUN3. The servers then see LUN3 as a new disk drive. You then have each server assign its own drive letter to the LUN, but don't format it!
Voila! Multiple servers sharing the same drive space that is on a remote system, and each server sees the drive space as a new local hard disk. Very cool, actually!

But, this is not your situation. I just wanted to explain how it could be possible.

by joseph moore

Ok, now onto an idea for you.
There is a Windows command called SUBST. You can run it from the Command Prompt.
SUBST makes a new drive on a local machine from an existing drive space. It doesn't format or anything like that.
What you can do is map a drive to a shared folder on another system, then run the SUBST command to point to that drive mapping.
SUBST is similar to the NET USE that is used in NT/2K/XP. SUBST is just older (DOS v7), but it is still around in Win2K.
As an example, youcan run SUBST to make a virtual drive that points to a folder on your system you commonly use. Say you keep MP3 files at C:\My Files\My Songs\MP3.
And let's say you really hate navigating that far when you want to play something in Winamp. YOu can use SUBST to just point to the MP3 folder.
For example, you could run:
SUBST X: "C:\My Files\My Songs\MP3"

And now when you add files to the Winamp playlist, you just expand the X: drive, and there are all of your MP3 files, just like if you navigated to C:\My Files\My Songs\MP3.

by joseph moore

So, try this. I take it that only 1 of your Win2K servers can see this SCSI-connected drive space, but the other server can't. Ok.
Share out the root folder on the SCSI drive on the server that can see it. Let's say that on this server that can seethe drive, it is D:\Stuff. Ok. Share out the Stuff folder.

Ok, on the other Win2k server, map a drive to the Stuff folder. Use any drive letter (like X:)

Now run:
SUBST D: X:

That makes a virtual drive D: that points to the X: drive network share, which points to D:\Stuff on the other server.
And now, both servers have D: which is on the SCSI drive.

hope this helps

by davidag

Both servers can see the RAID, it's just that a file written to one is not seen by the other until it runs check disk.

Your suggestion would bypass the SCSI connection and use the network connection to move data instead. This is not an acceptable solution for us. We need to use the SCSI connection to move data from both computers.

Thank you for the suggestion.

by duncan

I don't see how this setup will ever work.

You are working with two differenct File Allocation Tables. When machine #1 writes file it updates it File Allocation Table. Machine #2 File Allocation Table is not updated until you run chkdsk. You will need special software to keep respective File Allocation Tables in sync.

by davidag

Yes, I need additional software. If you have any specific products in mind, please tell me more.

Thanks.

by davidag

The StoreCase representative said that he thought it would work if I would get volume management software.
He suggested
ATTO Accelware at attotech.com and
Kayo at www.sanbolic.com/kayo.htm
Has anyone used them?

by mallardtooxx

YOu need to look into getting a management suite. Veritas is a very good manager. There is also a SAN manufacture that I believe is giving up its management software, they are called Zygotech. The problem is Win2000 is just not able to do what you want in this situation, but you have already figured it out =)

by davidag

Yes, I need additional software. If you have any specific products in mind, please tell me more.

Thanks.

by henrywi

check the gpo to see if its well configured its sounds like files systems on there the user doesn't have the right

by gareth watson

Is there a write cache enabled on the drive? It could be the data has not been written to the disk and running chkdsk flushes the cache making the file appear.

I am not too sure how NTFS or if NTFS uses a File Allocation Table (FAT) if it does it could be possible that this is also being cached. So an update to the FAT on one machine will not reach the disk until the cache (or buffer) is flushed.

This is a little far fetched as the caches should be periodically flushed anyway so we are only talking about a few seconds before the data is actually written to disk.

That said I would still investigate it.

I am a little confused about what you are trying to acheive though. One machine must be the "owner" of the drive. This is how network shares work and how multiple clients can connect to the same share without conflict.

What you are trying to setup is where both machines believe they own/control the disk. We have a number of RAID boxes here all with two SCSI interfaces for hosts so that we can cluster the boxes. When you cluster two machines you specify a that drives (resources) are owned by specific nodes. This allows the cluster service to co-ordinate writes/reads etc.

You are lacking this form of co-ordination. Neither box will be aware of the other and WILL conflict. For example, what if each box tries to create a file in the same location on disk at the same time? Who knows who will win. The result will be a mess of a file (if your lucky, unlucky = no more data).

You could probably get away with this kind of setup if one machine writes files and the other is just reading. In that case we must make sure no data is being cached at all and it is all written to disk straight away. Thiswill degrade performance somewhat.

I hope that helps.

by davidag

The W2k Device Manager says that Write Cache is enabled on the RAID. When I uncheck it and click OK, then go back to check the cache state, it is back on!
This looks like part of the problem.
I once tried manually flushing the cache witha tool from the Resource Kit, but that did not help.

Thanks.

by expertpc

FILE METADATA 101

If you are running Fat or Fat32 it is called a File Allocation Table (FAT). If you are running NTFS it is called a Master File Table (MFT).

These "files" are used to keep track of the locations on your hard drive that nbormalfiles are stored. Any new files are entered here and written to the disk. Any deleted files just have their entry erased from this "file" the actual data is still there but is overwritten when ever that spaced is needed. This is how alot of those dleted file apps work. They actually scan the drive and create their own FAT or MFT "file".

ON TO YOUR QUESTION

Based on what I have told you above, what you are looking to do is not possible under standard Windows - any version. This is because each server or OS has it's own FAT or MFT for that drive. When you update the file on one, the other servers FAT or MFT is not updated as they are not sharing any kind of monitoring app that maintains this info. This is why a number of people have been suggesting a third party storage management or volume management system. I am surprised that this StoreCase Technologies does not provide their own volume manager solution for this. This is the norm as the application is written for the hardware. It doen not tend to be a generic application. In my exoerience it has always been very vendor specific.

An alternative solution would be to schedule a checkdisk followed by an ACL script to run every so often.

If you need help with this script,you can email me.

Personally, I would start looking for a new vendor to provide this solution.

Good luck

by davidag

A scheduled checkdisk would be too inconvienent, but thanks for offering to write a script.

by paulpen

Dear Davidag..

Your tech support is correct...

Win2K systems can share a scsi bus (raid or otherwise) as long as the hardware conforms do SCSI rules. However each system will act independantly on the disks, this behaviour is quite normal and you MUST use some form of volume management software such as Veritas or Cluster Server software to allow shared access and security to the disk.

Other problems with this configuration have to do with the way each system will cache access to the disk that can cause corruption unless properly handled by shared software.

Also note that the "everyone" identifier is different at local and domain level and will look "foreign" to both systems unless both are applied at the domain level.

I hope this helps

by davidag

Yes, now I am on a search for volume management software.

Do you think that the local everyone id should be the same for two machines?

This discussion is closed to new replies.