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
pvcreate(1M)															      pvcreate(1M)

NAME
pvcreate - create physical volume for use in LVM volume group SYNOPSIS
soft_defects] disk_size] disk_type] pv_path DESCRIPTION
The command initializes a direct access storage device (a raw disk device) for use as a physical volume in a volume group. If pv_path contains a file system and the option is not specified, asks for confirmation. The request for confirmation avoids accidentally deleting a file system. Furthermore, when the option is not specified, the operation is denied if pv_path already belongs to another LVM volume group, or the pv_path refers to a disk device under the control of the VERITAS or Oracle ASM Volume Manager. After using to create a physical volume, use to add it to a new volume group or to add it to an existing volume group (see vgcreate(1M) and vgextend(1M)). Disks cannot be added to a volume group until they are properly initialized by pv_path can be made into a bootable disk by specifying the option, which reserves space on the physical volume for boot-related data. This is a prerequisite for creating root volumes on logical volumes. Refer to mkboot(1M) and lif(4) for more information. Options and Arguments recognizes the following options and arguments: pv_path The character (raw) device path name of a physical volume. Read from standard input the numbers that correspond to the indexes of all known bad blocks on the physical volume, pv_path, that is being created. Specify the indexes using decimal, octal, or hexadecimal numbers in standard C-language nota- tion, with numbers separated by newline, tab, or formfeed characters. If this option is not used, assumes that the physical volume contains no bad blocks. This option is being retained solely for backward compatibility reasons and is currently ignored. It will be obsoleted in the next HP-UX release. Make a bootable physical volume (that is, a system disk). On PA-RISC systems, pv_path should be the path name for the whole disk. On Itanium(R)-based systems, pv_path should be the path name for the disk section containing the HP-UX partition (see model(1), getconf(1)). Booting from a volume group version 2.0 or higher is not supported. Therefore,a physical volume initialized with the option cannot be added to a volume group version 2.0 or higher. Specify the minimum number of bad blocks that LVM should reserve in order to perform software bad block relocation. This number can be no larger than 7039. If not specified, one block is reserved for each 8K of data blocks. This option is being retained solely for backward compatibility reasons and is currently ignored. It will be obsoleted in the next HP-UX release. Effective size of the physical volume to be created, specified in kilobytes (KB). This option is only supported on version 1.0 volume groups. When a physical volume is added to a volume group version 2.0 or higher any value set using the option is replaced with the full size of the disk (up to the maxi- mum physical volume size). Force the creation of a physical volume (thus deleting any file system or volume manager information present) without first requesting confirmation. Warning: The option should only be used as a last resort to over write file system or volume manager information that cannot properly be removed using the commands designed for that purpose. When invoked with the command does minimal verification, so care should be taken to assure that the disk is not already in use prior to invok- ing the command. Retrieve configuration information about the physical volume from the file disk_type specifies the device (for example, hp7959S). The disk_type only needs to be specified when fails to get the size from the underlying disk driver. If the driver successfully returns the size of the device, disk_type is ignored. Note The user data size of the same physical volume may differ, when initialized by command under different releases of HP-UX. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). EXAMPLES
Create a physical volume on raw device and force the creation without confirmation: Create a bootable physical volume for an Itanium-based system on raw device and force the creation without confirmation: WARNINGS
If you are using command on an Itanium-based system boot disk, ensure that the specified device special file correspond to the HP-UX parti- tion. For example, initializes only the first 2,147,483,647 Kilobytes (2TB - 1KB) of disk space when the disk size exceeds this value. Disk space beyond this point will not be used by LVM. FILES
Disk geometry and disk partition characteristics for all disk devices on the system SEE ALSO
getconf(1), model(1), idisk(1M), mkboot(1M), vgcreate(1M), vgextend(1M), lif(4), intro(7), lvm(7). pvcreate(1M)
All times are GMT -4. The time now is 08:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy