Scripting Question

Does anyone know how to make a preinstallation task to create a raid 1 for the T5500

07/24/2012 2932 views

Can you create a Preinstallation task to make a Raid for the T5500

Answer Summary:
0 Comments   [ + ] Show comments


Community Chosen Answer


You will need to create a custom diskpart preinstall

The first step in creating a mirrored set using diskpart is to identify the disks to be used. This can be achieved using the list disk command:

DISKPART> list disk

  Disk ###  Status      Size     Free     Dyn  Gpt
  --------  ----------  -------  -------  ---  ---
  Disk 0    Online        30 GB      0 B
  Disk 1    Online         8 GB  8189 MB
  Disk 2    Online         8 GB  8189 MB

For the purposes of this tutorial we will be creating a mirrored volume based on a set consisting of disks 1 and 2. The mirrored volume is created by first creating a simple volume on the first disk and then adding a second disk to the mirrored set.

The first volume is created using the create volume command combined with the disk= directive. The size of the volume may also be specified using the size= directive. Omission of the size= option will cause diskpart to create volume which occupies all the available space on the designated disk. For example:

DISKPART>create volume simple disk=1

Having created the first volume on disk 1 the next step is to add the mirror volume on disk 2. This is achieved using the add command as follows:

add disk=2

The list volume command may be used to verify the new configuration:

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     D                       DVD-ROM         0 B  No Media
  Volume 1     C                NTFS   Partition     30 GB  Healthy    System
* Volume 2                      RAW    Mirror      8189 MB  Healthy

As shown above the new volume is listed as volume 2 and shown as Mirror. The volume is also listed as RAW because it has not yet been formatted with a file system. This, too, can be achieved within the diskpart tool:

DISKPART> select volume 2
DISKPART> format fs=ntfs label="Mirrored Volume"

  100 percent completed

DiskPart successfully formatted the volume.

Once formatted, the last task is to assign either a drive letter or mount point to the volume by which it will be accessed:

To assign a drive letter:

DISKPART> assign letter=E:

DiskPart successfully assigned the drive letter or mount point.

To assign a mount point:

DISKPART> assign mount=\bigvol

DiskPart successfully assigned the drive letter or mount point.

Once assigned a drive letter or mount point, the new mirrored volume is ready for use.

Answered 07/24/2012 by: SMal.tmcc
Red Belt

  • Do you put that at the very first task in the preinstall?

All Answers


Do you put that at the very first task in the preinstall?

Answered 07/25/2012 by: brentballard
Senior Purple Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ