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
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. UNIX for Dummies Questions & Answers
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
3. Solaris
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
4. HP-UX
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
5. HP-UX
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
6. Linux
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
7. AIX
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
8. Linux
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
9. HP-UX
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
10. Red Hat
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
LEARN ABOUT HPUX
vgrestore
vgrestore(1M) vgrestore(1M)
NAME
vgrestore - restore a VxVM disk group back to an LVM volume group
SYNOPSIS
/etc/vx/bin/vgrestore vg_name
DESCRIPTION
The vgrestore command restores a Logical Volume Manager (LVM) volume group that was previously converted to a VxVM disk group by the vxvm-
convert utility.
ARGUMENTS
vg_name
Specifies the name of a volume group that was converted to a VxVM disk group by the vxvmconvert utility.
EXIT CODES
vgrestore exits with one of the following values:
0 Successful completion.
>0 Failure; an error occurred.
WARNINGS
vgrestore functions only on VxVM disk groups that were converted from LVM volume groups by the vxvmconvert command.
It is a good idea to back up user data before running vgrestore, and restore it after the vgrestore completes, as vgrestore can only
restore a logical volume back to the state it was in before conversion to VxVM. If data changed on the volume while it was a VxVM volume,
the changes won't be reflected on the volume after being restored to LVM.
As part of the original conversion process, applications that once referenced the now-converted LVM volume's path names may have changed to
reference VxVM volume special device file names. Alternatively, special device file path names originally representing the now-converted
LVM volumes may have changed to symbolic links pointing to the VxVM volume path names. Be sure to undo these actions when restoring back
to LVM.
Do not use vgrestore unless you are certain that you want to restore LVM volume groups. After vgrestore this is run, the VxVM disks will
no longer exist.
EXAMPLES
To restore the LVM volume group vg03 that was converted by vxvmconvert to the VxVM disk group dg03, enter:
vgcfgrestore vg03
SEE ALSO
vxvmconvert(1M)
Veritas Volume Manager Migration Guide
VxVM 5.0.31.1 24 Mar 2008 vgrestore(1M)