ASM on Windows

  • From: "Koivu, Lisa" <Lisa.Koivu@xxxxxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 12 May 2004 16:20:34 -0400

Hello everyone,=20

I thought I'd document this for the next poor sap that tries to do this
on Windows.

The ASM-specific documentation does not discuss the tool asmtoolg.exe.
This tool must be used to 'stamp' the disks for use by ASM.  Prior to
asmtoolg.exe executing, a logical drive must be created.  This is all
detailed in the RAC Manual (of all places), because it looks like ASM is
implementing OCFS.  The documentation never really says that directly,
but after reading the below paragraphs and thinking it through, it makes
sense.

<snip>
7.3 Prepare Disks for Database Storage=20

You need to configure disk storage for use with Automatic Storage
Management (ASM). ASM storage consists of one or more disk groups, each
of which can span multiple disks. To prepare the shared disks that you
identified in Section 5, "Check Disk Space Requirements", you need to
create two or more logical drives, each on a different shared disk, for
a total of at least 7 GB. To prepare each logical drive, perform these
steps:=20

Navigate to Start > Settings > Control Panel > Administrative Tools >
Computer Management=20

Expand the Storage folder to Disk Management=20

Identify a shared disk that contains the required amount of free space
and right click inside an unused part of an extended partition.=20

Choose Create Logical Drive in the option window and a wizard presents
pages for configuring the logical drive.=20

Enter the size that you want for the partition. All of the partitions
that you create for your ASM disk groups should include as much of the
free space on the disk as possible. Additionally, however, the
partitions should all be the same size.=20

Choose the option Do not assign a drive letter and then choose the
option Do not format this partition. Click Finish on the last page of
the wizard.=20


9 Stamp the Logical Drives for ASM=20
To enable disk discovery during the database install, the logical drives
used to store your database files must be stamped with an ASM header
using a GUI tool called asmtoolg. All disk names created by the tool
begin with the prefix ORCLDISK for identification purposes. Complete the
following procedure to stamp the logical drives that you created in the
Section 7.3, "Prepare Disks for Database Storage":=20

To open the tool, double-click CRS home\BIN\asmtoolg where CRS home is
the directory that you identified in Step 2 of Section 8, "Install
Cluster Ready Services".=20

Select Add or change label and click Next on the Welcome screen.=20

On the Stamp Disks screen, select the disks to stamp and keep the
default settings for Generate stamps with this prefix, then click Next.=20

Click Next on the Stamp disks screen.=20

Click Finish to save your work and exit from the tool.=20
<snip>

I'm out of luck because I have one raid-5 disk that has everything on it
(dev box).  There's no unallocated disk available. =20

Maybe this is all simple and everything, but it wasn't readily apparent
to me.  The pretty gui wizards never said anything about it in the help
or all the dialog boxes.=20

I hope this helps someone.=20

Lisa Koivu
Sr. Monkey
Orlando, FL, USA



"The sender believes that this E-Mail and any attachments were free of =
any virus, worm, Trojan horse, and/or malicious code when sent. This =
message and its attachments could have been infected during =
transmission.  By reading the message and opening any attachments, the =
recipient accepts full responsibility for taking proactive and remedial =
action about viruses and other defects. The sender's business entity is =
not liable for any loss or damage arising in any way from this message =
or its attachments."

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: