idisk.1m (2011 03)

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 ][-A size][
-S capacity ]
[
-f {- | partition_description_file }] device
idisk -G [-w] 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.
-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.
-A size
Specify alignment restriction for all partitions. Used only when idisk is creating a new par-
tition table. All partitions specified in the partition description file will start on a multiple of
the given size parameter with respect to the beginning of the disk. The size parameter may
carry a suffix of ’K’, ’M’, or ’G’ to represent kibibytes, mebibytes, or gibibytes, respectively.
-G Extend HP-UX data partition. Used when the underlying storage has been increased in size.
Resizes the HP-UX data partition, and relocates the HPSP to the end of the underlying
storage. 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.
-S capacity
Override the capacity of the underlying storage device. The provided capacity parameter is
used instead of the detected capacity of the device. When this option is given, idisk will also
bypass the check requiring the device to be a raw device special file. The capacity parameter
HP-UX 11i Version 3: March 2011 1 Hewlett-Packard Company 1

Summary of content (4 pages)