Removes logical volumes from a volume group.
- To use this command, you must either have root user authority or be a member of the system group.
- You cannot use the rmlv command on a snapshot volume group or a volume group that has a snapshot volume group.
- You cannot use the rmlv command on an active firmware assisted dump logical volume.
- In AIX® 7.2 Technology Level 1, or later,
after the partition is freed by running the
rmlvcommand, the space reclamation process runs for the freed partition.
You could also use the System Management Interface Tool (SMIT) smit rmlv fast path to run this command.
|-B||Issues a chlvcopy -B -s for the parent logical volume if the logical volume was created using the -l flag. If it is a regular logical volume then the -B flag is ignored.|
|-f||Removes the logical volumes without requesting confirmation.|
|-p PhysicalVolume||Removes only the logical partition on the PhysicalVolume.
The logical volume is not removed unless there are no other physical
Attention: If the logical volume spans multiple physical volumes, the removal of only logical partitions on the PhysicalVolume can jeopardize the integrity of the entire logical volume.
To remove logical volume lv05 without requiring user confirmation, enter the following command:
The logical volume is removed from the volume group.
|/usr/sbin/rmlv||Directory where the rmlv command resides.|
|/tmp||Directory where the temporary files are stored while the command is running.|
|/etc/filesystems||Lists the known file systems and defines their characteristics.|