02-27-2017
You are missing other options for which you need to specify like VG Max Extents
currently set to (131072 * 8 MB), which is same as VG Max Size.
Read the docs. Changing volume group properties requires adjusting multiple volume group parameters (VG max size, max extent, extent size).
Best is configure those during creation of volume group, altho 2.x lvm relaxes the umount/deactivation for changing of vg if possible.
If you just do a vgcreate <vg> <disk> it will create those limits by default based on that one disk properties.
Adding multiples disks will change that behavior the layout like vgcreate <vg> <disk1> <disk2> <disk N> based, again, on the size of those.
This is documented in manual of vgcreate as default values for each switches you do not specify and their correlation / dependance (you specify one, other is being generated based on that value if not specified etc.)
Conclusion being, plan ahead and configure your volume group with all the possible options you might need in the future, don't let 'defaults' take over on everything.
Now you probably have new volume group with one 3 TB volume with max extents 3 TB and max volume group size of 3 TB or ?
10 More Discussions You Might Find Interesting
1. AIX
Sorry for the noob question; my experience is with Solaris.
Am I reading this right? Are these disks completely unused? Not possibly raw disks for informix or something?
hdisk5 0K-08-ff-0,1 Optimal RAID 10 Array 285.7GB
pdisk20 0K-08-00-2,0 Active Array Member 142.8GB... (2 Replies)
Discussion started by: filosmith
2 Replies
2. Solaris
i have a program writing in PRO C which currently running in unix version 8 tie with oracle 8i, but in the future company gonna migrate this OS to version 9.
Anything i have to prepare for my PRO C program to run in unix version 9? or anything would that impact my program couldn't run well?
what... (2 Replies)
Discussion started by: lsy
2 Replies
3. Red Hat
Hi All,
I created an lvm filesystem with a name with dash in the middle, like xxx-yyy (note, that it's only one dash).
I was able to create it smoothly with this instructions.
lvcreate -L 1G uservg -n xxx-yyy
ls /dev/uservg/xxx-yyy (check)
mkfs.ext3 /dev/uservg/xxx-yyy
mount... (1 Reply)
Discussion started by: itik
1 Replies
4. Red Hat
Hi,
can we create logical volume from 2 different volume
groups. (1 Reply)
Discussion started by: gopalredhat
1 Replies
5. AIX
Hi.
can anyone define about VGDA,VGSA,and quorum in aix.. (1 Reply)
Discussion started by: sumathi.k
1 Replies
6. HP-UX
Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks (4 Replies)
Discussion started by: lamoul
4 Replies
7. AIX
i have os 5.1 and i do mirror with hdisk0 and hdisk1 on rootvg
at the end i get error in mail that:
At least one partition mirror is broken please call sysadmin
hd5 boot 1 2 2 closed/stale N/A
the other fs seems ok and sync
what to do about the hd5??? (4 Replies)
Discussion started by: amitt74
4 Replies
8. UNIX for Advanced & Expert Users
Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1
a. Debian Squeeze (HP DL360). Need to use java version6
On Debian, I did apt-get install sun-java6-jdk. So when I check it's
java version "1.6.0_22"
Java(TM) SE... (1 Reply)
Discussion started by: lhareigh890
1 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys,
I m using redhat 6, I have installed root partition as non-LVM .
Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies
10. Shell Programming and Scripting
How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies
VGSPLIT(8) System Manager's Manual VGSPLIT(8)
NAME
vgsplit - split a volume group into two
SYNOPSIS
vgsplit [--alloc AllocationPolicy] [-A|--autobackup {y|n}] [-c|--clustered {y|n}] [-d|--debug] [-h|--help] [-l|--maxlogicalvolumes MaxLogi-
calVolumes] [-M|--metadatatype type] [-p|--maxphysicalvolumes MaxPhysicalVolumes] [--[vg]metadatacopies] NumberOfCopies|unmanaged|all]
[-n|--name LogicalVolumeName] [-t|--test] [-v|--verbose] SourceVolumeGroupName DestinationVolumeGroupName [ PhysicalVolumePath ...]
DESCRIPTION
vgsplit moves one or more physical volumes from SourceVolumeGroupName into DestinationVolumeGroupName. The physical volumes moved can be
specified either explicitly via PhysicalVolumePath, or implicitly by -n LogicalVolumeName, in which case only physical volumes underlying
the specified logical volume will be moved.
If DestinationVolumeGroupName does not exist, a new volume group will be created. The default attributes for the new volume group can be
specified with --alloc, --clustered, --maxlogicalvolumes, --metadatatype, --maxphysicalvolumes and --[vg]metadatacopies, (see vgcreate(8)
for a description of these options). If any of these options are not given, default attribute(s) are taken from SourceVolumeGroupName. If
a non-LVM2 metadata type (e.g. lvm1) is being used, you should use the -M option to specify the metadata type directly.
If DestinationVolumeGroupName does exist, it will be checked for compatibility with SourceVolumeGroupName before the physical volumes are
moved. Specifying any of the above default volume group attributes with an existing destination volume group is an error, and no split will
occur.
Logical volumes cannot be split between volume groups. Vgsplit(8) only moves complete physical volumes: To move part of a physical volume,
use pvmove(8). Each existing logical volume must be entirely on the physical volumes forming either the source or the destination volume
group. For this reason, vgsplit(8) may fail with an error if a split would result in a logical volume being split across volume groups.
A vgsplit into an existing volume group retains the existing volume group's value of vgmetadatacopies (see vgcreate and lvm.conf for fur-
ther explanation of vgmetadatacopies). To change the value of vgmetadatacopies, use vgchange.
OPTIONS
See lvm for common options.
SEE ALSO
lvm(8), vgcreate(8), vgextend(8), vgreduce(8), vgmerge(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGSPLIT(8)