fdasd menu

6.10 LPAR mode z/VM guest KVM guest

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):

fdasd menu commands

Use the fdasd menu commands to modify or view information about DASDs

m
re-displays the fdasd command menu.
p
displays information about the DASD and the partitions.
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
There is also information about the free disk space that is not used for a partition.

n
adds a partition to the DASD. You are asked to give the start track and the length or end track of the new partition.
d
deletes a partition from the DASD. You are asked which partition to delete.
v
changes the volume identifier. You are asked to enter a new volume identifier. See VOLSER for the format.
t
changes the partition type. You are prompted for the partition to be changed and for the new partition type.

Changing the type changes the disk description but does not change the disk itself. How Linux uses the partition depends on how the partition is formatted and set up. For example, as an LVM logical volume or in a RAID configuration.

The partition type describes the partition to other operating systems so that; for example, swap partitions can be skipped by backup programs.

r
re-creates the VTOC and deletes all partitions.
u
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.
s
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
q
quits fdasd without updating the disk. Any changes that you have made (in this session) are discarded.
w
writes your changes to disk and exits. After the data is written, Linux rereads the partition table.