| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 2, Section 1M: System Administration Commands > iidisk(1M) |
|
NAMEidisk — create partitions for IA64 disks DESCRIPTIONidisk creates operating system partitions on a disk that is to be used for IA64. 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. Optionsidisk recognizes the following options:
Partition Description FileThe first entry in the partition description file is the number of partitions to create. This is followed by a line containing the type and size for each of the partitions. Recognized partition types are: EFI, HPUX, and HPDUMP. 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: 2 EFI 100MB HPUX 100% The first entry specifies the number of partitions to create. The second specifies an EFI partition of 100 megabytes. The last entry specifies a HPUX partition consisting of all the remaining space on the disk after the EFI partition has been created. EXAMPLESCreate the partitions specified in the above description file, printing only the primary partition information: idisk -w -p -f ia64dsk.dat /dev/rdsk/c1t4d0 Create the partitions specified in the above description file, printing all available information (default), redirecting input from stdin: idisk -w -f - /dev/rdsk/c1t4d0 < ia64dsk.dat Only read the disk, printing all tables (default) on the disk: idisk /dev/rdsk/c1t4d0 Destroy all partition information on the disk: idisk -R /dev/rdsk/c1t4d0 Restore partition information from either a good primary or alternate header or table to the header or table that is bad: idisk -w -r /dev/rdsk/c1t4d0 |
||||||||||||||||||||||||||||
|
|||||||||||||||