Sponsored Content
Full Discussion: PVRA and VGRA structure
Operating Systems HP-UX PVRA and VGRA structure Post 92138 by gorayen on Thursday 8th of December 2005 06:13:52 AM
Old 12-08-2005
PVRA and VGRA structure

Hi Unix gurus,
I want to know the non bootable LVM disk. I am refining my previous query(Size of LVM header in non-bootable disk).
After reading the several documents on LVM i came to know that Non-bootable disk have two reserved areas-- the physical volume reserved area(PVRA) and the volume group reserved area (VGRA), while bootable disks have additional sectors reserved for the boot data reserved area (BDRA) and LIF.

I want to know the internal structure or PVRA and VGRA or how i can get the length of these structure. After these structure LV extents will start.
Is there any header file in the /usr volume where these structures are defined?


Reagrds
Sandy
 

10 More Discussions You Might Find Interesting

1. HP-UX

Ram structure

Hi all, I would like know if we can enter a command under UNIX (HPUX 10.xx) to know the hard ram memory structure . Thanks Dorian (1 Reply)
Discussion started by: Dorian
1 Replies

2. UNIX for Dummies Questions & Answers

if then else structure

echo name the file that you want to read read answer if then echo you must enter a file name fi cat $answer im trying to catch the error if user forget to enter the name of the file anyone can help me ? thanks:confused: (4 Replies)
Discussion started by: props
4 Replies

3. Programming

Doubt in structure -- c++

hi, Small sample program #include <iostream> using namespace std; typedef struct vijay { int a; int b; }VIJAY; void main () { VIJAY v; cout << "a=" << v.a<<endl; cout << "b=" << v.b<<endl; if(v) { (5 Replies)
Discussion started by: vijaysabari
5 Replies

4. UNIX for Dummies Questions & Answers

Copying a Directory Structure to a new structure

Hi all Is it possible to copy a structure of a directory only. e.g. I have a file with the following entries that is a result of a find :- /dir1/dir2/file.dbf /dir1/dir2/dir3/file1.dbf /dir1/file.dbf I want to copy these to a directory and keep the structure however starting at a new dir... (8 Replies)
Discussion started by: jhansrod
8 Replies

5. UNIX for Advanced & Expert Users

MV files from one directory structure(multiple level) to other directory structure

Hi, I am trying to write a script that will move all the files from source directory structure(multiple levels might exist) to destination directory structure. If a sub folder is source doesnot exist in destination then I have to skip and goto next level. I also need to delete the files in... (4 Replies)
Discussion started by: srmadab
4 Replies

6. Shell Programming and Scripting

Need help in Directory Structure

I have writen the following code to show the dirctory structure. Can any body help me for using the recursive function in this code? echo "-(0)" echo "$HOME-(1)" cd ~ set * for i in `ls $HOME` do if then echo ".....${i}" cd... (5 Replies)
Discussion started by: murtaza
5 Replies

7. Shell Programming and Scripting

Case structure

Hi, Can anyone help me with the following case structure? echo "Please enter the date for which you want the Report:\c" read dat d1=`echo $dat|cut -c7-8` m1=`echo $dat|cut -c5-6` y1=`echo $dat|cut -c1-4` yr=`expr "$d1" - 1` case "$yr" in 0) MONTH=`expr "$m1" - 1`... (4 Replies)
Discussion started by: kamitsin
4 Replies

8. Programming

Search attributes in one structure using the values from another structure

Hello Groups I am trying to find out ways of comparing a value from a 'c' structure to a value in another 'C' structure. the 'C' structure can be a List or liked list as it contains lot many records. if we loop it in both the structures it is going to consume time. I am looking for a simple... (3 Replies)
Discussion started by: dhanamurthy
3 Replies

9. UNIX for Dummies Questions & Answers

Size of Structure

How can we find size of a structure with out using sizeof operator? Thanks, Harika (2 Replies)
Discussion started by: harikamamidala
2 Replies

10. UNIX for Dummies Questions & Answers

Directory Structure

Hi... I have a directory which has multiple directories and sub directories inside... what command should i use to get a list of all these directories, without the filenames.... (2 Replies)
Discussion started by: saharookiedba
2 Replies
PVCK(8) 						      System Manager's Manual							   PVCK(8)

NAME
       pvck - check physical volume metadata

SYNOPSIS
       pvck [-d|--debug] [-h|--help] [-v|--verbose] [--labelsector] PhysicalVolume [PhysicalVolume...]

DESCRIPTION
       pvck checks physical volume LVM metadata for consistency.

OPTIONS
       See lvm for common options.

       --labelsector sector
	      By  default, 4 sectors of PhysicalVolume are scanned for an LVM label, starting at sector 0.  This parameter allows you to specify a
	      different starting sector for the scan and is useful for recovery situations.  For example, suppose the partition table is corrupted
	      or  lost	on  /dev/sda, but you suspect there was an LVM partition at approximately 100 MB.  This area of the disk may be scanned by
	      using the --labelsector parameter with a value of 204800 (100 * 1024 * 1024 / 512 = 204800):

	      pvck --labelsector 204800 /dev/sda

	      Note that a script can be used with --labelsector to automate the process of finding LVM labels.

SEE ALSO
       lvm(8), pvcreate(8), pvscan(8) vgck(8)

Sistina Software UK					 LVM TOOLS 2.02.95(2) (2012-03-06)						   PVCK(8)
All times are GMT -4. The time now is 04:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy