Go to main content

Installing and Configuring an Oracle® Solaris Cluster 4.4 Environment

Exit Print View

Updated: September 2019
 
 

How to Repartition Drives in a Disk Set

The metaset(8) command repartitions drives in a disk set so that a small portion of each drive is reserved for use by Solaris Volume Manager software. In Extensible Firmware Interface (EFI) labeled devices, slice 6 is used. The remainder of the space on each drive is placed into slice 0. To make more effective use of the drive, use this procedure to modify the disk layout. If you allocate space to EFI slices 1 through 5, you can use these slices when you set up Solaris Volume Manager volumes.

  1. Assume the root role.
  2. Use the format command to change the disk partitioning for each drive in the disk set.

    When you repartition a drive, take steps to prevent the metaset command from repartitioning the drive.

    1. Create slice 6 for EFI starting at cylinder 0, large enough to hold a state database replica.

      Do not allow the target slice to overlap any other slice on the drive.

      See your Solaris Volume Manager administration guide to determine the size of a state database replica for your version of the volume-manager software.

    2. Set the Flag field in the target slice to wu (read-write, unmountable).

      Do not set this field to read-only.

    See the format(8) man page for details.

Next Steps

Define volumes by using an md.tab file. Go to How to Create an md.tab File.