how to extend a vg on the same disk


 
Thread Tools Search this Thread
Operating Systems HP-UX how to extend a vg on the same disk
# 1  
Old 04-26-2007
how to extend a vg on the same disk

on the disk array (EMC Clariion cx300):
we added 3 disk and extended the LUN corresponding to HP-9000 (rp7410)

on HP-UX 11.11:
diskinfo /dev/rdsk/c10t0d0, show more disk space, but
vgdisplay vg13 does not show more space

So the problem is the disk had increased, but vgdisplay does not show this biggest size
how to extend the space on vg13

regards
Pedro
email address removed
# 2  
Old 04-26-2007
Please read the rules and refrain from posting your email address. As for your question, I do not see a way to do that. When LVM was designed they do not consider that an existing disk might grow somehow. You would need to remove the physical volume from the volume group, redo the pvcreate, and then add the PV back in to the VG. This would mean that you would lose all data on the disk. When you add disk space, you really want to make it appear that a new disk drive was installed. Then you can just add the new space into the VG.
# 3  
Old 04-27-2007
vgmodify

thanks for your reply

I read there is two posibility

1.- backaup everything on the VG, delete the VG and the PV, recreate it and restore the data, but this is time consuming, and let the system down for a lot of time

2.- use the undocument command vgmodify, but this command do not came with the regular operating system (HP-UX 11.11), and I don't know where to download it.

regards
pedro
# 4  
Old 04-27-2007
EMC clarions CX300 and CX 340

Hi
i had been using HP disk storage array.Now i have EMC installation done CX300 and CX340.I am new to EMC...needed study material on it.

rgds
# 5  
Old 04-27-2007
Quote:
Originally Posted by pedro_lezaeta
thanks for your reply

I read there is two posibility

1.- backaup everything on the VG, delete the VG and the PV, recreate it and restore the data, but this is time consuming, and let the system down for a lot of time

2.- use the undocument command vgmodify, but this command do not came with the regular operating system (HP-UX 11.11), and I don't know where to download it.

regards
pedro
Interesting! vgmodify can do this and it is included with the most recent HP-UX version. It also seems to be in patch PHCO_35524, but that is for HP-UX 11.23. Try to get the lastest LVM commands patch for your OS and see if vgmodify is there.
# 6  
Old 05-02-2007
I use vgmodify, but there is a new error message sayng that vg can't address more than 1 TB. So it seem that I will need to backup everything, and made and smaller LUN
# 7  
Old 05-02-2007
A PV can be 2 TB. LV's that work correctly are also limited to 2 TB. The only limit I see on a VG is that you can only have 255 PV's.

LVM Limits
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to extend a disk in veritas volume manager in veritas cluster?

Hi Experts, I wanted to extend a veritas file system which is running on veritas cluster and mounted on node2 system. #hastatus -sum -- System State Frozen A node1 running 0 A node2 running 0 -- Group State -- Group System Probed ... (1 Reply)
Discussion started by: Skmanojkum
1 Replies

2. Red Hat

Is it possible to extend PV

Hello, I have redhat and centos systems that I've only been able to grow the VG by adding more disks. I've been searching the web for a way to extend a volume group by growing the physical disk only and not having to add a second disk. Is it possible? I can do this with AIX, by just... (0 Replies)
Discussion started by: bbbngowc
0 Replies

3. Linux

Unable to extend LV

Hi all. I have a Logical volume that I can't extend, with this error message: server171:root:/root# lvextend -L +1024M -v /dev/aplic_vg/siteminderwa_lv Finding volume group aplic_vg Archiving volume group "aplic_vg" metadata (seqno 75). Extending logical volume siteminderwa_lv to... (0 Replies)
Discussion started by: Gabriander
0 Replies

4. Red Hat

How to extend disk space?

Hi All, I am working with a virtual machine of redhat and hard-disk is 100g in all, and the system free size is about 60g. while the problem is when i run command: df -h, the root path seems already full. So i am wondering, is there any command i can work with to extend space for mounted... (2 Replies)
Discussion started by: ivyyoung
2 Replies

5. AIX

VIOS: Extend virtual disk assigned to running lpar?

Hello, VIOS 2.2.1.4 using IVM. I'm trying to extend a virtual disk assigned to a running lpar so that I can expand the lpar's datavg and grow some filesystems for the user. Storage admin expanded the lun and new size was reflected in VIO right away. I then needed the storage pool to... (2 Replies)
Discussion started by: j_aix
2 Replies

6. Solaris

Solaris x86 extend disk

hi all! i extend disk on SPARC solaris without problems, but with x86 Solaris 10 i have some troubles . Help pls iostat show me updated disk size, but in format i can't choose Auto configure options to use modified slice # iostat -E c0d1 cmdk1 Soft Errors: 0 Hard Errors: 0 Transport... (4 Replies)
Discussion started by: ijj
4 Replies

7. AIX

How to extend mirrored VG?

Hi all, I need to extend a lv, but unfortunately I do not have enough space on my mirrored Volume group. I've planned to add 2 more disks to this vg (for mirroring) But ... what's the next steps to extend my lv using these 2 disks with a valid mirroring ? 1. extendvg myvg disk1 disk2... (3 Replies)
Discussion started by: unclefab
3 Replies

8. Red Hat

Can't extend lv

Hi, I have recently increased the size of my pv and I am now attempting to increase the lv but I get the following error: # vgdisplay --- Volume group --- VG Name VolGroup00 System ID Format lvm2 Metadata Areas 1 Metadata... (7 Replies)
Discussion started by: Duffs22
7 Replies

9. Solaris

How to extend a filesystem

I am running solaris 10 with Veritas. I want to extend a filesystem. It's an oracle partition (/ora12). How can I find out if there is space available to expand the filesystem and then how does one extend it. I'm from the HPUX world and so LVM was always how I did things. Thanks jackie (5 Replies)
Discussion started by: jackiebaron
5 Replies

10. AIX

Extend a Filesystem with other LV

Hi Everybody, Is it possible to extend a Filesystem by adding a new LV that exist on different VG to this Filesystem? Thanks in advance. (6 Replies)
Discussion started by: aldowsary
6 Replies
Login or Register to Ask a Question