HP-UX logical volume structure


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX logical volume structure
# 1  
Old 11-09-2005
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
# 2  
Old 11-10-2005
# 3  
Old 11-11-2005
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
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Cannot extend logical volume

Dear All, We have an Oracle running on AIX 6.1, now there have an disk spaces issue and we found that we cannot perform to extend the logical volume. Could help to review and make some suggestions. Status: we already provisioned some disks to the host, new disks can be scan and add into the... (11 Replies)
Discussion started by: lckdanny
11 Replies

2. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

3. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

4. AIX

Position of the logical volume on the physical volume

Hello everyone, I just read that while creating a logical volume(LV) we can choose the region of the physical volume (PV) in which the LV should be created. When I say region I mean: outer edge - outer middle - center - inner middle and inner edge. Can anyone help me understand the utility... (11 Replies)
Discussion started by: adilyos
11 Replies

5. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

6. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

7. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

Hi! Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes? What items should I check, like where do I look at in smit? Or are there commands that I should execute? I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies

8. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

9. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies
Login or Register to Ask a Question