Operating System - HP-UX
1849593 Members
6451 Online
104044 Solutions
New Discussion

mirroring vg00 on 11.31 sep 2008 release

 
SOLVED
Go to solution
Stijn V
Regular Advisor

mirroring vg00 on 11.31 sep 2008 release

Hello,

I want to mirror the vg00, my procedure sais

Determene the following sizes:

# print '3\nEFI 500MB\nHPUX 100%\nHPSP 400MB' > /tmp/partitionfile

With:
# diskinfo -b /dev/rdisk/_p1 | awk '{print $1 / (1024)}'
# diskinfo -b /dev/rdisk/_p2 | awk '{print $1 / (1024)}'
# diskinfo -b /dev/rdisk/_p3 | awk '{print $1 / (1024)}'

But I do have 499.969 MB for the EFI size (instead of 500MB).... and 139114 for HPUX (instead of 100%) Can I use these values as input to partition the mirror disk with idisk?

Thanks for your help.
13 REPLIES 13
James R. Ferguson
Acclaimed Contributor

Re: mirroring vg00 on 11.31 sep 2008 release

Hi :

Why not round (?):

# ... awk '{print int($1/(1024)+.5)}'

or:

# ... awk 'printf "%.0f\n",($1/1024)}'

Regards!

...JRF...
Stijn V
Regular Advisor

Re: mirroring vg00 on 11.31 sep 2008 release


Ok thanks. But can I round it up and use the value 500MB instead of 499.969 MB to partition the second mirror disk? Or should it be the same?

Can I use 100% for the HPUX partition or should it be the same value?
Stijn V
Regular Advisor

Re: mirroring vg00 on 11.31 sep 2008 release

Nobody ?
VK2COT
Honored Contributor
Solution

Re: mirroring vg00 on 11.31 sep 2008 release

Hello,

For test and the sake of fun, I did the following type of setup and no problems found:

Primary disk
EFI 500MB
HPUX 100%
HPSP 400MB

Alternate disk
EFI 500MB
HPUX 100%
HPSP 500MB

In other words, I increased the Service Partition on behalf of HP-UX one.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
chinadns
Advisor

Re: mirroring vg00 on 11.31 sep 2008 release

i think it you can only mirror the data to alt disk_p2,so the alt disk_p2 space should not less than priv disk_p2,the alt disk_p1 and disk_p3 space can vary from the alt disk.
Anyway, i think no one do this in production enviroment
shine the sky
Stijn V
Regular Advisor

Re: mirroring vg00 on 11.31 sep 2008 release

OK thanks.

I do not wan't to change them, but should I create an EFI size of 499.969 MB? and an HPUX with size 139114 MB?

This is the first time that I see this (v3 from sep 2008 CD), normally I have default EFI of 500MB and HPUX of 100%
likid0
Honored Contributor

Re: mirroring vg00 on 11.31 sep 2008 release

I use this on 11v3:

Alternate disk
EFI 500MB
HPUX 100%
HPSP 500MB


and it works fine.
Windows?, no thanks
Stijn V
Regular Advisor

Re: mirroring vg00 on 11.31 sep 2008 release

OK thanks. But what do you have on your primary disk? Up to me, you should use the same values?
john123
Trusted Contributor

Re: mirroring vg00 on 11.31 sep 2008 release

The size of the each partition of root disks can be different, But make sure that your EFI partition have enough space to hold EFI

And in HP UX we are not mirroring EFI and HPSP partitions, We are mirroring only logical volumes in in the HP UX partition, Means its not partition to partition mirroring but it is LV to LV mirroring, So whatever size you gave for the partitions doesnt matter, but just make sure that EFI and HPSP paritions have enough space to hold the required data

HTH
John Thomas
Stijn V
Regular Advisor

Re: mirroring vg00 on 11.31 sep 2008 release

Ok thanks.

So I have to give the EFI and HPSP paritions enough space to hold the required data, so I guess that, if I round them up to a higher value (compared to the original boot disk), I always have enough space. In worst case, my second (mirror disk) has a few extends less than the original disk to mirror my lvol's (because HPUX partition decreases).
john123
Trusted Contributor

Re: mirroring vg00 on 11.31 sep 2008 release

Yes exactly,

If u don't want to install ODE( offline Diag) although it is recommended , then dont care about the the size of the HPSP,
Because HPSP is only used for ODE

Regards
John
Stijn V
Regular Advisor

Re: mirroring vg00 on 11.31 sep 2008 release

I logged a call as well at HP, they recommend to use a EFI of 500MB, HPUX of 100% and a HPSP of 400MB.

Although this amount of space is not yet necessary for HPSP, it will be in the future.

Anyway, it seems that the rounding of EFI size changed since 11.31 sep 2008 release.... don't know yet why ...
Stijn V
Regular Advisor

Re: mirroring vg00 on 11.31 sep 2008 release

issue solved, thanks all.