Unable To Extend the Size of a Logical Volume File System
Background:
/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:
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.
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
Dunno about exact disk layout (stripe or non-stripe, probably not striped since it's root VG).
For these operations you must have online JFS option/depot installed (resizing mount points without umounting them).
As you probably know, root lvm's cannot be umounted during runtime.
Commands you will be using are :
Remember be careful when looking PE have their size, so if you are using fsadm be sure calculate first for reduction/increase and use appropriate switches (-l and -L). Also, after adding PE's to your LV, fsadm operation requires complete size (old + added) of LV.
1. Do you have OnlineJFS installed? (License required)
Secondly, we need to understand the fact that most of the things specified on books does not work when it comes to production environment. There are steps to do a lot of things, but, sometimes its a pain. Like, migrating a server from 11.11 to 11.31, its possible. But, again, you need to go through a lot of pain.
If I was going to do this, I would take a ignite backup (ignite is free), plan a downtime, restore it with the modified sizes. Should not take much time, no
confusions, no data loss, no pain.
Alternatively, you can also add up a lun / extend it from storage install DLE and work, or, extend your lvol on another disk under vg00 and proceed, but, again complicated.
Again, your scenario is possible. But, ignite would do a charm!
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)