VGREDUCE(8) System Manager's Manual VGREDUCE(8)NAME
vgreduce - reduce a volume group
SYNOPSIS
vgreduce [-a|--all] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--removemissing] [-t|--test] [-v|--verbose] VolumeGroupName [Physi-
calVolumePath...]
DESCRIPTION
vgreduce allows you to remove one or more unused physical volumes from a volume group.
OPTIONS
See lvm for common options.
-a, --all
Removes all empty physical volumes if none are given on command line.
--removemissing
Removes all missing physical volumes from the volume group, if there are no logical volumes allocated on those. This resumes normal
operation of the volume group (new logical volumes may again be created, changed and so on).
If this is not possible (there are logical volumes referencing the missing physical volumes) and you cannot or do not want to remove
them manually, you can run this option with --force to have vgreduce remove any partial LVs.
Any logical volumes and dependent snapshots that were partly on the missing disks get removed completely. This includes those parts
that lie on disks that are still present.
If your logical volumes spanned several disks including the ones that are lost, you might want to try to salvage data first by acti-
vating your logical volumes with --partial as described in lvm (8).
SEE ALSO lvm(8), vgextend(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREDUCE(8)
Check Out this Related Man Page
VGREDUCE(8) System Manager's Manual VGREDUCE(8)NAME
vgreduce - reduce a volume group
SYNOPSIS
vgreduce [-a|--all] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--removemissing] [-t|--test] [-v|--verbose] VolumeGroupName [Physi-
calVolumePath...]
DESCRIPTION
vgreduce allows you to remove one or more unused physical volumes from a volume group.
OPTIONS
See lvm for common options.
-a, --all
Removes all empty physical volumes if none are given on command line.
--removemissing
Removes all missing physical volumes from the volume group, if there are no logical volumes allocated on those. This resumes normal
operation of the volume group (new logical volumes may again be created, changed and so on).
If this is not possible (there are logical volumes referencing the missing physical volumes) and you cannot or do not want to remove
them manually, you can run this option with --force to have vgreduce remove any partial LVs.
Any logical volumes and dependent snapshots that were partly on the missing disks get removed completely. This includes those parts
that lie on disks that are still present.
If your logical volumes spanned several disks including the ones that are lost, you might want to try to salvage data first by acti-
vating your logical volumes with --partial as described in lvm (8).
SEE ALSO lvm(8), vgextend(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREDUCE(8)
I am new to being a Unix admin and have a question about replacing some hardware. I have a K class box using HP-UX 10.20 with three disks. Two of the drives are in one logical volume. Every 3 or 4 days, the syslog is showing that one of these drives is experiencing "POWERFAILED" and then recovering... (6 Replies)
Hi all,
How do u rename a logical volume group and the logical volumes belonging to that? The logical volumes contain data and are in use.
eg: Renaming dev/vgov to dev/ov-dg ? (6 Replies)
I have a buch of logical volumes and I need to remove. I can able to remove them but when i remove lvm which has 5gb, i dont see
that space is alloted to root partition. Any ideas.Thanks (5 Replies)
I have successfully added new physical disks with the objective to expand an exisiting logical volume. How do I add the new disks to the logical volume so I can then expand the size of the lv and ultimately the file system. The disks have been added to the related Volume Group.
Thanks (7 Replies)
On my solaris box, default Sun volume manager is running.
I want to check the list of logical volumes and following details for each logical volume:
freeSpace
usedSpace
type
isClustered
auxId
permissions
currentLogicalExtent
segmentCount
allocationType
isOpen
To know state of... (12 Replies)
Hello all,
I have a Solaris Disksuite question :-
I will be adding 4 new drives to an E250 server and need will be configuring 2 striped volumes each consisting 2 new disks with SVM. In the end i will have 2 volumes each of 72gb. So in effect i will have 1 volume called D7 and another volume... (6 Replies)
Hello,
How can I obtain a lists of disks with their size (anytype: SAN LUNs, internal disks, etc.) attached to the system and not being extended inside a volume group?
The purpose of this list is to be part of a function of a script that I'm doing in order to resize filesystems and in the... (6 Replies)
Hi all,
I've created some logical volumes on a non-production server. I was supposed to make the new LV's similar to another LV already on the server. Supposed to be the similar to lvol5
I did everything right except one thing as somebody mentioned. I would like to figure out what I did... (6 Replies)
This is the report I got running the comand rptconf, but I would like to know what is the capacity of the disks installed into our server power 6 with AIX
System Model: IBM,7778-23X
Machine Serial Number: 1066D5A
Processor Type: PowerPC_POWER6
Processor Implementation Mode: POWER 6... (6 Replies)
My volume group of size 200 gb.
out of which only 100 gb is used by 2 logical volumes /dev/vg00/lvol0 and /dev/vg00/lvol0 respectively (both are 50 gb each).
Whenever i use vgreduce command to reduce the size of volume group i get below error.
# vgreduce vg00 -a
Physical volume... (16 Replies)
I wanted to know how we can combine volumes over 2 physical drives.
# fdisk -l
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 ... (16 Replies)
Under the df command, one of my logical volumes, /dev/hd4, was showing 100% Used, so I added 2 logical partitions, but its still showing 100% used. Is there a separate command I need to execute to reallocate? (5 Replies)
Hello
I am using LVM to create volumes.
After creating the volumes using "lvcreate" and then formating them as "ext3".
I mounted these volumes to find around 40 -50GB space wasted.
Any suggestions why?
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 ... (5 Replies)
Hi All,
I have a vg that consists of 2 physical disks (PV), To migrate the vg into these 2 new disks (presented from different SAN Storage), I use the mirrorvg command, but I am not sure the command I use is correct.
hdisk1 appvg
hdisk2 appvg
hdisk3 none
hdisk4 none
... (11 Replies)
I have a AIX 7.1 system that has 3 failed disks, 1 in rootvg and 2 in vg_usr1.
Here is the output of lspv.
# lspv
hdisk0 00044d4dfbb11575 vg_usr1 active
hdisk1 0000150179158027 vg_usr1 active
hdisk2 ... (11 Replies)