I have been using linux software RAID block devices as my files for my UML hosts. Instead of using
linux ubd0=file.fs
I use
linux ubd0=/dev/md0

The performance increase is outstanding, but I have run into one small snag. I am trying to migrate over to using COW files on a fresh server, but I cant figure out how to use block devices instead of files. I have tried a couple of things.

mount /dev/md0 as /mnt/backing/ and put a backing file (rootfs.ro)in that dir. the dir is mounted readonly and then I try to start a UML like this
linux ubd0=/dev/md1,/mnt/backing/rootfs.ro

I've tried creating the backing file on the md0 device itself and tried starting a UML like this
linux ubd0=/dev/md1,/dev/md0     (remembering md0 is my backing "file")

Neither of these seem to work, just get a kernel panic about not being able to find a rootfs. THe backing file will boot on its own as will the md0 device, but I cant seem to get the cow file relationship working. Any thoughts or am I just wasting time?

--

Jason
The place where you made your stand never mattered. Only that you were there..
And still on your feet.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to