Sponsored Content
Full Discussion: LVM vgexport
Operating Systems Linux Red Hat LVM vgexport Post 302399770 by vbe on Monday 1st of March 2010 01:03:35 PM
Old 03-01-2010
The rule to do a "poor man's cluster" is to not use the same names of vg..
Since the LVM comes from HP, if it works the same way, you need knowing how to use vgimport vgexport vgchange, there is no need to vgexport each time when changing server (which means you need to vgimport again etc...) once both boxes are set, you only use vgexport/vgimport if you have changed disks configuration... otherwise its useless:
How can you vgexport on a crashed system?
You use vgchange! to activate/deactivate a volume group.
One thing to remember a true cluster has a special mode E (exclusive), you have nothing of the sort and in case or error (mounted both side) you loose everything (trust me -I tried for you long ago...)
 

10 More Discussions You Might Find Interesting

1. AIX

Help with LVM

Sorry for the noob question; my experience is with Solaris. Am I reading this right? Are these disks completely unused? Not possibly raw disks for informix or something? hdisk5 0K-08-ff-0,1 Optimal RAID 10 Array 285.7GB pdisk20 0K-08-00-2,0 Active Array Member 142.8GB... (2 Replies)
Discussion started by: filosmith
2 Replies

2. Linux

LVM Help

Hi guys, I have been Linux for quite a while yet, but am only getting into the LVM world just now, so I do want to ask a pretty basic question (I believe for someone with experience with it) I have a physical volume of /dev/sdc1 which contains a volume group call backup that contains 2 logical... (0 Replies)
Discussion started by: pasha
0 Replies

3. AIX

Type of Logical Volume lost after vgexport/gvimport process

Hi, I have the next doubt about of lost of characteristic of LV in my original configuration # lsvg -l ifxvg ifxvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT aw64m_01 jfs 1 1 1 open/syncd N/A aw64m_02 jfs 1... (1 Reply)
Discussion started by: cerber0
1 Replies

4. Red Hat

lvm with -- on the name

Hi All, I created an lvm filesystem with a name with dash in the middle, like xxx-yyy (note, that it's only one dash). I was able to create it smoothly with this instructions. lvcreate -L 1G uservg -n xxx-yyy ls /dev/uservg/xxx-yyy (check) mkfs.ext3 /dev/uservg/xxx-yyy mount... (1 Reply)
Discussion started by: itik
1 Replies

5. Red Hat

Lvm

Hi, can we create logical volume from 2 different volume groups. (1 Reply)
Discussion started by: gopalredhat
1 Replies

6. AIX

lvm

Hi. can anyone define about VGDA,VGSA,and quorum in aix.. (1 Reply)
Discussion started by: sumathi.k
1 Replies

7. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

8. AIX

Help with lvm

i have os 5.1 and i do mirror with hdisk0 and hdisk1 on rootvg at the end i get error in mail that: At least one partition mirror is broken please call sysadmin hd5 boot 1 2 2 closed/stale N/A the other fs seems ok and sync what to do about the hd5??? (4 Replies)
Discussion started by: amitt74
4 Replies

9. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

10. AIX

Need LVM Help

Hello, I need some help, it is slightly urgent so any help is appreciated. We were doing a data migration, during a migratepv command, our SAN ran out of quota space and locked all of the filesystems, now I'm left with a few errors and am not able to do migratepv again. /:migratepv... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
VGEXPORT(8)						      System Manager's Manual						       VGEXPORT(8)

NAME
vgexport - make volume groups unknown to the system SYNOPSIS
vgexport [-a|--all] [-d|--debug] [-h|--help] [-v|--verbose] [--version] [VolumeGroupName...] DESCRIPTION
vgexport allows you to make the inactive VolumeGroupName unknown to the system. You can then move all of the physical volumes in that vol- ume group to a different system for later vgimport(8). An exported volume group is not detected by vgscan(8), but pvscan(8) will show which physical volumes belong to the exported volume group. OPTIONS -a, --all Exports all inactive volume groups. -d, --debug Enables additional debugging output (if compiled with DEBUG). -h, --help Print a usage message on standard output and exit successfully. -v, --verbose Display verbose runtime information about vgexport's activities. --version Display tool and IOP version and exit successfully. DIAGNOSTICS
vgexport returns an exit code of 0 for success and > 0 for error: 1 no volume groups found at all 2 no volume group name on command line 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), vgimport(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS VGEXPORT(8)
All times are GMT -4. The time now is 11:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy