Visit Our UNIX and Linux User Community

Operating Systems AIX Exportvg/importvg causes corrupt LV Control Block Post 302849635 by MichaelFelt on Monday 2nd of September 2013 04:24:50 PM
Old 09-02-2013
exportvg should not be changing the VGDA in anyway, in fact it can be done with the disks of the volume group inactive.

I think something had happened to your LVCB before hand.

Consider the following command sequence. This disk is active, but the commands should give (nearly) the same output (there may be in the VGDA whether the VGDA is active or not).

The tail command is to show that the -dt options shows how all PP are mapped.

p.s. My prompt is not #, but I have performed an su to root so my euid is 0

hdisk1          00cbe32e3ea9f4d2                    vgData          active      
hdisk0          005d858f5e3e41d2                    rootvg          active      
hdisk2          005d858fdba3ba0e                    vgBackup                    
hdisk3          005d858f9b15ace8                    vgITDS          active      
michael@x054:[/home/michael]lquerypv -p 005d858f5e3e41d2 -N hdisk0 -t | more
PP Size:        26
PV State:       1
Total PPs:      542
Alloc PPs:      252
Total VGDAs:    2
HOT SPARE:      0
Beg PSN:        4352
michael@x054:[/home/michael]lquerypv -p 005d858f5e3e41d2 -N hdisk0 -dt | tail
PVMAP:  005d858f5e3e41d2:533  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   
PVMAP:  005d858f5e3e41d2:534  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   
PVMAP:  005d858f5e3e41d2:535  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   
PVMAP:  005d858f5e3e41d2:536  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   
PVMAP:  005d858f5e3e41d2:537  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   
PVMAP:  005d858f5e3e41d2:538  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   
PVMAP:  005d858f5e3e41d2:539  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   
PVMAP:  005d858f5e3e41d2:540  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   
PVMAP:  005d858f5e3e41d2:541  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   
PVMAP:  005d858f5e3e41d2:542  0 ODMtype  0000000000000000.0   0     0000000000000000:0    0000000000000000:0   

Question: do you get the same issue when you su to root (is there perhaps an authority not passing when using sudo?)

---------- Post updated at 10:24 PM ---------- Previous update was at 10:23 PM ----------

Should have read the bottom line. So I guess you can ignore my reply. Smilie
Test Your Knowledge in Computers #46
Difficulty: Easy
Regarding computer networking, the exact meaning of the term VPN is 'virtual protected network.'
True or False?

10 More Discussions You Might Find Interesting

1. Programming

Reading a process control block

Hello, I want to know what call to use to read the details of a process control block in solaris ?:) (2 Replies)
Discussion started by: hmurali
2 Replies

2. UNIX for Dummies Questions & Answers

Causing a disk to be corrupt

Hmm, how to ask this without sounding too malicious... How might one go about causing a disk corruption in OS X specifically or via the command line in UNIX in general? Doesnt matter the severity of the problem, I just want to scare the person a little, then fix the problem for them. Any... (1 Reply)
Discussion started by: Yummator
1 Replies

3. AIX

nooB questions on importvg and exportvg

I don't understand the concept behind importvg and exportvg. What are some examples of when one would use this? (1 Reply)
Discussion started by: outtacontrol
1 Replies

4. Solaris

How to corrupt a superblock?

I need to corrupt a superblock of a mounted device in a soalris m/c and check recovery from an alternate superblock. How can this be done? (2 Replies)
Discussion started by: sujathan
2 Replies

5. AIX

Unable to execute varyonvg during importvg

Hello, On Aix 5.3, during importvg, the varyonvg fails: importvg -y vgtest hdisk20 0516-013 varyonvg: The volume group cannot be varied on because there are no good copies of the descriptor area. When i use manually the command varyonvg -u -b -t vgtest to force, the vg can... (3 Replies)
Discussion started by: dantares
3 Replies

6. AIX


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

7. HP-UX

corrupt disk

Hallo Friends, I have application X running on hpux 11.11 and oracle 9i release 2. I recently had a hardware failure on disk /dev/dsk/c2t0d0 Below is the systemlog file : root@a7dmc:/var/adm/syslog > /opt/resmon/bin/resdata -R 155713541 -r /storage/events/enclosures/gazemon/0_1_1_0.0.0... (11 Replies)
Discussion started by: kekanap
11 Replies

8. Shell Programming and Scripting

cp to copy only non-corrupt files

I don't know if I am asking this correctly, but I have a hard drive with some bad sectors and it appears that some of the data is corrupt. I am having allot of trouble copying the data to a new drive. The issue is not in copying files, but that the new drive to which files are copied is not acting... (17 Replies)
Discussion started by: LMHmedchem
17 Replies

9. AIX

importvg question

Is there a way to find the volume group name after assigning hdisk to the machine for importing it ? importvg -y <find_the_name_from_the_unknown_disk_> hdiskX Code tags and no hijacking. You should be aware of that ;) (3 Replies)
Discussion started by: filosophizer
3 Replies

10. High Performance Computing

Postgresql Database Corrupt

I am managing a linux cluster which has been build on Platform Cluster Manager PCM 1.2.1) from IBM Platform Computing. Unfortunately somebody deteled data files of postgresql from /var/lib directory. I somehow managed to start the postmaster service again, but all the administrative commands of... (2 Replies)
Discussion started by: ahsanpmd
2 Replies
PAPS(1) 						      General Commands Manual							   PAPS(1)

paps - UTF-8 to PostScript converter using Pango SYNOPSIS
paps [options] files... DESCRIPTION
paps reads a UTF-8 encoded file and generates a PostScript language rendering of the file. The rendering is done by creating outline curves through the pango ft2 backend. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. --landscape Landscape output. Default is portrait. --columns=cl Number of columns output. Default is 1. --font=desc Set the font description. Default is Monospace 12. --rtl Do rtl layout. --paper ps Choose paper size. Known paper sizes are legal, letter, a4. Default is A4. --bottom-margin=bm Set bottom margin in postscript points (1/72 inch). Default is 36. --top-margin=tm Set top margin. Default is 36. --left-margin=lm Set left margin. Default is 36. --right-margin=rm Set right margin. Default is 36. --help Show summary of options. --header Draw page header for each page. --markup Interpret the text as pango markup. --encoding=ENCODING Assume the documentation encoding is ENCODING. --lpi Set the lines per inch. This determines the line spacing. --cpi Set the characters per inch. This is an alternative method of specifying the font size. --stretch-chars Indicates that characters should be stretched in the y-direction to fill up their vertical space. This is similar to the texttops behaviour. AUTHOR
paps was written by Dov Grobgeld <>. This manual page was written by Lior Kaplan <>, for the Debian project (but may be used by others). April 17, 2006 PAPS(1)

Featured Tech Videos

All times are GMT -4. The time now is 10:15 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy