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

  man pages->HP-UX 11i man pages -> vxdestroy_lvmroot (1m)              
Title
Content
Arch
Section
 

t(1M)

Contents


 vxdestroy_lvmroot(1M)            VxVM 3.5             vxdestroy_lvmroot(1M)
                                 1 Jun 2002



 NAME    [Toc]    [Back]
      vxdestroy_lvmroot - remove LVM root disk and associated LVM volume
      group

 SYNOPSIS    [Toc]    [Back]
      vxdestroy_lvmroot [-v] [-b] lvm_root_disk

 DESCRIPTION    [Toc]    [Back]
      The vxdestroy_lvmroot command tears down and removes the LVM volume
      group associated with the specified physical disk. This is done by
      removing the volumes in the volume group and then removing the volume
      group.



 OPTIONS    [Toc]    [Back]
      -b        Invokes the setboot command to change the primary boot disk
                to the VxVM root disk from which the system was booted (if
                the primary boot disk is not already set to this disk).  The
                alternate boot device remains unchanged.  If the -v option
                is also specified, the settings of the primary and alternate
                boot devices are displayed.

      -v        Outputs verbose messages including a timestamp that
                indicates major operations being performed.

 ARGUMENTS    [Toc]    [Back]
      lvm_root_disk
           Specifies the device name of the LVM root disk that is to be
           destroyed, along with its entire volume group.

 EXAMPLES    [Toc]    [Back]
      This example shows the vxdestroy_lvmroot command invoked in its
      simpliest form:

      /etc/vx/bin/vxdestroy_lvmroot c5t1d0


      # /etc/vx/bin/vxdestroy_lvmroot -v -b c3t0d0
      Are you sure about destroying c3t0d0 (imported on VG /dev/vg02) ? YES
      vxdestroy_lvmroot 06:02: Tearing down /dev/vg02 on device c3t0d0
      vxdestroy_lvmroot 06:02:
        Unmounting and removing any volumes associated with /dev/vg02
      vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol1
      vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol2
      vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol3
      vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol4
      vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol5
      vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol6
      vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol7
      vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol8



                                    - 1 -       Formatted:  January 24, 2005






 vxdestroy_lvmroot(1M)            VxVM 3.5             vxdestroy_lvmroot(1M)
                                 1 Jun 2002



      vxdestroy_lvmroot 06:02: Removing Volume Group /dev/vg02
      vxdestroy_lvmroot 06:02: Removing device files in /dev/vg02
      vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c3t0d0
      vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c1t1d3
      vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c1t1d4
      vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c1t1d5
      vxdestroy_lvmroot 06:03: Current setboot values:
      vxdestroy_lvmroot 06:03: Primary:       0/0/6/0/0.0.0
      vxdestroy_lvmroot 06:03: Alternate:     0/0/1/0/0.1.0
      vxdestroy_lvmroot 06:03:
        Making disk c0t1d0 (0/0/1/0/0.1.0) the primary boot disk
      vxdestroy_lvmroot 06:03:
        Removal of device c3t0d0, volume group /dev/vg02 was successful


 SEE ALSO    [Toc]    [Back]
      cpio(1), dd(1), fsck(1M), setbootvxres_lvmroot(1M)


                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
vxcp_lvmroot HP-UX copy LVM root disk onto new VERITAS Volume Manager root disk
vxres_lvmroot HP-UX restore LVM root disk from VERITAS Volume Manager root disk
lvrmboot HP-UX remove LVM logical volume link to root, primary swap, or dump volume
vxrootmir HP-UX create a mirror of a VERITAS Volume Manager root disk
vgrestore HP-UX restore a VxVM disk group back to an LVM volume group
vxvmboot HP-UX prepare VERITAS Volume Manager volume as a root, boot, primary swap or dump volume
vgreduce HP-UX remove physical volumes from an LVM volume group
vgremove HP-UX remove LVM volume group definition from the system
lvremove HP-UX remove one or more logical volumes from LVM volume group
vximportdg HP-UX import a disk group into the VERITAS Volume Manager configuration
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service