All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Sharing encrypted block devices, for GFS2 over iSCSI?
@ 2010-04-23 21:20 Ryan Lynch
  2010-04-24 15:55 ` Arno Wagner
  0 siblings, 1 reply; 8+ messages in thread
From: Ryan Lynch @ 2010-04-23 21:20 UTC (permalink / raw)
  To: dm-crypt

Would it be possible to run a shared-disk, clustered filesystem over a
dm-crypt block device, which in turn runs on a shared iSCSI device?
I'd be interested in knowing if anyone has tried, or has theoretical
knowledge of why it would (not) work.

Multiple Linux machines can simultaneously R/W mount a clustered
filesystem (like GFS/GFS2 or OCFS). Performance can suffer when
multiple hosts write in parallel, but otherwise it works pretty well
(in my limited experience with GFS2). All of the participating hosts
need some kind of shared access directly to the same block device:
I've used iSCSI and DRBD, but I think FC is common, too. Each host
also runs a DLM (distributed lock manager) daemon, which sends and
receives info about which hosts are writing to which inodes, so they
can all keep their caches consistent with the disk. (better
explanation on WP, here:
http://en.wikipedia.org/wiki/Global_File_System#Differences_from_a_local_filesystem)

From my limited understanding of how iSCSI, GFS2 work, and dm-crypt
work, I have no idea how they'll cooperate with each other, though.
I'd like to test it, when I get a chance, but it would be nice to know
a little more, in advance.

Ryan B. Lynch
ryan.b.lynch@gmail.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-04-25 17:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 21:20 [dm-crypt] Sharing encrypted block devices, for GFS2 over iSCSI? Ryan Lynch
2010-04-24 15:55 ` Arno Wagner
2010-04-24 22:41   ` Ryan Lynch
2010-04-25  0:19     ` Arno Wagner
2010-04-25  5:12       ` Ryan Lynch
2010-04-25  9:38         ` Milan Broz
2010-04-25 16:03           ` Arno Wagner
2010-04-25 17:48           ` Ryan Lynch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.