Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am able to mount a iSCSI SAN drive onto multiple RHEL Servers, but when I make changes to the files on SAN, they are not evident on the other servers sharing the same drive. Am I missing something?

Looking for replies! Cheers, Anshuman

share|improve this question

Unless you have a filesystem installed on that iSCSI LUN that is designed to handle multi-mounts like you have there, this is entirely expected. iSCSI is a block-sharing protocol, not a file-sharing protocol, and it's up to the filesystem to handle things like file-locking, maintaining a coherent directory and file index, and flushed writes.

OCFS2 is one such filesystem, as is RedHat's GFS2. Something like ext4, btrfs, or xfs are not.

share|improve this answer
Thanks! Can we create a gfs2 file system just like we do for ext4 while discovering the iSCSI for the first time ie. using mkfs command?? – Anshuman Apr 6 '12 at 18:43
@Anshuman It's much more complicated then that. GFS2 (the docs are linked) can only really be used inside of a RedHat cluster, and leverages clustered-LVM for volume management. It's more of a stack than a filesystem. – sysadmin1138 Apr 6 '12 at 18:47
However OCFS2 is really simple to set up and run (at least on Debian, but I suppose it's about the same for RH). – wazoox Apr 6 '12 at 20:52

iscsi itself does not support concurrent access to the same lun without causing corruption, unless you have a clustering filesystem. are you sure that your setup is even supported by freenas? since iscsi lun is a block device like a hard drive so you cannot realy have it in multiple client servers. nfs allows shared access, however.

share|improve this answer
Thanks buddy. I see your point! – Anshuman Apr 6 '12 at 18:44
FreeNAS did allow me to share the drive among many rhel servers. But I guess they are not in con-current mode. Once U re-start each server, can U see the modified drive contents! – Anshuman Apr 6 '12 at 18:46
without something like a clustering filesystem, the behavior will be undefined and unsafe. even though it is allowed by freenas, it may not work as you would like it to. – johnshen64 Apr 6 '12 at 18:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.