how to generate the disk group xml file to use with asmcmd> mkdg
Hi,
I wonder if anyone knows how to generate the xml file so that I can have a large number of disk added to ASM with out having to type in the disks manually.
This is the template which oracle provide, but I am looking for an option to generate this xml file without having to type it in one by one. Any helpful be appreciated
<dg name="data" redundancy="normal">
<fg name="fg1">
<dsk string="/dev/disk1"/>
<dsk string="/dev/disk2"/>
</fg>
<fg name="fg2">
<dsk string="/dev/disk3"/>
<dsk string="/dev/disk4"/>
</fg>
<a name="compatible.asm" value="11.2"/>