Hi Ken, Kenneth.Boyd at Sun.COM wrote: > Is it possible to add multiple disk to a guest domain at one time or do > you have to add them one at a time... >
you could do something along the lines of the following ldm add-vdsdev /dev/dsk/c0t0d0s2 vol1 at primary-vds0 ldm add-vdsdev /dev/dsk/c0t1d0s2 vol2 at primary-vds0 ldm add-vdisk vdisk1 vol1 at primary-vds0 ldg1 ldm add-vdisk vdisk2 vol2 at primary-vds0 ldg1 reboot guest > I have a customer thats states he wants to add multiple disk to one > guest domain before rebooting the control domain. But what > cu has found out that he has to add drive one at a time then reboot the > control... Are they asking if a single ldm command can add multiple vdisks to a domain ? The answer to that is no. BTW, There is no requirement to reboot a control domain after a 'ldm add-vdsdev' or 'ldm add-vdisk' command - that is only needed after adding the vDisk service using 'ldm add-vds' However the ordering is important. If the ordering in the example above was changed to ldm add-vdsdev /dev/dsk/c0t0d0s2 vol1 at primary-vds0 ldm add-vdisk vdisk1 vol1 at primary-vds0 ldg1 A reboot of the *guest* would be need before the following 2 commands would be accepted. ldm add-vdsdev /dev/dsk/c0t1d0s2 vol2 at primary-vds0 ldm add-vdisk vdisk2 vol2 at primary-vds0 ldg1 HTH -- Liam --
