Size of LVM header in non bootable disk


 
Thread Tools Search this Thread
Operating Systems HP-UX Size of LVM header in non bootable disk
# 1  
Old 12-06-2005
Size of LVM header in non bootable disk

hi,
i have a query regarding the size of the LVM header. Since the LVM header of a bootable disk is always 2912KB. The header size of a non bootable disk is not fixed. In Bootable disk after the LVM header (2912 KB=5824 sectors)the user data starts or we can say LV extents starts.
If i extend any Logical volume from bootable disk to my 2nd hdd of the same VG. suppose i increase the size of /home LV 2GB to 5GB and it extended on the new hdd which i attatched on my machine.

If on PV1 512 PE(4MB) resides and remaining PE resides on 2nd hdd.
How i can trverse on the 2nd hdd from where my 513th extent start?
I am developing a C++ module that for this.
Please guide me how i can get this information.

Regards
Sandy
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to reduce the LVM Size in RHEL/Centos 7 ?

Hi All, I have one logical volume with size as 900G and it is mounted as xfs file system. Now I want to reduce this partition to 500G. So I followed the below steps. unmount the mount point /home Reduced the volume using the command Now I remounted the partition. But the problem... (3 Replies)
Discussion started by: kalpeer
3 Replies

2. HP-UX

LVM: is possible to replace a disk?

Scenario1: VG00 lvm,not mirrored,2 disk of 36GB vg size VG00 size is under 30G. Is possible to remove a disk of 36GB and replace "on fly" with a disk of 300GB on VG00? Thanks (6 Replies)
Discussion started by: Linusolaradm1
6 Replies

3. Linux

LVM extent size

Hi guys. What is the LVM default extent size? is it changeable? is it different between distributions?:confused: (7 Replies)
Discussion started by: majid.merkava
7 Replies

4. AIX

Disk I/O Issue using LVM

We have a filesystem which contains 8 hard disks but i am facing disk I/O issue becuase data is not spreading across all the disks.Is there any way i can check how data is spreading and any parameter we need to change to spread ata across all disks. OS--AIX 5.3 (1 Reply)
Discussion started by: ukatru
1 Replies

5. Linux

Creating a bootable dvd/cd disk

Hi all, thanks for so many helps in many problems! Can anyone guide, how to create a bootable cd/dvd from downloaded iso images of CentOS 5? I have collected all the iso in a dvd but it is not booting the system. Any response will be appreciable... (2 Replies)
Discussion started by: naw_deepak
2 Replies

6. HP-UX

Creating a bootable disk in 9.10

I am trying to copy a HP-UX disk. Both the OS and H/W are quite old HP-UX hpeval3 B.09.10 A 9000/382 080009789a46 I have a 1.5Gb disk and a new 2Gb disk. I have been using the following method to create the copy, which must be a bootable disk. #mediainit /dev/rdsk/cEd1s0 (2Gb disk) cEd0s0... (9 Replies)
Discussion started by: malcqv
9 Replies

7. HP-UX

disk adding through lvm

Hi dear(s) Can u explain how to add a disk through lvm with commands. I need to add a 9 gb scsi HS disk to a Hp D class 9000 server. (2 Replies)
Discussion started by: sreekumar.R
2 Replies

8. Solaris

How to make a bootable disk?

The second disk that I'm trying to make bootable is to hold another version of Solaris (9). I've created the partitions with format and labeled the disk - created the filesystems with newfs - created and mounted the directories. ...but I think I've missed something out like using fdisk to... (16 Replies)
Discussion started by: pondlife
16 Replies

9. UNIX for Dummies Questions & Answers

recover DIsk and make bootable

Hello all, I'm trying to recover from backup file to a new system with a new disk. I'm able to partition my new hard drive the same way as my old drive, but I'm unable to boot off of it. I have set the fdisk to toogle as a boot flag. But it does not seem to be working. Does anyone know how to... (4 Replies)
Discussion started by: larryase
4 Replies

10. UNIX for Advanced & Expert Users

Bootable disk

I have a SCO Openserver 5.0.6 running Raid 5. and want to make a bootable disk but the boot image is 5MB ie unix file on root is around 5M and the size is obviously too large for a floppy diskette. Please help on how I can make any bootable device. The aim is to change the filesystem size. ... (6 Replies)
Discussion started by: sshokunbi
6 Replies
Login or Register to Ask a Question
lvmadm(1M)																lvmadm(1M)

NAME
lvmadm - display limits associated with a volume group version SYNOPSIS
vg_vers] DESCRIPTION
The command is used to perform the actions below: o Display the limits associated with a volume group version. o Display the LVM configuration that is contained in and files for the indicated volume group version. o Update the entries of the bootable volume group and the boot information present in the boot disk either during or after boot. With the boot disk's physical location changing prior to reboot or when the system is booted with a cloned disk, the entries of the bootable volume group and the boot information present in the boot disk may be out of sync with the kernel. In such a situation, follow- ing root volume group activation (either during boot or post boot) use the command in migrate mode option) to update the information present in the file and the boot information present in the boot disk with the kernel. See lvm(7) for more details. Options and Arguments recognizes the following options: Display a table of limits for the indicated volume group version. Display limits or configuration for volume group version vg_vers. The default is to display limits for all supported volume group versions. Display the LVM configuration that is contained in the and files. Produce a compact listing of fields described in The output is a list of colon separated fields formatted as: Update the information present in the file for the bootable volume group and the boot information present in the boot disk, with the information present in the kernel, if there is any mismatch. Display With -t Option For each volume group version to be displayed (one if is specified, all if is omitted) displays the following. VG Version The volume group version. Max VG Size (Tbytes) The maximum size of a volume group in terabytes. Max LV Size (Tbytes) The maximum size of a logical volume in terabytes. Max PV Size (Tbytes) The maximum size of a physical volume in terabytes. Max VGs The maximum number of volume groups this volume group version supports on a system. Max LVs The maximum number of logical volumes in a volume group. Max PVs The maximum number of physical volumes in a volume group. Max Mirrors The maximum number of mirrors for a logical volume. Max Stripes The maximum number of stripes for a logical volume. Max Stripe Size (Kbytes) The maximum stripe size for a logical volume in kilobytes. Max LXs per LV The maximum number of extents in a logical volume. Max PXs per PV The maximum number of extents in a physical volume. Max Ext Size (Mbytes) The maximum size of an extent in megabytes. Display with -l Option For each volume group version to be displayed (one if is specified, all if is omitted) displays the following: o The list of volume groups that exist on the system, and o The list of physical volumes belonging to each of the volume groups. The LVM configuration displayed by this option is from data contained in the and files. The command fails if these files are missing or corrupt. Compact Listing (-F Option) The option generates a compact and parsable listing of the command output in colon separated fields formatted as The option is designed to be used by scripts. The resulting command output may be split across multiple lines. The output may include new keys and/or values in the future. If a key is deprecated, its associated value is set to Compact Listing for -t option Below is a sample output: Compact Listing for -l option Below is a sample output: 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
Display a table of limits for volume group version 2.0. Display the LVM configuration file contents for volume group version 1.0. AUTHOR
was developed by HP. SEE ALSO
vgcreate(1M), lvm(7). lvmadm(1M)