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
VGSPLIT(8)						      System Manager's Manual							VGSPLIT(8)

NAME
vgsplit - split a volume groups SYNOPSIS
vgsplit [-A|--autobackup {y|n}] [-d|-ebug] [-h|--help] [-l|--list] [-t|--test] [-v|--verbose] [--version] ExistingVolumeGroupName NewVol- umeGroupName PhysicalVolumePath [PhysicalVolumePath...] DESCRIPTION
vgsplit moves one or more PhysicalVolumePath(s) from ExistingVolumeGroupName into NewVolumeGroupName. Physical volumes that are split off to the new volume group must not contain any partial logical volumes. Use pvmove(8) to move logical volumes to the desired physical vol- umes. OPTIONS -A, --autobackup {y|n} Controls automatic backup of VG metadata after the merge (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. -l, --list Display split volume group names like vgdisplay -v. -t, --test Do a test run WITHOUT any real changes. -v, --verbose Display verbose runtime information about vgsplit's activities. --version Display tool and IOP version and exit successfully. EXAMPLE
To separate physical volumes /dev/sdk1 and /dev/sdn1 from the existing volume group databases and put them into new volume group my_vg. vgsplit -v databases my_vg /dev/sdk1 /dev/sdn1 DIAGNOSTICS
vgsplit returns an exit code of 0 for success and > 0 for error: 1 invalid volume group name 2 invalid physical volume name 3 malloc error 4 error reading VGDA of existing volume group 5 new volume group already exists 6 error setting up VGDA for split 7 logical volume to be split into new volume group must be inactive 8 logical volume doesn't exist 9 error removing logical volume from kernel 10 error reducing VGDA by physical volume in kernel 11 error writing changed existing VGDA to physical volume(s) 12 error writing new VGDA to physical volume(s) 13 error creating device special files for changed existing volume group 14 error creating device special files for new volume group 15 error creating new VGDA in kernel 16 error inserting new volume group name into lvmtab 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 ALSO
lvm(8), vgcreate(8), vgextend(8), vgreduce(8), vgmerge(8), pvmove(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS VGSPLIT(8)
All times are GMT -4. The time now is 08:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy