Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vgremove(8) [redhat man page]

VGREMOVE(8)						      System Manager's Manual						       VGREMOVE(8)

NAME
vgremove - remove a volume group SYNOPSIS
vgremove [-d|--debug] [-h|--help] [-v|--verbose] VolumeGroupName [VolumeGroupName...] DESCRIPTION
vgremove allows you to remove one or more volume groups. The volume group(s) must not have any logical volumes allocated and must also be inactive (see vgchange(8) ). OPTIONS -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 vgremove's activities. DIAGNOSTICS
vgremove returns an code code of 0 for success and > 0 for error: 1 no volume group name on command line 2 error setting up freed physical volume 3 error writing freed physical volume(s) to disk(s) 4 error removing volume group from lvmtab 5 can't remove volume group containing logical volumes 6 invalid volume group name 7 volume group is active 8 not all physical volumes are online 9 error accessing volume group 10 error reading volume group data from disk(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 See also lvm(8), vgcreate(8), vgreduce(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS VGREMOVE(8)

Check Out this Related Man Page

VGREMOVE(8)                                                   System Manager's Manual                                                  VGREMOVE(8)

NAME
vgremove - remove a volume group SYNOPSIS
vgremove [-d|--debug] [-f|--force] [-h|-?|--help] [--noudevsync] [-t|--test] [-v|--verbose] VolumeGroupName [VolumeGroupName...] DESCRIPTION
vgremove allows you to remove one or more volume groups. If one or more physical volumes in the volume group are lost, consider vgreduce --removemissing to make the volume group metadata consistent again. If there are logical volumes that exist in the volume group, a prompt will be given to confirm removal. You can override the prompt with -f. OPTIONS
See lvm for common options. -f, --force Force the removal of any logical volumes on the volume group without confirmation. --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. SEE ALSO
lvm(8), lvremove(8), vgcreate(8), vgreduce(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREMOVE(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

bosboot problem please help!

each time I try to do a bosboot or a mksysb the cpu says that he doesn't find /unix... I don't understand cause the kernel is here on the computer and at this exact place with the right name. I tried to force with -k /unix but it doesn't do anything. He doesn't find it and it is here... Do you... (6 Replies)
Discussion started by: jericho
6 Replies

2. HP-UX

Creating A Make Recovery Tape

A customer called me and stated that when they created a make recovery tape for their hp-ux 9000/770, it wiped out three of their volume groups from the lvmtab, fstab, /dev directory(all associated files). I didn't believe them until I conducted a tech assist. I restored their system by recreating... (3 Replies)
Discussion started by: spawarrior
3 Replies

3. AIX

Having problems with removing a volume group..

Dear all, I would be very grateful if you could help me with removing the volume group.. The case is that, I was trying to create a volume group with 4 disk eligible, but the system has hang .. Maybe because the disks that I was trying to include into the new volume group were of too large size... (5 Replies)
Discussion started by: dilshik
5 Replies

4. AIX

volume group space addition after LUN creation

Hi, I was told that 300GB of LUN has been allocated to my server by the SAN group. apart from rootvg i have 2 volume groups(oracle) for which i need to add space as follows: oradbvg 250GB to be added oralvg 50GB what are the steps that i should follow after iam being told that LUN has been... (4 Replies)
Discussion started by: karthikosu
4 Replies

5. AIX

Procedure for removing SSA array

Hi All, What's the proper procedure for removing SSA arrays? Is the procedure like these? - rmdev ssa disk - physical turn off the ssa - cfgmgr There's no more filesystem or logical volume on it. It's just pdisk and hdisk. Thanks in advance, itik (3 Replies)
Discussion started by: itik
3 Replies

6. Solaris

how to get back a SVM volume to solaris control

hi.., help me in this case... 1) now the disk is under disksuite, its have some mirrored volume. how can i get back this disk to OS control. 2) how can i know the a SVM volume avalable,used space. and the filesystem size on tht volume please help in this i am bigginer... (5 Replies)
Discussion started by: b.janardhanguru
5 Replies

7. Solaris

veritas volume manager links

Hi all, Anybody know the URLs of veritas volume manager disk problems,volume problems,root disk problems ...etc. Please share the URL's. i really appreciate for cooperation. regards krishna (4 Replies)
Discussion started by: murthy76
4 Replies

8. AIX

Moving a logical volume to another one

Hi everybody, I am quite new in AIX and I want to have an advice on my problem. I want to move the content of one disk (which has HW problems) to a new one. I use LVM and the faulty disk is one logical volume. I understand that if I define a new logical volume (same size) on a new disk, I can... (8 Replies)
Discussion started by: aribault
8 Replies

9. AIX

adding free pp's to your vg

I have free pp's in my volume group. What is the command to add those pp's to used pps. I'm using RAWLV's. Thanks. (3 Replies)
Discussion started by: jwholey
3 Replies

10. Solaris

RAID manager or veritas volume manager

Can somebody kindly help me to determine which one i should choose to better manipulate OS volume. RAID manager or veritas volume manager? Any critical differences between those two? Thanks in advance. (5 Replies)
Discussion started by: beginningDBA
5 Replies

11. AIX

Logical volume name conflict in two volume group

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)
Discussion started by: dantares
10 Replies

12. HP-UX

Volume group are those LUNs?

In HP-UX, VLM: what volume group, are these LUNs? anyone know ? objecthexuid .........................: 6005-08b4-0001-529c-0005-6000-45d6-0000 objecthexuid .........................: 6005-08b4-0001-529c-0005-6000-45d9-0000 objecthexuid .........................:... (5 Replies)
Discussion started by: aav1307
5 Replies

13. Linux

Umount of a "busy" disk

A product I am working on manages storage. We are currently porting it from Solaris to Linux. The product allows its user, among other things, to add and remove file server volumes, where these volumes are exported using the NFS or the CIFS protocol. The problem is that when the user requests to... (5 Replies)
Discussion started by: dhzdh
5 Replies

14. AIX

volume group lun sizes and no of file systems for optimal performance

Hello, It's been a while since I've done AIX..., but I'm planning a new TSM on AIX disk-only backup solution. I'm planning to make an AIX volume group out of 40 luns of 1 TB. I'm planning to create one big file system on here. The purpose for this is to use this as a device class FILE for... (5 Replies)
Discussion started by: smashingpumpkin
5 Replies

15. AIX

/usr/sbin/extendvg: Unable to extend volume group

Dear Expret, Help me about my issue, I trying add new disk to volume Group but error: step add new disk to volume group. 1. ~Change a Volume Group Add a Physical Volume to a Volume Group Remove a Physical Volume from a Volume Group Reorganize a Volume Group... (6 Replies)
Discussion started by: williamen
6 Replies