Sponsored Content
Operating Systems HP-UX Unable To Extend the Size of a Logical Volume File System Post 302516998 by Rob Sandifer on Monday 25th of April 2011 07:43:42 PM
Old 04-25-2011
Unable To Extend the Size of a Logical Volume File System

Background:

Code:
# uname -a
HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license
deedee.rsn.hp.com:/

Code:
# bdf /opt
Filesystem              kbytes     used      avail     %used          Mounted on
/dev/vg00/lvol6     6553600   6394216   158144   98%             /opt

/opt is almost full and so lvol6 needs to be extended in size

When I try to extend lvol6 from 400 PE's to a new size of 493 PE's, I get the following:

Code:
# lvextend -l 493 /dev/vg00/lvol6
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol6" could not be extended.



I did a "pvdisplay -v" and discovered that all of the PE's in lvol6 are located on disk /dev/dsk/c8t0d1s2 /dev/dsk/c8t0d1s2 is part of
a SAN environment.

Running "pvdisplay -v /dev/dsk/c8t0d1s2"
shows that there are now zero Free PE available.

Code:
# pvdisplay -v /dev/dsk/c8t0d1s2 | more

--- Physical volumes ---
PV Name /dev/dsk/c8t0d1s2
PV Name /dev/dsk/c10t0d1s2 Alternate Link
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 9
PE Size (Mbytes) 16
Total PE 3463
Free PE 0
Allocated PE 3463
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On

--- Distribution of physical volume ---
LV                            Name LE of LV       PE for LV
/dev/vg00/lvol1                 19                    19
/dev/vg00/lvol2                256                   256
/dev/vg00/lvol3                 33                    33
/dev/vg00/lvol4                 32                    32
/dev/vg00/lvol5                   2                     2
/dev/vg00/lvol6                400                   400
/dev/vg00/lvol7                384                   384
/dev/vg00/lvol8                288                   288
/dev/vg00/lvol9               2049                  2049 

My question is this: Is it somehow possible to free up the extents shown for one of the other file systems, specifically, /dev/vg00/lvol9, and make them available for /dev/vg00/lvol6 ?

Thanks in advance!

Rob S.

Last edited by Neo; 04-25-2011 at 08:54 PM.. Reason: added code tags
 

10 More Discussions You Might Find Interesting

1. Solaris

How to reduce the size of a logical volume in solaris 9

Hi, I have the following problem. I just have a new machine with mirroring. The logical volume for /opt is dimensionned to 75 GB which is to much. I want a volume of 10 GB. How can I reduce the size ? I tried to reduce the size of the slice from 75 GB to 10 GB, but the size of the logical volume... (6 Replies)
Discussion started by: aribault
6 Replies

2. AIX

Extend one Logical Volume

Hi All, I am new to AIX. I need to extend one Logical Volume it is jfs type on On AIX 5.1. I have enough free space on the volume group for this extension Can I use smitty chjfs , will this do it without interruptions to the application that is using this Logical Volume. Thanks Scampi (1 Reply)
Discussion started by: scampi
1 Replies

3. AIX

Help - can't extend logical volume ?

Hi, Smit "Increase the Size of a Logical Volume" command failed. Output: ---------------------------------------------------------- Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. The distribution of this command (111) failed on... (2 Replies)
Discussion started by: vilius
2 Replies

4. HP-UX

[Solved] How to extend a mirrored logical volume?

Want to extend the /home filesystem: Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol4 262144 260088 2056 99% /home root@server:./root # vgdisplay vg00 --- Volume groups --- VG Name /dev/vg00 VG Write Access read/write VG Status available Max LV 255 Cur LV 11 Open... (4 Replies)
Discussion started by: proactiveaditya
4 Replies

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

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

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

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

9. AIX

Cannot extend logical volume

Dear All, We have an Oracle running on AIX 6.1, now there have an disk spaces issue and we found that we cannot perform to extend the logical volume. Could help to review and make some suggestions. Status: we already provisioned some disks to the host, new disks can be scan and add into the... (11 Replies)
Discussion started by: lckdanny
11 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
VGIMPORTCLONE(8)					      System Manager's Manual						  VGIMPORTCLONE(8)

NAME
vgimportclone - import and rename duplicated volume group (e.g. a hardware snapshot) SYNOPSIS
vgimportclone [-n|--basevgname VolumeGroupName] [-i|--import] PhysicalVolume [PhysicalVolume...] DESCRIPTION
vgimportclone is used to import a duplicated VG (e.g. hardware snapshot). Duplicate VG(s) and PV(s) are not able to be used until they are made to coexist with the origin VG(s) and PV(s). vgimportclone renames the VG associated with the specified PV(s) and changes the associ- ated VG and PV UUIDs. OPTIONS
See lvm for common options. -n|--basevgname VolumeGroupName By default the snapshot VG will be renamed to the original name plus a numeric suffix to avoid duplicate naming (e.g. 'test_vg' would be renamed to 'test_vg1'). This option will override the base VG name that is used for all VG renames. If a VG already exists with the specified name a numeric suffix will be added (like the previous example) to make it unique. -i|--import Import exported Volume Groups. Otherwise VGs that have been exported will not be changed (nor will their associated PVs). ENVIRONMENT VARIABLES
LVM_BINARY The LVM2 binary to use. Defaults to "lvm". EXAMPLES
The origin VG vg00 has origin PVs /dev/sda and /dev/sdb and the respective snapshot PVs are /dev/sdc and /dev/sdd. To rename the VG asso- ciated with /dev/sdc and /dev/sdd from vg00 to vg00_snap (and to change associated VG and PV UUIDs) do: vgimportclone --basevgname vg00_snap /dev/sdc /dev/sdd SEE ALSO
lvm(8) Red Hat, Inc. LVM TOOLS 2.02.95(2) (2012-03-06) VGIMPORTCLONE(8)
All times are GMT -4. The time now is 07:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy