Mounting Virtual Drives as Physical Drives in Windows?
Bombcar asks: "Samba 3.0 is an excellent CIFS server, but there are some limitations. For one, you can get a networked mapped drive, but some programs (Oracle, Exchange) refuse to run on a mapped drive, but only on local drives. I know there are some closed source (read: expensive) drivers that allow a SMB share to appear to be a physical disk. Is there any equivalent in the OSS community? What I want to be able to do is mount a share from a Linux server under Windows 2000 and have it appear as if it were a local disk. This will allow many programs that refuse (for what ever reason) to use anything but physical drives to access the network." Might such software be seen as a 'circumvention device' as specified by the DMCA? The submittor mentions that there are companies in this market already, but that doesn't mean that it will remain safe.
That would be a cool hardware device (a ide linked network card)
I'm afraid I can't answer your question, but I have a question of my own (and no I am not trolling).
1) Why run Oracle or Exchange on 2000 stored on a Linux Samba Server? Having a physical drive would be so much better in that losing that disc during a network issue or what not would cripple your e-mail or database server.
2) Why not run Oracle on Linux or Samsung's OpenMail on Linux instead of Oracle/Exchange and not bother with the headaches associated with creating a physical drive from a network map on a different architecture?
3) Is there really a situation where this sort of thing would actually be useful or nessecary?
Can I get an eye poke?
Dog House Forum
One reason that those server programs refuse to run from network drives is locking. Last I read there wasn't near as fine grained locking available from a network drive as from a local disk. Plus the performance seems like it would just be awful. Can you imagine how long a query would take on a 1 gig table that had to do a table scan? Yuck.
In Republican America phones tap you.
IFS (Installable File System) Kit costs about $900; see also http://www.microsoft.com/whdc/ddk/ifskit
There is a GPL'd clone of the header file you need to develop IFS drivers for windows, available here.
NO CARRIER
What you're asking for is a SAN.
I just installed a Network Appliance FAS250 in my server room. It speaks CIFS, NFS, and iSCSI.
By the way, you're wrong... Oracle will run perfectly using CIFS shares (I'm running it now, and have been for the past few months), and NetApp has plenty of documents in their tech library showing all the different ways to use attached storage with Oracle and many other pieces of software.
With respect to speed, it really depends on the network infrastructure. I've got a Cisco GigE switch attaching 6 machines directly to a GigE port on the NetApp Filer. It is literally twice as fast than the directly attached RAID 5 (caching, etc.) arrays that it replaced.
I think that Microsoft Exchange can be installed to a CIFS share, but if not, you should look at iSCSI. My company uses Lotus Notes 4.6.7 (sweet, merciful Christ, please put me out of my misery), and it works great from a CIFS share on the NetApp.
Microsoft has a free iSCSI Initiator for Windows that will mount an iSCSI device just like any other SCSI drive in Windows. You can find several iSCSI targets for linux here.
I have about 50 Mac's on our network (graphics department) that needed to talk with the new filer. Instead of installing a klugy piece of software to make the OS9 Macs talk to the SAN at $150/seat, I installed a linux box using samba to talk to the SAN through CIFS and netatalk (AppleTalk for linux) to re-share out the samba mounts. Becides some quirks (Mac's don't see the linux gateway in the AFP browse list, but can connect directly through IP), it works rather well.
Look at iSCSI, it does exactly what you're looking for.
LOAD "SIG",8,1
LOADING...
READY.
RUN
How about faking out the Win32 API call that tells the application if a drive is local, network, CD/DVD, etc. to return bogus info to the application?
I bought a 80GB drive from Frys. Ximeta has stated that they will have linux drivers for what is apperantly a NBD.
I would love to find drivers that allowed me to communicate with this disk from a gentoo pc that does not require a windows intermetiary.
There is an excellent command-line GNU tool out there called FileDisk, by Bo Branten.
FileDisk is "a virtual disk driver for Windows NT/2000/XP that uses one or more files to emulate physical disks." ("files", meaning disk images)
His homepage at http://www.acc.umu.se/~bosse/ seems to be down at the moment, or maybe I'm just DOS'ing myself.
I'm sure you can find it somewhere out on the 'net, I did only a week ago.
\/\/\/
Subst won't really help here (it still shows as a generic 'network drive'). Its the same issue as trying to run a defrag on a subst drive which is really a subst of a volume mounted as a directory rather than a drive letter.
This is a bad idea. Bad dork. Never use a network file share in place of a physical disk. It's like using a spork to eat soup with, sure it will work but why not just use the spoon for crying out loud?
What you are after is iSCSI. iSCSI standards for Internet SCSI and is a "method of encapsulating SCSI over TCP/IP". iSCSI allows a network share to appear as a local scsi drive to the operating system. So you need a server that supports the iSCSI protocol and a client that support it also.
This site seems to be quite informative on the status of the various Linux projects. Check this out for a server implementation
The Romans didn't find algebra very challenging, because X was always 10
Have you tried Junction? It allows you to link a directory on one drive to another drive and directory. "For example, if the directory D:\SYMLINK specified C:\WINNT\SYSTEM32 as its target, then an application accessing D:\SYMLINK\DRIVERS would in reality be accessing C:\WINNT\SYSTEM32\DRIVERS". I'm pretty sure I've read about people using this to mount network drives on their local drives (and also CDs onto hard disks - which generally confuses installers no end).
Running databases (and both Oracle and Exchange are database applications) on a network mapped drive is a horrendously bad idea.
Database apps rely heavily on the fact that when a write completes locally the data that was written has been committed to the destination disk. If this part of the contract is not upheld, then database corruption can occur. I can't speak for Samba 3.0 (or NT server) but there are downlevel CIFS servers that can't guarantee that a write doesn't complete until after the data has been physically secured to disk.
In addition, network links are notoriously unstable. Transient network events occur that can cause connections to disconnect spontaneously (it doesn't happen often, but it DOES happen). When errors occur on a local file, the file write (or more likely read) fails, and the app can deal with it. When the same errors occur over a network, the file handle used for the database is invalidated.
The reason for this is that since the connection is dropped, the file is closed on the server, and all locks on the file are invalidated).
Once the file is closed on the server there's nothing that prevents another application from coming in and altering the contents of the file and thus making the contents of the file on disk be inconsistant with the contents of the database from Oracle's point-of-view. And as a result, database corruption occurs.
There are mitigation techniques that can be used in the network filesystem on the client side to attempt to auto-reopen the file, but to my knowledge the windows client doesn't do them (because the potential for getting it wrong outweighs the benefits of auto-reopening the files).
Needless to say, neither Oracle or Exchange deals very well with their database files being summarily closed out from under them (they puke royally actually). Which means that a transient network event (the single router between the Exchange Server and the file server failing) will cause your email database to be lost.
Not a pretty picture. There's a REALLY good reason that both Oracle and Exchange server refuse to allow their files to be opened on networked drives. Believe it or not the guys that wrote the database apps really do know what they're doing.