I Want To Know How Can We Create Single Volume Group Using 2 Hard Disks.
Creating a new volume group using two hard disks:
The XX in the mknod are hex numbers and the combination has to be unique for the system.
Quote:
Originally Posted by bala_mes
As We Require More Data To Be Stored We Need To Add A Hard Disk,but I Have A Doubt Whether We Can Increase The Size Of A Logical Volume Mounted On A Volume Group By Adding A Hard Disk.
This will add a new disk in the volume group and extend an existing volume named lvolname. You must then unmount the filesystem and then extend it using extendfs. If you have the license, you can use the fsadm command to extend the filesystem online.
Is this what you wanted?
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)
Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Hello,
I am a french computer technician, and i speak English just a little.
On Aix 5.3, I encounter a name conflict logical volume on two volume group.
The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM
root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Hello,
How can I obtain a lists of disks with their size (anytype: SAN LUNs, internal disks, etc.) attached to the system and not being extended inside a volume group?
The purpose of this list is to be part of a function of a script that I'm doing in order to resize filesystems and in the... (6 Replies)
Good afternoon all,
I'll probably confuse everyone as I'm a Windows guy dealing with AIX 6.1 and can't quite figure out how to do something. I have a P520 server running 2 LPARs and we have an IVM (not HMC).Within the IVM under Virtual Storage Management, when I check the Physical Volumes, I have... (4 Replies)
Hi,
I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies
1)Physical Volume
2)Volume Group
3)Logical Volume
4)Physical Partition
Please help me to understand these concepts. (6 Replies)
Hi Experts
I need an script to add an disk in to the veritas volume manager disk group.
For example:
# cd /tmp
# view disk
c6t5d2
c6t2d1
c6t3d7
c6t11d2
c7t11d2
c6t11d6
Normally we add the disk like this:
# vxdg -g freedg freedisk01=c6t5d2
# vxdg -g freedg freedisk02=c6t2d1
#... (3 Replies)
I wanted to know how we can combine volumes over 2 physical drives.
# fdisk -l
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 ... (16 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)
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
LEARN ABOUT SUNOS
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)