Matt Ford wrote: > 2009/5/13 Michael DeHaan <[email protected] <mailto:[email protected]>> > > Matt Ford wrote: > > Apologies this isn't a little more comprehensive a bug report. Two > > odd behaviours... > > > > > > First if I create a system profile with a virt path value of > > "s4-xen-vg", then the chcon -t virt... operation fails as it > puts too > > many hyphens in the argument to the device path eg., > /dev/mapper/s4--xen. > > Fails how? > > > It fails as it can't find the file > /dev/mapper/s4--xen-vg-robfrank--disk0 due to the extra "-" in it. > Apologies once more for no output, hellish VNC cut'n'paste issues and > too much of a hurry to get system up. >
This is probably because it didn't understand what you needed for the destination (the manpage lists what is supported) and tried to autoname something. > > > > > Second, if I create a system with a virt path setting like this then > > /dev/s4-xen-vg/robfrank then cobbler with no such volume group. > It's > > not a volume group it's a logical volume and I'd like to be able to > > specify that as the install point rather than let cobbler manage it > > for me (actually I don't now, I am happy to let cobbler manage > it, but > > I don't feel as though cobller should mind about this). > > --virt-path takes volume groups or partitions. > > > Maybe this is a feature request then. In the past I have carved off > chunks of a volume group as logical volumes and used the entire > logical disk (not a partitioned)as the disk for my virtual machines. > Is this a bad idea? Why insist on a partition table? What you ask for is reasonable. Patches on this would be great, otherwise file an RFE in Trac and maybe someone will implement it -- provided existing features/behavior are preserved it would not hurt anything. > > Thanks, > > Matt. > > > > > > > Again sorry I have no output. Using cobbler 1.6.2, on CentOS > 5.3 from > > Epel repo. > > There's not much we say or do without output. > > > > Matt. > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > cobbler mailing list > > [email protected] > <mailto:[email protected]> > > https://fedorahosted.org/mailman/listinfo/cobbler > > > > _______________________________________________ > cobbler mailing list > [email protected] <mailto:[email protected]> > https://fedorahosted.org/mailman/listinfo/cobbler > > > ------------------------------------------------------------------------ > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
