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
lvmpvg(4) Kernel Interfaces Manual lvmpvg(4)
NAME
lvmpvg - LVM physical volume group information file
SYNOPSIS
DESCRIPTION
is an ASCII file that stores the volume-group information for all of the physical volume groups in the system. The information is stored
in a hierarchical format.
First, it starts with a volume group under which multiple physical volume groups can exist. Under each physical volume group, a list of
physical volumes can be specified. There must be at least one physical volume group in each volume group that appears in this file. The
physical-volume-group name must be unique within the corresponding volume group, although it is permissible to use a common physical volume
group name across different volume groups. There can be as many volume groups in this file as there are in the system.
Instead of using the and commands, the administrator can edit this file to create and extend physical volume groups. However, care must be
taken to ensure that all physical volumes to be included in the file have already been defined in their respective volume groups by previ-
ous use of or
The file format has the following structure. and are keywords that introduce the names of the volume group and physical volume group,
respectively.
pv_path
...
pv_path
...
pv_path
...
The variables are defined as follows:
pv_path The block device path name of a physical volume within the volume group.
pvg_name The name of the physical volume group. It must be unique within the volume group.
vg_name The path name of the volume group.
EXAMPLES
The following example shows an file containing two volume groups: the first containing two physical volume groups, each with two physical
volumes defined in it; the second containing three physical volume groups, each with one physical volume defined in it.
SEE ALSO
vgcreate(1M), vgextend(1M), vgreduce(1M), vgremove(1M), intro(7), lvm(7).
lvmpvg(4)