Solaris x86 fdisk

Last modified by Quentin Conner on 2011/06/28 19:37

Jun 28 2011

Prior to use by ZFS or even format, fdisk must be run on the x85 architecture.  With Solaris 10, fdisk is used in the traditional PC way to define a Solaris2 partition.

Solaris x86, including Solaris 11, then treat the Solaris2 fdisk partition like a whole disk.  An SMI disk label must be placed and then slices defined in the traditional Solaris manner.

A slice can then be used by ZFS for use in a pool.

In this example, we are using SATA target 4 (the fifth drive on a six disk SATA controller).  SATA targets, like SCSI targets, start counting at zero.

View existing fdisk partitions

fdisk -W - /dev/rdsk/c7t4d0p0

Interactive fdisk session

fdisk /dev/rdsk/c7t4d0p0

Or simply use entire disk for Solaris2 partition

fdisk -B  /dev/rdsk/c7t4d0p0

Label the disk

prtvtoc /dev/rdsk/c7t4d0s0 | fmthard -s - /dev/rdsk/c7t4d0s0

Run format and define slice zero for use by ZFS

format
Tags:
Created by Quentin Conner on 2011/06/28 19:08

This website content is not licensed to you. All rights reserved.
Delphinus Wiki - XWiki Enterprise 2.7.33656 - Documentation