Can't extend lv

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Can't extend lv
# 1  
Old 10-17-2011
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:

Code:
# vgdisplay
  --- Volume group ---
  VG Name               VolGroup00
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  16
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                8
  Open LV               8
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               249.97 GB
  PE Size               32.00 MB
  Total PE              7999
  Alloc PE / Size       2013 / 62.91 GB
  Free  PE / Size       5986 / 187.06 GB
  VG UUID               Zme52J-J22F-PisG-oOSQ-wwB2-QJ29-ZpofJk
   
# lvextend -L +180G /dev/VolGroup00/lvol0
  Extending logical volume lvol0 to 205.00 GB
  device-mapper: reload ioctl failed: Invalid argument
  Failed to suspend lvol0

Any ideas on how I can resolve this?

R,
D.
# 2  
Old 10-17-2011
How did you increase the size of the PV?

I don't think the VG is aware of dynamic PV resizing.

Is the VG using a single disk?

It would be helpful to see the output of pvdisplay and lvdisplay as well.

Edit: Also, is it a real server or a virtualized environment?

Last edited by verdepollo; 10-17-2011 at 02:47 PM..
# 3  
Old 10-17-2011
Just thinkiing...

Do you need to
Code:
unmount

before this?
# 4  
Old 10-18-2011
Hi,

I have tried umounting this and it doesn't make a difference.

Code:
# pvdisplay
  --- Physical volume ---
  PV Name               /dev/cciss/c0d0p5
  VG Name               VolGroup00
  PV Size               250.00 GB / not usable 31.81 MB
  Allocatable           yes 
  PE Size (KByte)       32768
  Total PE              7999
  Free PE               5986
  Allocated PE          2013
  PV UUID               yU2Opq-vt11-nlmX-Evwa-RKv1-0H3O-pxRg

I ran the following command in order to resize the physical volume:

Code:
# pvresize --setphysicalvolumesize 250G /dev/cciss/c0d0p5

This is a BL460c blade server with hardware RAID1.

R,
D.
# 5  
Old 10-18-2011
sadf

can u put that complete command

Last edited by venikathir; 10-18-2011 at 09:48 AM.. Reason: fw
# 6  
Old 10-18-2011
I assume you are referring to the pvresize command? That is the complete command.
# 7  
Old 10-21-2011
This is a shot in the dark, but looks like there are flags to vgchange that might fix this.

--refresh
If any logical volume in the volume group is active, reload its
metadata. This is not necessary in normal operation, but may be
useful if something has gone wrong or if you're doing clustering
manually without a clustered lock manager.

-x, --resizeable {y|n}
Enables or disables the extension/reduction of this volume group
with/by physical volumes.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Shell Programming and Scripting

How to extend memory in UNIX?

Hi friends iam new to unix. how to extend memory in UNIx. what are the possible scenarios to increase memory. I just noticed we have swap memory also but when and how to use it. and what is the correct way to increase RAM. please provide information or some useful commands. Thanks (2 Replies)
Discussion started by: saidesh
2 Replies

4. 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

5. UNIX for Dummies Questions & Answers

Extend the values in a column

Hello, i have a file : 2010-10-28 17:57:42.581 #$!pre-dump!$#00027cv 060400552|060730|0963.000.2|30000261282|137943|176141|theipia_|01232006|1| 060400553|060730|0963.000.2|30000261283|137943|176141|theipia_|01232006|1|... (3 Replies)
Discussion started by: bdittmar
3 Replies

6. Filesystems, Disks and Memory

How to extend a filesystem??

OK I'm sure this question has been posed far too many times. I have solaris 10 x86 with NO Veritas or Disksuite filesystems. Below is the output of df -k # df -k Filesystem kbytes used avail capacity Mounted on / 10485760 547513 9317128 6% / /dev... (1 Reply)
Discussion started by: jackiebaron
1 Replies

7. 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

8. 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

9. HP-UX

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... (6 Replies)
Discussion started by: pedro_lezaeta
6 Replies

10. UNIX for Advanced & Expert Users

extend /usr on AIX

Hi! How to extend /usr partition in rootvg on AIX 4.3.3-09? I guess first I'll have to decrease the size of other partition(s) in rootvg? Thank you! (2 Replies)
Discussion started by: steve99
2 Replies
Login or Register to Ask a Question