Increase Size of a Volume Group


 
Thread Tools Search this Thread
Operating Systems HP-UX Increase Size of a Volume Group
# 1  
Old 11-18-2011
Increase Size of a Volume Group

Hi I have hp-ux 10.20

I have have my operating system VG of 7 GB in a 36Gb disk. So I have like 29GB of unused disk space. There is any way to increase my VG size, or to add another VG in the same disk so I can use all the disk space?

Another question, what is the maximun size that a VG can be in hp 10.20?
# 2  
Old 11-18-2011
Show us the output of
Code:
vgdisplay -v vg00

# 3  
Old 11-18-2011
Code:
# vgdisplay -v vg02
--- Volume groups ---
VG Name                     /dev/vg02
VG Write Access             read/write     
VG Status                   available                 
Max LV                      255    
Cur LV                      5      
Open LV                     5      
Max PV                      16     
Cur PV                      1      
Act PV                      1      
Max PE per PV               2288         
VGDA                        2   
PE Size (Mbytes)            4               
Total PE                    2287    
Alloc PE                    1583    
Free PE                     704     
Total PVG                   0        

   --- Logical volumes ---
   LV Name                     /dev/vg02/lvol1
   LV Status                   available/syncd           
   LV Size (Mbytes)            100             
   Current LE                  25        
   Allocated PE                25          
   Used PV                     1       

   LV Name                     /dev/vg02/lvol2
   LV Status                   available/syncd           
   LV Size (Mbytes)            512             
   Current LE                  128       
   Allocated PE                128         
   Used PV                     1       

   LV Name                     /dev/vg02/lvol3
   LV Status                   available/syncd           
   LV Size (Mbytes)            3700            
   Current LE                  925       
   Allocated PE                925         
   Used PV                     1       

   LV Name                     /dev/vg02/lvol4
   LV Status                   available/syncd           
   LV Size (Mbytes)            20              
   Current LE                  5         
   Allocated PE                5           
   Used PV                     1       

   LV Name                     /dev/vg02/lvol5
   LV Status                   available/syncd           
   LV Size (Mbytes)            2000            
   Current LE                  500       
   Allocated PE                500         
   Used PV                     1       


   --- Physical volumes ---
   PV Name                     /dev/dsk/c0t4d0
   PV Status                   available    
   Total PE                    2287    
   Free PE                     704     
----------------------------------------------------
ioscan -fnC disk
Class     I  H/W Path      Driver   S/W State   H/W Type     Description
=========================================================================

disk      6  8/0/19/0.4.0  sdisk    CLAIMED     DEVICE       SEAGATE ST336607LW
                          /dev/dsk/c0t4d0   /dev/rdsk/c0t4d0


Last edited by pludi; 11-18-2011 at 03:32 PM..
# 4  
Old 11-18-2011
vgextend

Have you read about the vgextend command?

Man Page for vgextend (all Section 1m) - The UNIX and Linux Forums
# 5  
Old 11-18-2011
I did it.. but It doesnt really say´s anything clear how to increase or add another colume group. I tried from SAM, but it doesnt let me change, it says that the physical volume already belong to a group
# 6  
Old 11-18-2011
Can you
Code:
vgcreate VG02 /dev/dsk/c0t4d0

(Trying to do this from my memory.) Essentially trying to create a 2nd volume group from what is not yet allocated on that disk drive.
# 7  
Old 11-18-2011
You're on an older version of the OS, but I know in current versions using LVM, you can't create more than one volume group on one disk.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

2. AIX

Restvg does not assign the correct PP size to volume group

hello, i am running an AIX6.1 machine and i am trying to restore a volume group that i backed up using mkvgdata command from another server. although i checked file .data and i make sure that PP size for this volume group is 128, when i run restvg command to restore it, it fails because it... (2 Replies)
Discussion started by: omonoiatis9
2 Replies

3. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

4. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

5. UNIX for Dummies Questions & Answers

Unable to reduce the size of volume group?

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)
Discussion started by: pinga123
16 Replies

6. AIX

Volume Group - PP Size

Hi Friends- We know that the Max PP size in a Normal VG and Big VG is 1 GB and in case of scalable VG it is 128 G. My Questions: 1) What is the min PP size allowed for Normal VG, Big VG and Scalable VG? 2) Why is the max PP Size in Normal and Big VG is 1 G and 128 G in... (1 Reply)
Discussion started by: deshaipet
1 Replies

7. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

8. UNIX for Advanced & Expert Users

How to increase PV's in a Volume group ?

I have a Volume group on one of my production box. The no of PV's within the same is 16 which I need to increase. How can this be done ? Can this be done online or do we need a downtime for this ? Please provide the exact details and steps for this activity urgently, as need to do this on my... (3 Replies)
Discussion started by: kpatel786
3 Replies

9. AIX

Volume Group Size

Hello, Can somebody please help. I'm able to view volume groups by using the command "lsvg", how can I view what space is available to that particular volume group Many Thanks (3 Replies)
Discussion started by: ugxd14
3 Replies

10. UNIX for Advanced & Expert Users

How to check size of Volume Group

Did anyone knows how to check size/usage of a Volume Group in AIX 4.3.3? (4 Replies)
Discussion started by: s_aamir
4 Replies
Login or Register to Ask a Question