On 07/18/12 03:52, Edward Ned Harvey wrote: >> From: [email protected] [mailto:[email protected]] >> On Behalf Of Andrew Hume >> >> i have two linux servers each of which has the same piece of SAN >> attache dto it as a LUN. that is, svra:/dev/sdbd is the same volume >> (or more exactly WWN) as svrb:/dev/sdaf. >> >> what i want to do is write something on svra to /dev/sdbd >> and then be able to read it on svrb from /dev/sdaf. >> in principle this should work, but on Linux the buffer >> cache always inserts doubt. how do i reliably probe >> /dev/sdaf for new content? there is no filesystem involved; >> i am just talking about raw disk blocks. >> > I see other people have already answered this, regarding no filesystem. But > you might also consider using a clustered filesystem. The whole point of > such a thing is to do precisely this... With a filesystem. I believe the > "standard" option built-into most linuxes nowadays would be gfs. (Not to be > confused with google GFS.) > >
Since GFS is open source, you could also look to see how it does buffer/cache management and invalidation and incorporate those techniques in your project (assuming licensing works out). Skylar _______________________________________________ Tech mailing list [email protected] https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
