Sponsored Content
Full Discussion: hpux 11.31 vgimport fail
Operating Systems HP-UX hpux 11.31 vgimport fail Post 302445055 by lamoul on Friday 13th of August 2010 01:46:14 PM
Old 08-13-2010
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 /etc/lvmtab file has already vgicasprd volume group and all disks associated with. How can i proceed. Is it possible to remove the vgicasprd in /etc/lvmtab file and all disks associated before then try to redo vgimport?

Thanks!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mail fail

I am using the shell script file to send mail by "mailx". I do this by cron job, there is no error found. But it is fail, any suggest to me? How can I resend it automatically? Is there any resend logic by using the mailx? (3 Replies)
Discussion started by: adela
3 Replies

2. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

3. Shell Programming and Scripting

Rename fail

I've a lot of file with an hyphen on filename, so I use rename for remove him ad substitute with an underscore but it fails $ rename 's/\-/\_/' * Unknown option: _ Unknown option: i Unknown option: r Unknown option: e Unknown option: e Unknown option: _ Unknown option: g Unknown... (12 Replies)
Discussion started by: cv313x
12 Replies

4. Shell Programming and Scripting

fail on comparison

Hi Am having 2 files. I have one data file. before inserting in to the table am taking cout of the data file and store as data 1. After insert in to the table and am taking the count from the table and store as data2. If i try to compare those values If then echo "data match"... (5 Replies)
Discussion started by: bobprabhu
5 Replies

5. HP-UX

HPUX 11.31 vgextend fail

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)
Discussion started by: lamoul
2 Replies

6. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

7. 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

8. HP-UX

fail to boot HPUX

HPUX running in D-Class (L1000), pretty old HPUX version - hpux 11.00 Attempt 1 -- To boot from normal (primary) Unable to boot - system complains failure SYSTEM ALERT System Name : uninitialized DATE : 10/22/2011 Time : 03/41:12 Alert Level 15 = Fatal hardware or configuration... (12 Replies)
Discussion started by: ckwan
12 Replies

9. Linux

Telnet fail

Hi, I try to telnet to server: # telnet xx.xxx.1.72 1521 Trying xx.xxx.1.72... telnet: connect to address xx.xxx.1.72: Connection refused telnet: Unable to connect to remote host: Connection refused iptables is off: # service iptables status Firewall is stopped. # And I have edit... (4 Replies)
Discussion started by: mehrdad68
4 Replies

10. Shell Programming and Scripting

Untar fail

Hi Team, I have a file named as follows: aaa.tar.gz Now I need to verify if the untar fails, then the script has to send a mail. In order to check this condition, I need a tar.gz file which is unable to untar it. Can anyone help me to create a file which I will be able to unzip successfully... (2 Replies)
Discussion started by: kmanivan82
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 06:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy