*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> vgremove (1m)              


 vgremove(1M)                                                   vgremove(1M)

 NAME    [Toc]    [Back]
      vgremove - remove LVM volume group definition from the system

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/vgremove vg_name ...

 DESCRIPTION    [Toc]    [Back]
      The vgremove command removes from the system the last physical volume
      of the volume group and the definition of the volume group or groups
      specified by vg_name ....  Since all system knowledge of the volume
      group and its contents are removed, the volume group can no longer be

      To move a volume group from one system to another, use the vgexport
      command instead (see vgexport(1M)).

      Before executing vgremove, remove all logical volumes residing on the
      last physical volume by executing lvremove (see lvremove(1M)).

      vgremove is equivalent to the inverse of executing vgcreate for one
      physical volume (see vgcreate(1M)).

      Before removing a volume group, two steps are necessary:

           1.  Remove all the logical volumes belonging to the group by
               using the lvremove command (see lvremove(1M)).

           2.  Remove all but one physical volume belonging to the volume
               group by using the vgreduce command (see vgreduce(1M)).

      If there is any physical volume group created under vg_name ..., the
      physical volume group information is also removed from file

    Arguments    [Toc]    [Back]
      vgremove recognizes the following argument:

           vg_name        The path name of a volume group.

    Environment Variables
      LANG determines the language in which messages are displayed.

      If LANG is not specified or is null, it defaults to "C" (see lang(5)).

      If any internationalization variable contains an invalid setting, all
      internationalization variables default to "C" (see environ(5)).

 EXAMPLES    [Toc]    [Back]
      Remove volume group /dev/vg02 from the system:

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 vgremove(1M)                                                   vgremove(1M)

           vgremove /dev/vg02

 SEE ALSO    [Toc]    [Back]
      lvremove(1M), vgchange(1M), vgreduce(1M).

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
vgreduce HP-UX remove physical volumes from an LVM volume group
vxdestroy_lvmroot HP-UX remove LVM root disk and associated LVM volume group
lvremove HP-UX remove one or more logical volumes from LVM volume group
groupdel Tru64 Deletes a group definition from the system
groupmod Tru64 Modifies a group definition on the system
lvrmboot HP-UX remove LVM logical volume link to root, primary swap, or dump volume
vgimport HP-UX import an LVM volume group onto the system
groupdel OpenBSD remove a group from the system
deluser Linux remove a user or group from the system
pvchange HP-UX change characteristics and access path of physical volume in LVM volume group
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service