Please see my other blog for Oracle EBusiness Suite Posts - EBMentors

Search This Blog

Note: All the posts are based on practical approach avoiding lengthy theory. All have been tested on some development servers. Please don’t test any post on production servers until you are sure.

Tuesday, December 07, 2010

Diskpart Command-Line Utility

When we install Oracle RAC 10g on Windows 2003, we have to use the Diskpart utility as below

Prior to partitioning the disks on Windows Server 2003, you must enable disk automounting.
C:\> diskpart
DISKPART> automount enable
DISKPART> exit
C:\>
 this is the reason i'm providing some information on it.


You can use this utility to enable storage configuration. Diskpart enhances the Disk Administrator graphical user interface (GUI). Diskpart enables a superset of the actions that are supported by the Disk Management snap-in. The Disk Management snap-in prohibits you from inadvertently performing actions that may result in data loss. It is recommended that you use the Diskpart utility cautiously because Diskpart enables explicit control of partitions and volumes.
You can use Diskpart to
- convert a basic disk to a dynamic disk and to convert a dynamic disk to a basic disk.
- create a partition at an explicit disk offset.
- permit certain partition deletion operations that are blocked by the snap-in.
- change the drive letter.


Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\inam>diskpart
Microsoft DiskPart version 5.2.3790.3959
Copyright (C) 1999-2001 Microsoft Corporation.
On computer: DB2
DISKPART>

DISKPART> list disk  (summary information about each disk in the computer)
  Disk ###  Status      Size     Free     Dyn  Gpt
  --------  ----------  -------  -------  ---  ---
  Disk 0    Online       837 GB      0 B
  Disk 1    Online       200 GB      0 B
  Disk 2    Online       300 GB      0 B
 DISKPART> select disk 0

Disk 0 is now the selected disk.

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    OEM                 39 MB    32 KB
  Partition 2    Primary             98 GB    39 MB
  Partition 3    Primary            739 GB    98 GB
DISKPART> select disk 2

Disk 2 is now the selected disk.

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Extended           300 GB  8033 KB
  Partition 2    Logical            125 MB  8064 KB
  Partition 3    Logical            125 MB   133 MB
  Partition 4    Logical             98 GB   259 MB
  Partition 5    Logical            102 GB    98 GB
  Partition 6    Logical            100 GB   200 GB

DISKPART> list volume  (information about each volume in the computer)
  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     Z                       DVD-ROM         0 B  Healthy
  Volume 1                      RAW    Partition    125 MB  Healthy
  Volume 2                      RAW    Partition    125 MB  Healthy
  Volume 3                      RAW    Partition     98 GB  Healthy
  Volume 4                      RAW    Partition    102 GB  Healthy
  Volume 5                      RAW    Partition    100 GB  Healthy
  Volume 6     C                NTFS   Partition     98 GB  Healthy    System
  Volume 7     D   New Volume   NTFS   Partition    739 GB  Healthy
  Volume 8     E                NTFS   Partition    200 GB  Healthy

Ref: Article ID: 300415

No comments: