The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Moving a Logical Volume from one Volume Group to Another krisw AIX 2 07-14-2008 04:48 AM
Logical volume to raw device veccinho AIX 5 05-13-2008 12:42 AM
Help - can't extend logical volume ? vilius AIX 2 03-06-2008 08:37 AM
LVM - Extending Logical Volume within Volume Group ghimanshu UNIX for Advanced & Expert Users 3 07-26-2007 04:39 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-09-2005
Registered User
 

Join Date: Nov 2005
Posts: 6
HP-UX logical volume structure

HI, I am newbie to HP. I am working on HP visualise B1000 workstation.
In my project i have a need to read the logical vome structure,
I mean to say at the time of installation i create 5 logical vome like /,/var,/usr, /home, swap etc.with different sizes.
I am using a hexeditor for searching the Vxfs internal structure. I got a dsk_label_magic 0x8b7f6a3c at some sector number. In that structure i got two parameters one for /stand partition , its starting block number and its length and then i "/"(root) starting block number and its length.It has been verfied .
But after that i am unable to find the next partitions information like start of /home or /usr and their length.
i ma using the single hard disk.
Plaese tell how i got the information or any structure that define it.

Is there any structure like VTOC (volume table of contents) like in Unixware and solaris.

Regards
Sandy
Reply With Quote
Forum Sponsor
  #2  
Old 11-09-2005
Awadhesh's Avatar
Registered User
 

Join Date: Jul 2005
Location: Delhi, India
Posts: 92
Check This Link

http://us-support3.external.hp.com/i...N_01_E/LVM.pdf

Awadhesh
Reply With Quote
  #3  
Old 11-10-2005
Registered User
 

Join Date: Nov 2005
Posts: 6
HP-UX logical volume structure

Thanks Awadesh for guiding me. Now i have to find that is any bit map type structure of physucal extents of any logical volumes and how i can find that.
Suppose I extend one LV on two PV on same VG.

How i can jump on the starting location of 2nd PV physically?

If I create one LV called /home1 of 500Mb and then /home2 of 345Mb and then i extend /home1 on first PV and then 2nd PV and then i delete /home2 then how i can trverse the /home1?

My main aim is to trverse the whole /home1 LV through my program.

One more query is that I want to find the bitmap structure of all used/unused datablocks and Inodes in the Vxfs File system.


Regards
Sandy
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0