Hi. On Wed, 23 May 2012 16:26:00 +0200, Jaime Melis <jme...@opennebula.org> wrote: > Once the vm starts we basically have no control as to where the operating > systems puts the drives. The use of LABEL= and UUID= in the guest vms helps > a lot, as you have already noticed. >
Using LABELs is indeed probably the most suitable option. I've then filed a feature request (http://dev.opennebula.org/issues/1292) to ask for the possibility to define the image's LABELs for DISK image specifications in the VM template. One could then define a : DISK = [ TYPE = fs, SIZE = 4096, FORMAT = ext3, SAVE = yes, TARGET = sdh, LABEL = opt ] And one would then use a LABEL=opt in /etc/fstab to be able to mount it. It would probably be quite easy to add some mkfs.ext3 -L command to add the ext3 label when the image is created. Hope this helps, Best regards, -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France) _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org