0

I have two Ubuntu web servers using a shared Hyper-v vhdx file in a Hyper-V cluster as a data drive because the Nimble SAN does not support NFS Connections.

However, while both servers are able to access the VHDX, it would seem that only one server has data visible.

Are there any suggestions on how I might resolve this particular issue?

2

Setup a third machine that acts as a NFS server (or use one of the servers as NFS server). Normal Linux file systems can not be mounted from multiple machines.

  • Are the any special share permissions that need to be addressed to ensure that each server sees the same permissions set? – Chris Whitaker Feb 25 at 18:28
1

You're really asking a question about the configuration of Ubuntu. Shared VHDX just presents a disk to both VMs, one which support the SCSI-3 "Persistent Reservations" feature. In general, you need to use a cluster file system in a situation like this.

When I google this, the first one that comes up is OCFS2. I also see Lustre, Gluster and Ceph in the results. I'm sure there are others. Which one you should use depends entirely on your needs.

  • Thank you, I will take a look at that. For now the easiest thing to do was just build another ubuntu box and configure it as an NFS Share. Turns out that may be the best option for us as we have already used it for other items. – Chris Whitaker Mar 7 at 19:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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