Notes on the fdisk and parted commands, Notes on the parted command, Notes on the vgrename and lvrename commands – HP Hitachi Dynamic Link Manager Software User Manual

Page 673

Advertising
background image

Notes on the fdisk and parted Commands

When creating partitions on an HDLM device, only use the fdisk command or

the parted command.

If partitions have been created on an HDLM device using the fdisk or parted

command, some of the partitions created by the fdisk command might not

be visible to the parted command. Likewise, some of the partitions created

by the parted command might not be visible to the fdisk command. For this

reason, if partitions that are created using the fdisk command are modified

using the parted command, the partition information might be corrupt.

Notes on the parted Command

If the parted command is used to create partitions on an HDLM device, after

issuing the parted command, execute the following command:

# blockdev --rereadpt HDLM device SCSI device 1 ... SCSI device n

Where:

HDLM device: The HDLM device name on which the partition was created

(for example, /dev/sddlmad)
SCSI device 1..n: The SCSI device names which are being managed by

the above HDLM device (for example, /dev/sda)

Notes on the vgrename and lvrename Commands

If a logical volume is created on an md device, you can rename a volume

group or a logical volume by using the vgrename or lvrename command.

After renaming, if the vgdisplay -v -D command, vgscan, or lvscan

command is executed, the information from the previous volume group or

logical volume might be displayed. To display information from after the

change, deactivate the volume group, and then activate the volume group

after restarting the md device.

Notes on Linux Commands and Files

A-5

Hitachi Dynamic Link Manager User Guide for Linux

®

Advertising
This manual is related to the following products: