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
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
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.
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.