LVM version 2.0


 
Thread Tools Search this Thread
Operating Systems HP-UX LVM version 2.0
# 1  
Old 02-24-2017
LVM version 2.0

Hi,

I am trying to change the value "VG Max Size" from 1t to 3t on lvm version 2.0 via the vgmodify command, but this command is not longer supported in version 2.0. With what command can I can the "VG Max Size" value for lvm version 2.0 , I am using 11.3i hpux version.


Thanks and Regards

The error I get is
Code:
Error: This command is not supported on volume group version 2.0.

# 2  
Old 02-25-2017
Can you post :
Code:
vgdisplay -v <yourvolumegroup>

Can you check this HP documentation for reference (vgmodify) :
http://h20566.www2.hpe.com/hpsc/doc/...r_na-c02023734

Also, what was the exact vgmodify command you ran ?

Hope that helps
Regards
Peasant.
# 3  
Old 02-27-2017
Thanks for your reply just wanted to understand if vgmodify command can be run for the version 2.0 , cause I have tried all the valid examples of vgmodify command and they do not work. In the end I just created a new vg with the required values and copied all the old data onto the new vg.

---------- Post updated at 07:44 AM ---------- Previous update was at 06:51 AM ----------

Code:
The command tried was :

sudo vgmodify -a -S 2099136m vg_ignite

/var/opt/ignite>>vgdisplay -v vg_ignite |more
--- Volume groups ---
VG Name                     /dev/vg_ignite
VG Write Access             read/write
VG Status                   available
Max LV                      511
Cur LV                      1
Open LV                     1
Max PV                      511
Cur PV                      19
Act PV                      19
Max PE per PV               131072
VGDA                        38
PE Size (Mbytes)            8
Total PE                    102467
Alloc PE                    102467
Free PE                     0
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  2.0
VG Max Size                 1t
VG Max Extents              131072

   --- Logical volumes ---
   LV Name                     /dev/vg_ignite/lv_ignite
   LV Status                   available/syncd
   LV Size (Mbytes)            819736
   Current LE                  102467
   Allocated PE                102467
   Used PV                     19

# 4  
Old 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 ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copy a file from directroy/ prior version to the directory/ new version

How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies

2. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

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

3. UNIX for Advanced & Expert Users

Advanced Search * View * Edit JAVA version to WORK in GLASSFISH Forum topic JAVA version

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

4. AIX

Help with lvm

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

5. HP-UX

How to reduce LVM to create another LVM

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

6. AIX

lvm

Hi. can anyone define about VGDA,VGSA,and quorum in aix.. (1 Reply)
Discussion started by: sumathi.k
1 Replies

7. Red Hat

Lvm

Hi, can we create logical volume from 2 different volume groups. (1 Reply)
Discussion started by: gopalredhat
1 Replies

8. Red Hat

lvm with -- on the name

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

9. Solaris

Migrate unix version 8 to version 9

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

10. AIX

Help with LVM

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
Login or Register to Ask a Question