idisk.1m (2010 09)

i
idisk(1M) idisk(1M)
(Integrity Systems Only)
NAME
idisk - create partitions for disks on an Integrity system
SYNOPSIS
idisk [-p |-a |-l |
-b |-q |-v |-r |-R |-w ][-f {- | partition_description_file }] device
DESCRIPTION
idisk creates operating system partitions for disks on an Integrity system. It reads in the partition
information from a data file that may be specified in the command string or redirected from stdin.
By default,
idisk operates in read-only mode and displays the partition information that is currently on
the disk. To write new partition information on the disk the user must specify the
-w option.
Options
idisk recognizes the following options:
-p Print the primary EFI partition header and partition tables.
-a Print the alternate EFI partition header and partition tables.
-l Print the legacy partition table that resides in the master boot record.
idisk writes partition
information for the first four partition in the partition table in used by legacy DOS and Win-
dows. This information is used as a backup in the event all the EFI information is corrupted.
-b Print the first usable and last usable block numbers that are available to create partitions.
First usable is the first block a partition can start on. Last usable is the last block that can be
contained in a partition. These numbers are relative to the whole disk and do not take into
account any partitions that may exist. They represent the total disk space that can be parti-
tioned. Use the
-q option to only print the values without headings.
-q Work silently. No user prompts or warnings. For use in shell scripts.
-v Validate EFI partition information. Does the same checks the driver does verifying that both
the primary and alternate EFI partition headers and tables are correct. Returns two if either
is bad and zero if both are correct.
-r Restore the EFI partition headers and tables. This option checks both the primary header and
tables and the alternate header and tables. If one is found bad it is restored from the other
good version. One of either the primary or alternate header and tables must be good for this
option to succeed. The
-w option must be specified for information to be written to the disk.
-R Remove all EFI partition headers and tables from the disk. This option also destroys the infor-
mation contained in the MBR (master boot record). The
-w option must be specified for infor-
mation to be written to the disk.
-f { - | partition_description_file
}
The partition_description_file contains the number of partitions to be created and the type and
requested size of each partition. The filename may be specified here or redirected from stdin
when the dash (
-) is used.
-w Enable write mode. By default idisk operates in read-only mode. To create and write parti-
tion information to the disk you must specify the -w option.
Partition Description File
The first entry in the partition description file is the number of partitions to create. The maximum
number of partitions allowed is 12. This is followed by a line containing the type and size for each of the
partitions.
Recognized partition types are: EFI, HPUX, HPDUMP, and HPSP.
At least one EFI partition is required to create a valid partition table. Size may be specified in megabytes
or as a percentage of the whole disk.
Internally,
idisk creates the partitions whose size is specified in MB first then creates those whose size
was specified as a percentage. Those partitions specified as a percent are assigned space from what is
available after the MB partitions are created. If the size of a partition is specified as 100% then all space
remaining is assigned to that partition.
An example partition description file is shown below:
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)