Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vgimport(8) [centos man page]

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

NAME
vgimport - make exported volume groups known to the system SYNOPSIS
vgimport [-a|--all] [-d|--debug] [-h|-?|--help] [-v|--verbose] VolumeGroupName [VolumeGroupName...] DESCRIPTION
vgimport allows you to make a Volume Group that was previously exported using vgexport(8) known to the system again, perhaps after moving its Physical Volumes from a different machine. OPTIONS
See lvm(8) for common options. -a, --all Import all exported Volume Groups. --force Import exported Volume Groups even if there are missing Physical Volumes. This option should only be used if the missing devices are known to have failed and they cannot be restored. SEE ALSO
lvm(8), pvscan(8), vgexport(8), vgscan(8) Sistina Software UK LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) VGIMPORT(8)

Check Out this Related Man Page

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

NAME
vgimport - make volume groups known to the system SYNOPSIS
vgimport [-d|--debug] [-f|--force] [-h|--help] [-v|--verbose] VolumeGroupName PhysicalVolumePath [PhysicalVolumePath...] DESCRIPTION
vgimport allows you to make a volume group known to the system which has previously been exported (see vgexport(8) ) on this or another system. OPTIONS -d, --debug Enables additional debugging output (if compiled with DEBUG). -f, --force Force import of volume group even though it is not flagged exported. This option allows the importing of volume groups from broken systems. -h, --help Print a usage message on standard output and exit successfully. -v, --verbose Display verbose runtime information about vgimport's activities. Examples "vgimport myvg /dev/sd[b-h]5" tries to make new volume group "myvg" known to the system. The previously exported volume group (see vgex- port(8) ) resides on disk partitions "/dev/sdb5" to "/dev/sdh5". DIAGNOSTICS
vgimport returns an exit code of 0 for success and > 0 for error: 1 no volume group name on command line 2 invalid volume group name 3 no physical volume(s) on command line 4 volume group already exists 5 physical volume occurs mutiple times on command line 6 invalid physical volume name 7 error reading physical volume 8 physical volume is not exported 9 error reallocating memory 10 error allocating memory 11 no valid physical volumes found 12 physical volume belongs to a different exported volume group 13 wrong number of physical volumes 14 error reading VGDA from disk(s) 15 VGDA is inconsistent 16 invalid logical volume count 17 error getting a free volume group number 18 error writing VGDA to physical volumes 19 error creating VGDA in kernel 20 error inserting volume group into lvmtab 21 error doing backup of VGDA to disk 22 error storing VGDA in lvmtab 23 not enough free logical volume manager block specials available 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 Example "vgimport this_import /dev/sdk3 /dev/sdj4" tries to import a volume group contained on both partitions. The volume group this_import may not already exit. You have to specify all physical volumes belonging to the exported volume group. See also lvm(8), lvcreate(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS VGIMPORT(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

AIX Installation

I am in need some some simple... straight forward instructions for creating file systems on AIX. I have a raid controller and 4 18.2gb Hot Swap SCSI drives. I am sooooo confused about Volume Groups, Physical Volume, and Physical Partition, and Logical Volume and Logical Partitions. In a... (1 Reply)
Discussion started by: Docboyeee
1 Replies

2. HP-UX

HP UX Disk Mirror

Being somewhat extremely new to Unix, I have just had a system crash One of my Volume Groups has crashed However, this Volume Group is actually mirrored How do I switch to use the mirrored copy? Any assistance greatly appreciated Thanks (1 Reply)
Discussion started by: cobdeng
1 Replies

3. UNIX for Dummies Questions & Answers

What is the difference between a shell variable that is exported and the one that is

What is the difference between a shell variable that is exported and the one that is not exported? (1 Reply)
Discussion started by: JosephGerard
1 Replies

4. AIX

Volume Groups and the SAN

Hello all. I have a perplexing problem I have an AIX 5.1 system on an EMC SAN. This system had been on a CX400 SAN for several years. The system was migrated to a CX700 just over a week ago. The migration consisted of utilizing on of the HBAs in the system and connecting to both SANs ... (9 Replies)
Discussion started by: mhenryj
9 Replies

5. AIX

paging space

Hello everyone I have a doubt about how many paging space can have in the same disk. lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type paging00 hdisk0 rootvg 3072MB 1 yes yes lv hd6 hdisk0 ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

6. Red Hat

LVM vgexport

Hi all I am working on a scenario to safely mount a SAN volume from a RHEL 5 host (HOSTA) to another RHEL 5 host (HOSTB) in case if HOSTA crashes.I have used LVM vgexport and vgimport utilities which are not helpful in case of system crash. Everytime you have to deactivate volume groume on HOSTA... (7 Replies)
Discussion started by: gill27
7 Replies

7. Virtualization and Cloud Computing

Physical or Virtual

(6 Replies)
Discussion started by: jjoy
6 Replies

8. HP-UX

hpux 11.31 vgimport fail

i'm trying to vgimport the map file from vgexport -p -v -s -m to fail over node (adoptive node in service guard). root@noe04:/etc/cmcluster/icasprd$ vgimport -s -m gicasprd.110810.map /dev/vgicasprd vgimport: Volume group "/dev/vgicasprd" already exists in the "/etc/lvmtab" file. the... (2 Replies)
Discussion started by: lamoul
2 Replies

9. AIX

Recreation of Volume Group

Hi, I am having 2 volume groups rootvg (Only for os),datavg(only for data) both are from san using different LUN. out of these my rootvg was crashed though I have reinstalled os. can you please suggest me now how datavg will be visible, wheather I have recreate VG? Kindly suggest me. (5 Replies)
Discussion started by: manoj.solaris
5 Replies

10. Emergency UNIX and Linux Support

unrecognized vxfs version after vgimport

Hi! We have two HP-UX 11.23. I created VG on host A, exported and imported it on host B, but when I try to mount any LV I get "unrecognized vxfs version" version error. Could anyone please suggest something I can do in this situation? I tried to import VG back to host A and I successfully mounted... (3 Replies)
Discussion started by: Sapfeer
3 Replies

11. Red Hat

Tried to use undefined partition in Volume Group specification

I am trying trying to make a kickstart startup script and it keeps on hanging. It keeps on complaining about line 23. Can anyone tell me what my problem is? # Kickstart file automatically generated by anaconda. #version=DEVEL #url --url... (3 Replies)
Discussion started by: cokedude
3 Replies

12. AIX

exportvg

Hi How to check if a vg is exported from an LPAR using exportvg? Is there a command or place where we can see the list of the vg's exported from the LPAR ? Because if i run the command to varyonvg i get the below error : root@cbspsrc02 #varyonvg old_rootvg 0516-082 varyonvg: Unable to... (7 Replies)
Discussion started by: newtoaixos
7 Replies

13. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

14. Solaris

Restore of Netapp FC lun targets used as the disks for a zpool with exported zfs file systems

So, We have a Netapp storage solution. We have Sparc T4-4s running with LDOMS and client zones in the LDOMS, We are using FC for storage comms. So here's the basic setup FC luns are exported to the primary on the Sparc box. using LDM they are then exported to the LDOM using vdisk. at the... (4 Replies)
Discussion started by: os2mac
4 Replies

15. AIX

Migrating LUNs to new storage array

All, I have a AIX server with multiple volumes and I need to move them from a legacy storage SAN to a new SAN. We are concerned because to use mirrorvg as we would have to run on a single HBA (one on the old SAN and one on the new). Our other option is to use an appliance to do a block... (3 Replies)
Discussion started by: bkchicago
3 Replies