> "You can attach 8 different ubd devices IIRC, i.e. host files, and that trivial to raise to 16 (just change a define)"

I dont understand this part. I have raised MAX_DEV in ubd_kern.c to 60. But that is not the problem. issue is the limit of 16... partitions?

Derek R. Meiresonne
eTecc Communications, Inc.
www.eTecc.com

Blaisorblade wrote:
On Friday 07 October 2005 20:04, Derek R. Meiresonne wrote:

How can I use over 16 UBD devices? I have read in the mailing lists that
you can create partitions:


brw-r--r--  1 root root 98, 1 Oct  7 12:52 /dev/ubd0p1


However; I cannot mount the above device while UML is booting.

Can you explain what you mean? You can put /dev/ubd0p1 in /etc/fstab without problem.

You can even make Uml boot from it, by adding

rootfs=/dev/ubda1
*
or if the kernel doesn't understand that, add
root=98:1, i.e. with major:minor; note that IIRC, those numbers are Hex, so you don't want to use root=98:10 but instead root=98:a.

* ubd devices also support a Ide-like syntax, with letters, since when they support partitions; nobody ever used /dev/ubd0p1, even it that's a general convention, so beware.

Can someone provide me with some direction?

Wait a moment.

You can attach 8 different ubd devices IIRC, i.e. host files, and that is trivial to raise to 16 (just change a define), and could even be changed to more (it's just a matter of allocating some new major number - must talk with upstream people to decide which one to use, but it's otherwise ok).

Each host file can be partitioned. And you can mount it via /etc/fstab. But you can't attach different partitions to different host files.

Actually you could use DeviceMapper to concat the files together, after loop-mounting them, but it's not trivial to do, and you'd also have to write a fictious partition table matching the host files.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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