Storage Management (ASM ACFS DNFS ODM) (MOSC)

MOSC Banner

how to generate the disk group xml file to use with asmcmd> mkdg

edited Jul 23, 2015 12:09PM in Storage Management (ASM ACFS DNFS ODM) (MOSC) 3 commentsAnswered

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"/>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center