joinvg Command

Purpose

Joins a snapshot volume group back into its original volume group.

Syntax

joinvg [ -f ] vgname

Description

Joins a snapshot volume group that was created with the splitvg command back into its original volume group. The snapshot volume group is deleted and the disks reactivated in the original volume group. Any stale partitions will be resynchronized by a background process.

Flags

Item Description
-f vgname Forces the join when disks in the snapshot volume group are missing or removed. The mirror copy on the missing or removed disks will be removed from the original volume group. The vgname parameter specifies the original volume group name with the splitvg command.

Security

Access Control: You must have root authority to run this command.

Examples

To join the original volume group, testvg, with the snapshot volume group snapvg, enter the following command:
joinvg testvg

Files

Item Description
/usr/sbin Directory where the joinvg command resides.