vgreduce is to reduce a volume group not a logical volume and so the only way to do it is by removing a PV...
Your case has nothing to do with vgreduce (dont tell me you have a VG per FS...) but to reduce the logical volume:
1) Reduce, the FS with the same command :fsadm
2) lvreduce
e.g.
Last edited by vbe; 02-18-2010 at 09:25 AM..
Reason: typo...
HI folks,
I have just deleted a folder which i need it back. I am not a big
unix user so any help is appreciated. The thing is that i had found
images in a folder:
./home/tom/.kde/share/cache/http/b/.jpg
as you can see these images should not really be here.
When i asked a guy in... (7 Replies)
Hi,
How can I undo installation of a package on AIX 4.3 properly?
It's an install script. On linux, I usually just kill the process and delete from disk with this command "find .... exec rm -r {}\;". And it usually works. Can I do the same with AIX 4.3?
Thanks,
Itik (2 Replies)
Hi All,
I'm a newbie to system administration, I'd like to know how to check the logs (what update was installed last) , and I'd like to know how to undo the last update on the fedora 9 system ( kindof an equivalent to system restore in windows).
I have a HP 22 inch monitor, when I installed... (3 Replies)
I generally use 'u' to do undo in vi editor. The problem is that it only does one level of undo.
Is it possible to recursively undo all the changes in vi editor till we reach the original stage. (2 Replies)
Hi,
when i try to add new disk, it's an XP disk from SAN (lun) to the volume group, it fails because "TOO MANY LINKS"
:/etc/cmcluster/icastst$ vgextend /dev/vgicastst /dev/disk/disk684
Current path "/dev/dsk/c51t8d3" is an alternate link, skip.
Current path "/dev/dsk/c51t8d4" is an... (2 Replies)
Hi. Newbie here....so Unix for Dummies question for sure.
I was compiling a piece of software and having problems and somebody suggested:
sudo ln -s /usr/X11 /usr/X11R6
Didn't work. How do I undo this?
I am on a Mac OS X snow leopard. I figure it is something with the unlink command... (7 Replies)
I installed Solaris 11 Express on my machine and connected to it remotely using putty. I then run the svcadm disable /network/physical:nwam command to stop the NWAM service.
Now I cannot connect to the Solaris machine remotely anymore, but I have physical access to it as well.
How do I undo... (1 Reply)
I have a file with two columns (output from Tivoli Storage Manager) where each column has 13 character spaces and they are separated by 5 spaces. The columns are schedule names and node names and many of them are longer than 13 characters so they get hyphenated by TSM during the output. I... (3 Replies)
Hello!
As a totally newbie I was testing 'mount' command but it doesn't worked for me.
then finally I used this commend above 'mount /test / ' - and sever doesn't respond now :/
Is it possible to undo somehow this commanand? (5 Replies)
Discussion started by: jui_01
5 Replies
LEARN ABOUT REDHAT
vgextend
VGEXTEND(8) System Manager's Manual VGEXTEND(8)NAME
vgextend - add physical volumes to a volume group
SYNOPSIS
vgextend [-A|--autobackup{y|n}] [-d|--debug] [-h|--help] [-v|--verbose] VolumeGroupName PhysicalVolumePath [PhysicalVolumePath...]
DESCRIPTION
vgextend allows you to add one or more initialized physical volumes ( see pvcreate(8) ) to an existing volume group to extend it in size.
OPTIONS
-A, --autobackup y/n
Controls automatic backup of VG metadata after the change ( see vgcfgbackup(8) ). Default is yes.
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-v, --verbose
Gives verbose runtime information about lvextend's activities.
Examples
"vgextend vg00 /dev/sda4 /dev/sdn1" tries to extend the existing volume group "vg00" by the new physical volumes (see pvcreate(8) )
"/dev/sdn1" and /dev/sda4".
DIAGNOSTICS
vgextend returns an exit code of 0 for success and > 0 for error:
1 no volume group name on command line
2 volume group name not given as first argument
3 no physical volume(s) on command line
4 invalid volume group name
5 error checking existence of volume group
6 inactive volume group
7 error reading VGDA
8 volume group is set to not extendable
9 maximum physical volume number of volume group exceeded
10 error reading all physical volumes
11 error setting up VGDA
12 error extending VGDA in kernel
13 error writing VGDA to physical volume(s)
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
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 alsolvm(8), vgcreate(8), vgreduce(8), pvcreate(8)AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS VGEXTEND(8)