Sponsored Content
Operating Systems AIX Does HACMP have bugs increasing filesystem or Logical volumes Post 302362713 by filosophizer on Saturday 17th of October 2009 04:05:45 AM
Old 10-17-2009
gus2000 i think that's right way. It should be done without shutting down HACMP.

clvgdats

Quote:
VGDA out of sync

With HACMP, you can run into the following error during a verification/synchronization:

WARNING: The LVM time stamp for shared volume group: testvg is inconsistent with the time stamp in the VGDA for the following nodes: host01

To correct the above condition, run verification & synchronization with "Automatically correct errors found during verification?" set to either 'Yes' or 'Interactive'. The cluster must be down for the corrective action to run.


This can happen when you've added additional space to a logical volume/file system from the command line instead of using the smitty hacmp menu's. But you certainly don't want to take down the entire HACMP cluster to solve this message.

First of all, you don't. The cluster will fail-over nicely anyway, without these VGDA's being in sync. But, still, it is an annoying warning, that you would like to get rid off.

Have a look at your shared logical volumes. By using the lsattr command, you can see if they are actually in sync or not: host01 # lsattr -Z: -l testlv -a label -a copies -a size -a type -a strictness -Fvalue
/test:1:809:jfs2:y:

host02 # lsattr -Z: -l testlv -a label -a copies -a size -a type -a strictness -Fvalue

/test:1:806:jfs2:y:
Well, there you have it. One host reports testlv having a size of 806 LPs, the other says it's 809. Not good. You will run into this when you've used the extendlv and chfs commands to increase the size of a shared file system. You should have used the smitty menu's.

The good thing is, HACMP will sync the VGDA's if you do some kind of logical volume operation through the smitty hacmp menu's. So, either increase the size of a shared logical volume through the smitty menu's with just one LP (and of course, also increase the size of the corresponding file system); Or, you can create an additional shared logical volume through smitty of just one LP, and then remove it again afterwards.

When you've done that, simply re-run the verification/synchronization, and you'll notice that the warning message is gone. Make sure you run the lsattr command again on your shared logical volumes on all the nodes in your cluster to confirm.
Hacmp / High Availability - Meilink.net

HACMP Synchronization problem
choice1: leave it to lazy update to fix when hacmp falls over next time, or fix when you have a maintenance window.
choice2: Do change in FS
temporary unlock VG on node that owns VG at the moment:varyonvg -b -u VGNAME
On node that does NOT have VG active run importvg -L VGNAME hdiskNAME
On node that HAS VG active, LOCK VG again: varyonvg VGNAME
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

AIC logical volumes

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

Did not know about logical volumes

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

Setting up Logical Volumes in Solaris 10

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. AIX

Used Space on Logical Volumes

Hi Everybody, Is there any way to know the used space on a specific Logical Volume? Note, my question related to the LVs that have no mount point & not belong to any FileSystem. Thanks in advance :rolleyes: (7 Replies)
Discussion started by: aldowsary
7 Replies

5. Linux

one nfs mount point for many logical volumes

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

6. HP-UX

Renaming logical volume group and volumes

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

7. UNIX for Dummies Questions & Answers

Move veritas filesystem space between Logical volumes

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

8. UNIX and Linux Applications

raw logical volumes to jfs2

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

9. Solaris

command for List of logical volumes

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

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
LVREMOVE(8)						      System Manager's Manual						       LVREMOVE(8)

NAME
lvremove - remove a logical volume SYNOPSIS
lvremove [-A|--autobackup y|n] [-d|--debug] [-f|--force] [-h|-?|--help] [-t|--test] [-v|--verbose] LogicalVolumePath [LogicalVolumePath...] DESCRIPTION
lvremove removes one or more logical volumes. Confirmation will be requested before deactivating any active logical volume prior to removal. Logical volumes cannot be deactivated or removed while they are open (e.g. if they contain a mounted filesystem). Removing an origin logical volume will also remove all dependent snapshots. If the logical volume is clustered then it must be deactivated on all nodes in the cluster before it can be removed. A single lvchange com- mand issued from one node can do this. OPTIONS
See lvm(8) for common options. -f, --force Remove active logical volumes without confirmation. EXAMPLES
Remove the active logical volume lvol1 in volume group vg00 without asking for confirmation: lvremove -f vg00/lvol1 Remove all logical volumes in volume group vg00: lvremove vg00 SEE ALSO
lvcreate(8), lvdisplay(8), lvchange(8), lvm(8), lvs(8), lvscan(8), vgremove(8) Sistina Software UK LVM TOOLS 2.02.44-cvs (02-17-09) LVREMOVE(8)
All times are GMT -4. The time now is 05:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy