10-21-2011
This is a shot in the dark, but looks like there are flags to vgchange that might fix this.
--refresh
If any logical volume in the volume group is active, reload its
metadata. This is not necessary in normal operation, but may be
useful if something has gone wrong or if you're doing clustering
manually without a clustered lock manager.
-x, --resizeable {y|n}
Enables or disables the extension/reduction of this volume group
with/by physical volumes.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi!
How to extend /usr partition in rootvg on AIX 4.3.3-09?
I guess first I'll have to decrease the size of other partition(s) in rootvg?
Thank you! (2 Replies)
Discussion started by: steve99
2 Replies
2. HP-UX
on the disk array (EMC Clariion cx300):
we added 3 disk and extended the LUN corresponding to HP-9000 (rp7410)
on HP-UX 11.11:
diskinfo /dev/rdsk/c10t0d0, show more disk space, but
vgdisplay vg13 does not show more space
So the problem is the disk had increased, but vgdisplay does not... (6 Replies)
Discussion started by: pedro_lezaeta
6 Replies
3. AIX
Hi Everybody,
Is it possible to extend a Filesystem by adding a new LV that exist on different VG to this Filesystem?
Thanks in advance. (6 Replies)
Discussion started by: aldowsary
6 Replies
4. Solaris
I am running solaris 10 with Veritas. I want to extend a filesystem. It's an oracle partition (/ora12). How can I find out if there is space available to expand the filesystem and then how does one extend it.
I'm from the HPUX world and so LVM was always how I did things.
Thanks
jackie (5 Replies)
Discussion started by: jackiebaron
5 Replies
5. Filesystems, Disks and Memory
OK I'm sure this question has been posed far too many times.
I have solaris 10 x86 with NO Veritas or Disksuite filesystems. Below is the output of df -k
# df -k
Filesystem kbytes used avail capacity Mounted on
/ 10485760 547513 9317128 6% /
/dev... (1 Reply)
Discussion started by: jackiebaron
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
i have a file :
2010-10-28 17:57:42.581
#$!pre-dump!$#00027cv
060400552|060730|0963.000.2|30000261282|137943|176141|theipia_|01232006|1|
060400553|060730|0963.000.2|30000261283|137943|176141|theipia_|01232006|1|... (3 Replies)
Discussion started by: bdittmar
3 Replies
7. 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
8. Shell Programming and Scripting
Hi friends iam new to unix. how to extend memory in UNIx.
what are the possible scenarios to increase memory.
I just noticed we have swap memory also but when and how to use it. and what is the correct way to increase RAM. please provide information or some useful commands. Thanks (2 Replies)
Discussion started by: saidesh
2 Replies
9. Linux
Hi all.
I have a Logical volume that I can't extend, with this error message:
server171:root:/root# lvextend -L +1024M -v /dev/aplic_vg/siteminderwa_lv
Finding volume group aplic_vg
Archiving volume group "aplic_vg" metadata (seqno 75).
Extending logical volume siteminderwa_lv to... (0 Replies)
Discussion started by: Gabriander
0 Replies
10. Red Hat
Hello,
I have redhat and centos systems that I've only been able to grow the VG by adding more disks. I've been searching the web for a way to extend a volume group by growing the physical disk only and not having to add a second disk. Is it possible?
I can do this with AIX, by just... (0 Replies)
Discussion started by: bbbngowc
0 Replies
LEARN ABOUT REDHAT
vgchange
VGCHANGE(8) System Manager's Manual VGCHANGE(8)
NAME
vgchange - change attributes of a volume group
SYNOPSIS
vgchange [-A|--autobackup {y|n}] [-a|--available {y|n}] [-d|--debug] [-h|--help] [-l|--logicalvolume MaxLogicalVolumes] [-v|--verbose]
[--version] [-x|--allocation {y|n}] [VolumeGroupName...]
DESCRIPTION
vgchange allows you to change the attributes of one or more volume groups. Its main purpose is to activate and deactivate VolumeGroupName,
or all volume groups if none is specified. Only active volume groups are subject to changes and allow access to their logical volumes.
During volume group activation, if vgchange recognizes snapshot logical volumes which were dropped because they ran out of space, it dis-
plays a message informing the administrator that such snapshots should be removed (see lvremove(8)).
OPTIONS
-A, --autobackup{y|n}
Controls automatic backup of metadata after the change. See vgcfgbackup (8). Default is yes.
-a, --available{y|n}
Controls the availability of the volume group for input/output. In other words: makes a volume group known/unknown to the kernel.
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-l, --logicalvolume MaxLogicalVolumes
Changes the maximum logical volume number of an existing inactive volume group.
-v, --verbose
Displays verbose runtime information about vgchange's activities.
--version
Displays tool and IOP version and exit successfully.
-x, --allocation{y|n}
Enables or disables the extension/reduction of this volume group with/by physical volumes.
EXAMPLES
To activate all known volume groups in the system:
vgchange -a y
To change the maximum number of logical volumes of inactive volume group vg00 to 128.
vgchange -l 128 /dev/vg00
DIAGNOSTICS
vgchange returns an exit code of 0 for success and > 0 for error:
1 error writing VGDA to physical volume(s)
2 error changing extensibility of volume group
3 error doing backup of VGDA
4 extension of MaxLogicalVolume would cause overlapped physical extents
5 error backup of volume group metadata
6 error copying volume group metadata to work file
7 error creating volume group directory and special files
8 error removing volume group directory and special files
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
If volume groups can't be activated, run vgscan(8) and retry.
ENVIRONMENT VARIABLES
LVM_AUTOBACKUP
If this variable is set to "no" then the automatic backup of VG metadata is turned off.
LVM_VG_MAX_BACKUPS
This variable determines the backup history depth of kept VGDA copy files in /etc/lvmconf. It can be set to a positive number
between 0 and 999. The higher this number is, the more changes you can restore using vgcfgrestore(8).
SEE ALSO
lvm(8), vgcreate(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS VGCHANGE(8)