11-10-2012
Hi, you can use lvextend to extend the logical volume. Then you would need to extend the file system. If your system has online JFS then you can use fsadm -b Otherwise you would need to unmount /home and use extendfs.
10 More Discussions You Might Find Interesting
1. AIX
I have AIX 5.1
I ran these commands and was not able to see what disk were mirrored to what. I thought this is what I should do?
lslv -m rd |more
lslv -m db |more
I get a error stating that it can't find or in the device configuation databse.
Is there another way to look? I have a physcal... (1 Reply)
Discussion started by: rocker40
1 Replies
2. AIX
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. UNIX for Advanced & Expert Users
Hello,
I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB.
If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information
Regards
Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies
4. AIX
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
5. AIX
Hello
I have a question
On one of my aix servers if I type lsvg -l rootvg I got this
0516-1147 : Warning - logical volume waslv may be partially mirrored.
waslv jfs2 277 477 3 open/syncd /usr/WebSphere
If I type lslv -m waslv |more
waslv:/usr/WebSphere... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
6. AIX
Hi!
Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes?
What items should I check, like where do I look at in smit? Or are there commands that I should execute?
I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies
7. HP-UX
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
8. AIX
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
9. Red Hat
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
10. AIX
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
LEARN ABOUT DEBIAN
lvextend
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)