I am following your 2nd suggestion as this machine is going to be out its door in about 2 months (its over 5+ years old) and is a DR/testing box so not a production machine, less critical. My goal now is to keep it going for the next 2 months.
My goal is to get /usr1 (vg_usr1) working, removing the failed disks and making sure it is mirrored.
Sorry, perhaps I should have stated this first though your notes I am going to use on the new system we are putting in place.
I changed the policy to minimum, and tried to run reorgvg...
Sounds like one of the pvs (hard drives) could be having an issue that is currently assigned to the vg?
Hello
I've been working on AIX 5.3 ML3 on IBM pSeries520. That server has 6 HDD drives in 3 volume groups (1+mirror in each group). I must check which phisical disk is which disk in the system. For ex. I want to know that disk in 4th slot in the machine is marked as hdisk5 on AIX. Does anybody... (2 Replies)
My root disk is failed and how to replace the root disk in AIX.
Can u give a detailed explanation in step wise.
Pls give the answer taking different scenarios.
Regards
Praveen (1 Reply)
hello
i'm running on P570 box aix 5.3 8 cpus 24G ram
there are 1850 users loged in to this box
the problem is that the two sysytem disks busy all the time
hdisk0 100% busy
hdisk1 100% busy
some one have an idea what writing to this disks?
thanks
ariec (9 Replies)
This may sound like an absolute rookie question, and it is.
I have been working on Migrating our HP and Solaris servers to the new EMC SAN and know the routines backwards.
Now we've suddenly got a new IBM server and I don't even know how to check if it is connected to the switch.
Can someone... (1 Reply)
We run two p5 nodes running AIX 5L in a cluster mode (HACMP), both the nodes share external disk arrays. Only the primary node can access the shared disks at a given point of time.
We are in the process of adding two new disks to the disk arrays so as to make them available to the existing... (3 Replies)
HI, I have had an issue last night while trying to extend a filesystsem . chvg -g <vg> command cameback with an error
0516-1790 chvg: Failed bootinfo -s hdisk9.
Ensure the physical volume is available and try again.
0516-732 chvg: Unable to change volume group u01vg.
the VG has 1... (1 Reply)
Hello
I recently received a request to reclaim hard disks and IP addresses within an AIX system(s). THe file systems are no longer in use and the client has indicated that it is OK to remove them and reclaim the disks and release the IP's. Now, since the file systems belong to a Volume group I... (8 Replies)
Hi everybody,
I have a little problem with my AIX 6.1, PowerHA 6.1 LVM mirror. After problem with SAN pathing of our one Datacenter, I have LV at stale state.
# lsvg cpsdata2vg
VOLUME GROUP: cpsdata2vg VG IDENTIFIER: 00fb518c00004c0000000169445f4c2c
VG STATE: ... (6 Replies)
Hi there,
I had issue with one of MY FC cards on T4-2 servers so system team replace it and start the machine but when launch FORMAT command so I don't see my shared disks coming from storage controller. i have checked at the Fabric switch so WWN numbers are visible and zones are ok and after... (1 Reply)
Discussion started by: janakors
1 Replies
LEARN ABOUT MOJAVE
lvresize
LVRESIZE(8) System Manager's Manual LVRESIZE(8)NAME
lvresize - resize a logical volume
SYNOPSIS
lvresize [--alloc AllocationPolicy] [--noudevsync] [-i|--stripes Stripes [-I|--stripesize StripeSize]] {[-l|--extents [+|-]LogicalEx-
tentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] | [-L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]} [-f|--force] [-n|--nofsck] [-r|--resizefs]
LogicalVolume{Name|Path} [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(8) for common options.
-f, --force
Force resize without prompting even when it may cause data loss.
-n, --nofsck
Do not perform fsck before resizing 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).
-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. The resulting value is rounded downward for the substraction otherwise
it is rounded upward.
-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 or subtracted from the actual size of the log-
ical volume and rounded to the full extent size 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).
--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.
EXAMPLES
Extend a logical volume vg1/lv1 by 16MB using physical extents /dev/sda:0-1 and /dev/sdb:0-1 for allocation of extents:
lvresize -L+16M vg1/lv1 /dev/sda:0-1 /dev/sdb:0-1
SEE ALSO fsadm(8), lvm(8), lvconvert(8), lvcreate(8), lvreduce(8), lvchange(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVRESIZE(8)