4

This question already has an answer here:

This question is two fold.

Part 1:

Is it a bad idea to virtualize a storage solution and run VMDKs off of that as opposed to the original VMFS datastore.

Essentially lets assume I have 2 TB worth of RAID'd DAS. Currently I have a few VMDKs on the DAS VMSFS. What I want to do is remove the VMDKs off the VMFS, allocate a good 1.8-1.9TB for a FreeNAS installation (a big FreeNAS VMDK), and run the other VMDKs off of that via NFS.

I don't have the hardware for a NAS but have a bunch of different shares. This would simplify my management. I understand there is some overhead with another layer of storage abstraction (A virtual ZFS file system over NFS backed by RAID'd DAS formatted as VMFS) but I don't see how it could be too bad. The NAS also has more features than a simple VMFS datastore on DAS.

Part 2:

VMWare frowns on long running snapshots, but what about ZFS snapshots? Is it safe\recomended to run my guest VMDKs (Windows clients, random servers) on ZFS snapshots? This will give me the ability to quickly rollback VMs to earlier states without the implications of long running snapshots directly on the VMFS.

marked as duplicate by ewwhite vmware-esxi Nov 25 '14 at 23:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Your name says it all. There is risk inherent in counting on anything that is set up in such a way that the storage that VMWare counts on runs inside a VM in that same hypervisor. Unless I'm misunderstanding Part 1. – Craig Nov 25 '14 at 15:24
  • You are understanding part1 right. I essentially want to run VMDKs (guests) inside of another VMDK (the FreeNAS install). I've read of virtualized storage before, just on a different physical box. I've also read about VMDKs over NFS on a NAS. In both of these cases you still have the VMDks depending on another solution – VM_Storage_Inception Nov 25 '14 at 15:27
  • Right, the part that sets them apart is being on a different physical box, at least in that way you can control the failure to some degree. – Craig Nov 25 '14 at 15:32
  • I see your point. This is for a lab and I am on a budget but here's what I see. If the DAS dies I am screwed anyway whether it be FreeNAS or directly on the VMFS. If the FreeNAS install dies I would be screwed anyway whether this be a separate box or the same box. The points of failure are still the same, I just have less redundancy. – VM_Storage_Inception Nov 25 '14 at 15:36
  • Ahh, thanks for the clarification. Lab setups, of course, are exempt from most of my concerns. – Craig Nov 25 '14 at 15:43
0

For a lab environment there's nothing wrong with Part 1, other than the time spent rebuilding when it folds in on itself. Not saying it's will happen, just that it can happen (Murphy's Law).

As to Part 2, I'd have to defer to VMWare.

  • What do you mean defer to VMWare? As in use the DAS? My theory about running VMs over a NAS (Virtualized or physical) is to take advantage of ZFS and it's snapshots. I could always snapshot the VMDKs but VMWare frowns on that. I see blogs where people snapshot their NAS just fine and no one bats an eye. – VM_Storage_Inception Nov 25 '14 at 15:58
  • As to the use of the ZFS snapshots. Again, it's a lab environment, so the risk is minimal. – Craig Nov 25 '14 at 16:13
  • but what about production environments. Would you run VMs on ZFS snapshots assuming a dedicated FreeNAS (or other NAS) box? – VM_Storage_Inception Nov 25 '14 at 16:48
  • Well, this is getting into pure opinion, but having worked on production environments from as small as one server to thousands of servers, I'd never want to depend on the ZFS snapshots to work, not if users were depending on those systems services to be online. ZFS is not a panacea. There are a lot of things that seem elegant or even fun that are just a bad idea in a production environment. – Craig Nov 25 '14 at 16:53
  • 1
    ZFS is well established, several leading mainstream san products are based on it. That doesn't mean that a haphazard installation of it will be fine. Also ZFS snapshots are not a copy, you need to be doing replication too. – JamesRyan Nov 25 '14 at 17:03
0

I don't know about part 2 but for part 1:

Actually, both VMware and HP offer products to do this: VMware VSA and HP VSA. (There might be others offering similar solutions but those are the two I know of.) So it's probably not a generally bad idea. However, I don't know if FreeNAS is an officially supported storage solution so you might lack support when there are problems with it. Without support I wouldn't run it in production. But since you want to deploy it in a lab environment you have to decide for yourself if you can do without support.

There might (just might) be a certain impact as described here. (It's about a flash virtualization platform but the basics of kernel module versus virtual appliance should apply to virtual storage appliances, too.) On the other hand, it's possible you won't experience any performance issues.

  • I'm not a big believer in support anyway ;). But ya, that's what I thought VSAN was. Just a Virtual SAN (big VMDK) where you can store things, including other VMs (little VMDKs) – VM_Storage_Inception Nov 25 '14 at 21:10
  • @VM_Storage_Inception I'm not a big believer in support either, but sometimes it is helpful; especially in a production environment. Btw: I wasn't talking about VSAN. That's something completely different because it's not a virtual storage appliance, it's built into vSphere: cormachogan.com/2013/09/03/… It solves (more or less) the same problems as a virtual storage appliance, though. – Mario Lenz Nov 26 '14 at 19:43

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