hi Victor,

Please see my comments inline...


On Jan 9, 2008 11:45 AM, Victor Engle <victor.engle at gmail.com> wrote:
> > Do you mean that this is not a valid use-case, or do you see potential
> > issues with exporting DMP metanodes (/dev/vx/dmp) as full disks to
> > guest Ldoms?
>
> Hi Misha,
>
> No, I think it is a reasonable use case it's just that when I first
> started looking into LDOMs I read the release notes for 1.01 and there
> was a note saying that Veritas DMP controlled devices were not
> supported for exporting as a vdisk. It wasn't clear from the notes why
> this wouldn't work.
[Misha] Veritas DMP devices can be exported as virtual disks to guest
Ldoms, provided you have applied the following workaround on the
control domain:
Workaround: If Veritas Volume Manager (VxVM) is installed in the
control domain, then before exporting a full disk to a guest LDom, you
first need to disable the exclusive open done by the vds driver by
setting the kernel global variable "vd_open_flags" to "0x3".
You can disable the exclusive open on the running system with the
following command:
echo 'vd_open_flags/W 0x3' | mdb -kw

You also need to add the change in /etc/system to make it persistent
across reboots:
set vds:vd_open_flags = 0x3

Note: This is a temporary workaround until the SUN bug id 6528156 is fixed.

> I would assume that veritas could be supported in other ways with
> LDOMs though. In my test setup I have a T2000 in a split config so
> that my veritas LDOM has it's own HBAs so I can provision luns
> directly from the SAN to that LDOM. In this case I am running STMS and
> zfs in the control domain.
>
> Also if I needed to export storage from an LDOM running vxvm then I
> think I could create a veritas volume and filesystem, mount the
> filesystem and use mkfile to create files which I could then export to
> other LDOMs as vdisks.
[Misha] That is correct. Also you can refer to the following Veritas
documentation on how you can use Storage Foundation products
in the Ldoms environment:
http://support.veritas.com/docs/293324

Regards,
Misha.

> Regards,
> Vic
>

Reply via email to