fdasd menu
![]()
If you call fdasd in the interactive mode (that is, with just a node), a menu is displayed.
Command action m print this menu p print the partition table n add a new partition d delete a partition v change volume serial t change partition type r re-create VTOC and delete all partitions u re-create VTOC re-using existing partition sizes s show mapping (partition number - data set name) q quit without saving changes w write table to disk and exit Command (m for help):
Menu commands
Use the fdasd menu commands to modify or view information about DASDs
- re-displays the fdasd command menu.
- displays information about the DASD and any partitions on the
DASD.
- DASD information:
-
- Number of cylinders
- Number of tracks per cylinder
- Number of blocks per track
- Block size
- Volume label
- Volume identifier
- Number of partitions defined
- Partition information:
-
- Linux® node
- Start track
- End track
- Number of tracks
- Partition ID
- Partition type
- adds a partition to the DASD. You are asked to give the start track and the length or end track of the new partition.
- deletes a partition from the DASD. You are asked which partition to delete.
- changes the volume identifier. You are asked to enter a new volume identifier.
- changes the partition type. You are asked to identify the partition
to be changed. You are then asked for the new partition type (Linux native or swap). This
type is a guideline; the actual use Linux makes of the partition
depends on how it is defined with the mkswap or
mkxxfstools. The main function of the partition type is to describe the partition to other operating systems. Then, for example, swap partitions can be skipped by backup programs. - re-creates the VTOC and deletes all partitions.
- re-creates all VTOC labels without removing all partitions. Existing partition sizes are reused. This option is useful to repair damaged labels or migrate partitions that are created with older versions of fdasd.
- displays the mapping of partition numbers to data set names. For
example:
Command (m for help): s device .........: /dev/dasdzzz volume label ...: VOL1 volume serial ..: 0X0193 WARNING: This mapping may be NOT up-to-date, if you have NOT saved your last changes! /dev/dasdzzz1 - LINUX.V0X0193.PART0001.NATIVE /dev/dasdzzz2 - LINUX.V0X0193.PART0002.NATIVE /dev/dasdzzz3 - LINUX.V0X0193.PART0003.NATIVE - quits fdasd without updating the disk. Any changes that you made (in this session) are discarded.
- writes your changes to disk and exits. After the data is written, Linux rereads the partition table.