Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I may be confusing myself here so I'm asking for some clarification.

I have a large XenServer install that is currently using lvmoiscsi. I am looking for ways to reduce actual disk space usage. I am running ONLY linux VM's in this environment.

The sparse provisioning and chaining that the VHD format supports seems like the ticket but it seems to only support Windows bases VM's using NFS SR's or the the supported StorageLink SR's.

So, can I have linux VM's using sparse provisioning and chaining? Everything I keep reading and what I understand says no. I'm willing to re-work my storage setup if necessary. I currently am using Nexenta filer to serve up my iSCSI LUN's but it can serve most anything out there.

Someone please help me clear this up!!!

share|improve this question
    
I may have answered myself. I just setup a small NFS partition, copied a VM over to it (using XenCenter) and now I have a .vhd file I can see if I navigate to the share. Also, in the SR list of disks it says "Size 25GB (47% on disk)" I'd love for anyone to comment but I think that solves it. –  jemmille Jan 13 '10 at 19:52

2 Answers 2

up vote 1 down vote accepted

This is possible and is actually far easier than I thought it was.

Get your NFS server up and running, use XenCenter (or the xe CLI) to add a new SR to the pool with type of "NSF VHD" and create all your VM's as normal. They will be stored in .vhd format on the NFS server. You can then use your first VM as the parent in a chain of VM's. There are some limitations to the length of the chain but you can read about those in the XenServer docs if you want.

One extremely good piece of advice I picked up during my research was, "DO NOT, EVER, expand your vdi if you have snapshots." If you do you'll have a great time trying to put things back together again.

share|improve this answer

"You can then use your first VM as the parent in a chain of VM's"

How do you do that? I can not find any doc on it?

share|improve this answer

Your Answer

 
discard

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.