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

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1

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?
Please log in to comment

Answers

0

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

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

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share