Skip to contentSkip to conversation

dynamically allocating loopback devices?

DISCUSSION Kip Macy 1 participant 1 message Mar 11, 2005

lore
Share & tools
lore

Kip Macy

author
#0 lore raw

My users' VM disks are all loopback files. Right now they have to run losetup on each of their files before starting their VMs. This means we have to statically allocate loopback devices. And if they want to change the disks used they have to remember to run "losetup -d". Is there any way, without my writing extra glue logic, for a user to say in his config file "these are my loopback files, I don't care what loopback devices they get bound to, just bind them for me and then start my VM"?

Thanks.

-Kip

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click