System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

mirroring root FS and primary swap

 
SOLVED
Go to solution
James R. Ferguson
Acclaimed Contributor

Re: mirroring root FS and primary swap

Hi Olga:

As long as you correctly created the mirror boot disk ('pvcreate -B', 'mkboot', etc.) and then mirrored your logical volumes in the correct order (as indicated in my earlier post) you do *not* need to start over. Reducing the mirrors and re-mirroring the disk was the correct approach.

I trust that you also specified a "low-quorum" when you did your 'mkboot':

mkboot ???a ???hpux ???lq???

If all of the above is true, then the acid test is to boot from the disk!

Regards!

...JRF...
Olga_1
Regular Advisor

Re: mirroring root FS and primary swap

James,
I did:
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c2t6d0

Should I specify -iq ?
Helen French
Honored Contributor

Re: mirroring root FS and primary swap

Hi Olga:

Again, it's not "iq" , it's "-lq". This for no quorum check. If you don't specify this, then when the root disk fails, for booting from the mirror root disk, you have to interrupt the boot process, then at

ISL > hpux -lq

If you specify -lq at the mkboot, then you don't need to do this. The system will automatically boot.

HTH,
Shiju
Life is a promise, fulfill it!
Olga_1
Regular Advisor

Re: mirroring root FS and primary swap

Sorry, I did mean -lq

so the right syntax is:

mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t6d0

Correct?
Sanjay_6
Honored Contributor

Re: mirroring root FS and primary swap

Hi Olga,

Yes you are correct. The right syntax for the boot string on mirror root disk is,

mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cxtydz

Hope this helps.

Regds
James R. Ferguson
Acclaimed Contributor

Re: mirroring root FS and primary swap

Hi Olga:

# mkboot ???a ???hpux ???lq??? /dev/rdsk/cXtYdZ

...will do fine.

Regards!

...JRF...
Alan Riggs
Honored Contributor

Re: mirroring root FS and primary swap

One clrification to the above:

You should issue the mkboot by itself first (to write the BOOTLIF area). Then issue mkboot -a to write the bot string. At least, that is how I learned the procedure way back in the dark ages.
Highlighted
Mike_305
Super Advisor

Re: mirroring root FS and primary swap

Hi Olga,

Here the script will do it all.

THX - Mike
If there is problem then don't think as problem, think as opportunity.