04-20-2007
Thank johnf for your reply.
I will clarify my question with a small example.
Lets say, we have a new Physical Volume with size of 400GB. A new Volume Group has been created on this PV, after that we created 5 Logical Volumes on this VG each LV with 10 PPs.
How can I know after that how much space really used on these LVs?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know where I can find good documentation on modifying AIX logical volumes. Basically, I have a box that has 2 file systems that rae 99% full. I would like to add another disk, and migrate a file system or 2 to it, then reclaim the space by adding it to other volumes. I understand that... (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. News, Links, Events and Announcements
I had just updated - reinstalled - my RH9 to a Fedore Core 3.
I did not know about the Logical volumes that automatically combined partitions on drive 1 and 2 into one mounted volume. In my attempts to do something with the hdb2 partition - not knowing that it was already in use - I killed my... (2 Replies)
Discussion started by: gezi
2 Replies
3. UNIX for Dummies Questions & Answers
I have just created two RAID 0 ( Stripped ) devices through Storage Manager and can see them as d0 and d1 ( /dev/md/dsk/d0 and d1 appear to exist )
However how do I now mount these devices ? The manual talks about creating a UFS of LOFS filesystem. Do I need to do this ?
I have create /u01... (3 Replies)
Discussion started by: jimthompson
3 Replies
4. Linux
hi
i am wondering if it is possible to use one nfs mount point for several logical volumes.
i have a top level directory /imaging with data1 - data50 below it. each dataX directory is a logical volume configured through LVM. if i mount them separately on the client (i.e. 50 lines in fstab... (1 Reply)
Discussion started by: user23
1 Replies
5. HP-UX
Hi all,
How do u rename a logical volume group and the logical volumes belonging to that? The logical volumes contain data and are in use.
eg: Renaming dev/vgov to dev/ov-dg ? (6 Replies)
Discussion started by: Mr. Zer0
6 Replies
6. UNIX for Dummies Questions & Answers
I have a veritas file system (fsA) that is nearing capacity. We have secondary file system (fsB). that is unused and would like to move some of it's disk space but I'm unsure as to how to do this with.
/dev/vx/dsk/vg05/lvol05
25288704 21887258 3188911 88% ... (2 Replies)
Discussion started by: Steelysteel
2 Replies
7. UNIX and Linux Applications
Does anybody if it is possible to convert raw logical volumes to jfs2? If so how is it done or where can I find the information to make the conversion. We have an Oracle Db on AIX and it is using raw lv's which we want to convert to jfs2 because the raw devices don't restore correctly from our... (4 Replies)
Discussion started by: daveisme
4 Replies
8. AIX
Hello,
Does HACMP have bugs ? I have version 5.4 on AIX 6.1 and when I try to increase filesystem space or logical volume partitions which are under HACMP VG it gives me error:
# lsvg
rootvg
pr0oravg
px0oravg
pb0oravg
pr0sapvg
px0sapvg
pb0sapvg
pr1_pr2_vg
pr2_px1_vg
#
#... (11 Replies)
Discussion started by: filosophizer
11 Replies
9. Solaris
On my solaris box, default Sun volume manager is running.
I want to check the list of logical volumes and following details for each logical volume:
freeSpace
usedSpace
type
isClustered
auxId
permissions
currentLogicalExtent
segmentCount
allocationType
isOpen
To know state of... (12 Replies)
Discussion started by: epriya2003
12 Replies
10. Solaris
Check Solaris VM Databases metadb does not have enough information about logical volumes. Current value is 0%
I have checked the SVM status, all disks are good state and synched perfectly. no errors in metadb -i.
what is this alert exact mean? what we have to check for the value?
Please... (1 Reply)
Discussion started by: Naveen.6025
1 Replies
LEARN ABOUT SUSE
lvresize
LVRESIZE(8) System Manager's Manual LVRESIZE(8)
NAME
lvresize - resize a logical volume
SYNOPSIS
lvresize [--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]}
[-t|--test] [-v|--verbose] LogicalVolumePath [PhysicalVolumePath[:PE[-PE]]...]
DESCRIPTION
lvresize allows you to resize a logical volume. Be careful when reducing a logical volume's size, because data in the reduced part is
lost!!! You should therefore ensure that any filesystem on the volume is shrunk first so that the extents that are to be removed are not
in use. Resizing snapshot logical volumes (see lvcreate(8) for information about creating 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}]
Change or set the logical volume size in units of logical extents. With the + or - sign the value is added to or subtracted from
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, as a percentage of the remaining free space of the PhysicalVolumes on the command line with the suffix %PVS, as a per-
centage 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.
-L, --size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]
Change 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 + or - sign the value is added to or subtracted from the actual size of the
logical volume and without it, the value is taken as an absolute one.
-i, --stripes Stripes
Gives the number of stripes to use when extending a Logical Volume. Defaults to whatever the last segment of the Logical Volume
uses. Not applicable to LVs using the original metadata LVM format, which must use a single value throughout.
-I, --stripesize StripeSize
Gives the number of kilobytes for the granularity of the stripes. Defaults to whatever the last segment of the Logical Volume uses.
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)
Examples
"lvresize -L+16M vg1/lv1 /dev/sda:0-1 /dev/sdb:0-1"
tries to extend a logical volume "vg1/lv1" by 16MB using physical extents /dev/sda:0-1 and /dev/sdb:0-1 for allocation of extents.
SEE ALSO
lvm(8), lvconvert(8), lvcreate(8), lvreduce(8), lvchange(8)
Sistina Software UK LVM TOOLS 2.02.67(2) (2010-06-04) LVRESIZE(8)