La commande 'joinvg' permet de faire revenir une image générée à l'aide de la commande 'splitvg' dans le groupe de volume original.
La syntaxe est :
# joinvg [-f] nom_vg # Où nom_vg est le nom du VG à réunifier.
L'option '-f' permet de forcer la réintégration, les copies(exemplaires) se trouvant sur des disques manquant étant supprimées.
La syntaxe officielle IBM est donnée ci-dessous.
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
-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
/usr/sbin
Directory where the joinvg command resides.
Related Information
The splitvg and recreatevg commands.