Hi

When creating a VM with more than three disk ie: '$ mkvm lnx0225a -s 
60G,15G,15G,15G' the third disk should be /dev/sdc but it ends up being 
created as /dev/sdd and sdc is omitted. 

On the vmhost it looks like this:
lrwxrwxrwx 1 root root 9 Sep 29 10:25 /dev/clustervg/lnx0225a.vda.raw -> 
../dm-249
lrwxrwxrwx 1 root root 9 Sep 29 10:25 /dev/clustervg/lnx0225a.vdb.raw -> 
../dm-250
lrwxrwxrwx 1 root root 9 Sep 29 10:25 /dev/clustervg/lnx0225a.vdd.raw -> 
../dm-251
lrwxrwxrwx 1 root root 9 Sep 29 10:25 /dev/clustervg/lnx0225a.vde.raw -> 
../dm-252

The Storage definition of the VM is:
    vmstorage=lvm://clustervg
    vmstoragecache=writethrough
    vmstorageformat=raw
    vmstoragemodel=virtio

Also the kvm_nodedata.xml entry for the host get's create with two " 
instead of the usual single '
ie:

"lnx0225a","<domain type=""kvm"">
  <name>lnx0225a</name>
  <clock offset=""utc"" />
  <devices>
    <console type=""pty"">
      <target port=""1"" />
    </console>
    <disk device=""disk"">
      <driver name=""qemu"" cache=""writethrough"" type=""raw"" />
      <source file=""/dev/clustervg/lnx0225a.vdb.raw"" />
      <target dev=""vdb"" />
    </disk>
    <disk device=""disk"">
      <driver name=""qemu"" cache=""writethrough"" type=""raw"" />
      <source file=""/dev/clustervg/lnx0225a.vda.raw"" />
      <target dev=""vda"" />
    </disk>
    <disk device=""disk"">
      <driver name=""qemu"" cache=""writethrough"" type=""raw"" />
      <source file=""/dev/clustervg/lnx0225a.vde.raw"" />
      <target dev=""vde"" />
    </disk>
    <disk device=""disk"">
      <driver name=""qemu"" cache=""writethrough"" type=""raw"" />
      <source file=""/dev/clustervg/lnx0225a.vdd.raw"" />
      <target dev=""vdd"" />

My solution for now is to lvrename sde to sdc and to edit kvm_nodedata.

I'm runnning xCAT-2.13.4-snap201705161003.x86_64 on SLES11.4

Cheers,
--
Matthias Merk

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to