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

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


 lvremove(1M)                                                   lvremove(1M)

 NAME    [Toc]    [Back]
      lvremove - remove one or more logical volumes from LVM volume group

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/lvremove [-A autobackup] [-f] lv_path ...

    Remarks    [Toc]    [Back]
      lvremove cannot be performed if the volume group is activated in shared

 DESCRIPTION    [Toc]    [Back]
      The lvremove command removes each logical volume specified by
      lv_path ....

      Logical volumes must be closed before they can be removed.  For
      example, if the logical volume contains a file system, unmount the
      file system before removing it.

    Options and Arguments    [Toc]    [Back]
      lvremove recognizes the following options and arguments:

           lv_path             The block device path name of a logical

           -A autobackup       Set automatic backup for this invocation of
                               this command.  autobackup can have one of the
                               following values:

                                    y    Automatically back up configuration
                                         changes made to the logical volume.
                                         This is the default.

                                         After this command executes, the
                                         vgcfgbackup command (see
                                         vgcfgbackup(1M)) is executed for
                                         the volume group to which the
                                         logical volume belongs.

                                    n    Do not back up configuration
                                         changes this time.

           -f                  Specify that no user confirmation is

    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)).

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

 lvremove(1M)                                                   lvremove(1M)

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

 EXAMPLES    [Toc]    [Back]
      Remove a logical volume without requiring user confirmation:

           lvremove -f /dev/vg01/lvol5

 WARNINGS    [Toc]    [Back]
      This command destroys all data in the specified logical volumes.

 SEE ALSO    [Toc]    [Back]
      lvchange(1M), umount(1M).

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
vgexport HP-UX export an LVM volume group and its associated logical volumes
vgreduce HP-UX remove physical volumes from an LVM volume group
lvsplit HP-UX split mirrored LVM logical volume into two logical volumes
lvmerge HP-UX merge two LVM logical volumes into one logical volume
lvrmboot HP-UX remove LVM logical volume link to root, primary swap, or dump volume
volunroot Tru64 Remove Logical Storage Manager hooks for bootable volumes
lvcreate HP-UX create logical volume in LVM volume group
pvdisplay HP-UX display information about physical volumes within LVM volume group
vgextend HP-UX extend an LVM volume group by adding physical volumes
vxdestroy_lvmroot HP-UX remove LVM root disk and associated LVM volume group
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service