Sponsored Content
Full Discussion: Unable to extend LV
Operating Systems Linux Unable to extend LV Post 302990664 by Gabriander on Monday 30th of January 2017 11:32:31 AM
Old 01-30-2017
Unable to extend LV

Hi all.

I have a Logical volume that I can't extend, with this error message:

Code:
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 1.98 GB
    Found volume group "aplic_vg"
    Found volume group "aplic_vg"
    Loading aplic_vg-siteminderwa_lv table (253:40)
  device-mapper: reload ioctl failed: Invalid argument
  Failed to suspend siteminderwa_lv
    Creating volume group backup "/etc/lvm/backup/aplic_vg" (seqno 76).

Any idea about which could be the root cause?

Code:
server171:root:/root# vgdisplay aplic_vg
  --- Volume group ---
  VG Name               aplic_vg
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  75
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                24
  Open LV               21
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               81.00 GB
  PE Size               4.00 MB
  Total PE              20735
  Alloc PE / Size       20474 / 79.98 GB
  Free  PE / Size       261 / 1.02 GB
  VG UUID               d52Ecp-fgib-Z1vs-AcCh-ZY26-2uJF-lhHQbk

server171:root:/root# lvdisplay /dev/aplic_vg/siteminderwa_lv
  --- Logical volume ---
  LV Name                /dev/aplic_vg/siteminderwa_lv
  VG Name                aplic_vg
  LV UUID                f9XCaT-6FR2-0cc3-O3QY-qIn2-1XZO-GQb6Zu
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                1000.00 MB
  Current LE             250
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:40

server171:root:/root# lvscan | grep siteminder
  ACTIVE            '/dev/aplic_vg/siteminderwa_lv' [1000.00 MB] inherit

server171:root:/root# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)


Last edited by Gabriander; 01-30-2017 at 12:41 PM..
 

10 More Discussions You Might Find Interesting

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

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

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

4. HP-UX

Unable To Extend the Size of a Logical Volume File System

Background: # uname -a HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license deedee.rsn.hp.com:/ # bdf /opt Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol6 6553600 6394216 158144 98% /opt /opt is almost full... (3 Replies)
Discussion started by: Rob Sandifer
3 Replies

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

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

7. AIX

Unable to extend volume group(VG)

Would some help me on this below I am trying to extend file system on AIX and however unable to extend the file system. 0516-306 extendvg: Unable to find physical volume 20 in the Device Configuration Database. 0516-321 extendvg: Physical volume u01-lv is not configured. 0516-792... (15 Replies)
Discussion started by: murali969
15 Replies

8. AIX

/usr/sbin/extendvg: Unable to extend volume group

Dear Expret, Help me about my issue, I trying add new disk to volume Group but error: step add new disk to volume group. 1. ~Change a Volume Group Add a Physical Volume to a Volume Group Remove a Physical Volume from a Volume Group Reorganize a Volume Group... (6 Replies)
Discussion started by: williamen
6 Replies

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

10. AIX

Unable to extend file system

Hi, I have inherited this AIX 5.3 host. I'm unable to increase the /usr file system. It gives me this error. What needs to be done to remove this error? vios:/home/padmin$ chfs -a size=+128M /usr 0516-304 lquerypv: Unable to find device id 0002ef4df616f9690000000000000000 in the Device ... (14 Replies)
Discussion started by: dn888
14 Replies
LVEXTEND(8)						      System Manager's Manual						       LVEXTEND(8)

NAME
       lvextend - extend the size of a logical volume

SYNOPSIS
       lvextend [--alloc AllocationPolicy] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--noudevsync] [-i|--stripes Stripes [-I|--stripesize
       StripeSize]]   {-l|--extents   [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}]   |   -L|--size    [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}
       [-f|--force] [-n|--nofsck] [-r|--resizefs] [-t|--test] [-v|--verbose] LogicalVolumePath [PhysicalVolumePath[:PE[-PE]]...]

DESCRIPTION
       lvextend allows you to extend the size of a logical volume.  Extension of snapshot logical volumes (see lvcreate(8) for information to cre-
       ate snapshots) is supported as well.  But to change the number of copies in a mirrored logical volume use lvconvert(8).

OPTIONS
       See lvm for common options.

       --noudevsync
	      Disable udev synchronisation. The process will not wait for notification from udev.  It will continue irrespective of  any  possible
	      udev  processing	in the background.  You should only use this if udev is not running or has rules that ignore the devices LVM2 cre-
	      ates.

       -l, --extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}]
	      Extend or set the logical volume size in units of logical extents.  With the + sign the value is added to the  actual  size  of  the
	      logical volume and without it, the value is taken as an absolute one.  The number can also be expressed as a percentage of the total
	      space in the Volume Group with the suffix %VG, relative to the existing size of the Logical Volume  with	the  suffix  %LV,  of  the
	      remaining  free  space  for the specified PhysicalVolume(s) with the suffix %PVS, as a percentage of the remaining free space in the
	      Volume Group with the suffix %FREE, or (for a snapshot) as a percentage of the total space in the Origin	Logical  Volume  with  the
	      suffix %ORIGIN.  The resulting value is rounded upward.

       -L, --size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]
	      Extend  or set the logical volume size in units of megabytes.  A size suffix of M for megabytes, G for gigabytes, T for terabytes, P
	      for petabytes or E for exabytes is optional.  With the + sign the value is added to the actual size of the logical volume and  with-
	      out it, the value is taken as an absolute one.

       -i, --stripes Stripes
	      Gives  the number of stripes for the extension.  Not applicable to LVs using the original metadata LVM format, which must use a sin-
	      gle value throughout.

       -I, --stripesize StripeSize
	      Gives the number of kilobytes for the granularity of the stripes.  Not applicable to LVs using the  original  metadata  LVM  format,
	      which must use a single value throughout.
	      StripeSize must be 2^n (n = 2 to 9)

       -f, --force
	      Proceed with size extension without prompting.

       -n, --nofsck
	      Do  not  perform	fsck  before  extending  filesystem  when filesystem requires it. You may need to use --force to proceed with this
	      option.

       -r, --resizefs
	      Resize underlying filesystem together with the logical volume using fsadm(8).

Examples
       "lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3" tries to extend the size of that logical volume by 54MB on physical volume /dev/sdk3.  This is
       only possible if /dev/sdk3 is a member of volume group vg01 and there are enough free physical extents in it.

       "lvextend  /dev/vg01/lvol01  /dev/sdk3"	tries  to  extend  the	size of that logical volume by the amount of free space on physical volume
       /dev/sdk3.  This is equivalent to specifying "-l +100%PVS" on the command line.

       "lvextend -L+16M vg01/lvol01 /dev/sda:8-9 /dev/sdb:8-9"
       tries to extend a logical volume "vg01/lvol01" by 16MB using physical extents /dev/sda:8-9 and /dev/sdb:8-9 for allocation of extents.

SEE ALSO
       fsadm(8), lvm(8), lvcreate(8), lvconvert(8), lvreduce(8), lvresize(8), lvchange(8)

Sistina Software UK					 LVM TOOLS 2.02.95(2) (2012-03-06)					       LVEXTEND(8)
All times are GMT -4. The time now is 11:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy