[HPADM] RE: Creating a boot disk in 11i



You have to remove the disk from the VG.  Then run a pvcreate –B to make the disk bootable, run mkboot, and then add it back to the VG and remirror.  HP’s site has the page http://www2.itrc.hp.com/service/cki/search.do?category=c0&mode=id&searchCrit=allwords&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=LVMKBRC00005103 that describes the entire process.

 

   -Jim

 


From: hpux-admin-owner@xxxxxxxxxxxxx [mailto:hpux-admin-owner@xxxxxxxxxxxxx] On Behalf Of HP UX
Sent: Friday, January 27, 2006 9:47 PM
To: hpux-admin@xxxxxxxxxxxxx
Subject: [HPADM] Creating a boot disk in 11i

 

New to the group.

 

I have searched the archives, and have not found exactly what I was looking for.

 

I have an HP-UX 11i box with two disks in it.  The first disk came pre installed with OS, utilities, licenses, etc. loaded on it.  I have the Mirror UX software/license installed.  I want to use LVM to use the second disk as a mirror cpoy.  There was already a PV created for the second disk. I have added it to the only volume group (vg00), and have used SAM to add 1 mirror copy of each logical volume.  lvdisplay looks like the data is being mirrored. I then realized I needed to make the disk bootable, and write the boot sectors to it.  I did a  mkboot on the second disk.  I tested it, by bringing the system down, and swapping disks, but it says it's not bootable.  Since the PV was created at the factory, how can I tell if it has the boot sectors written?  Do I need to reduce the second disk out of the VG, and blow it away, and then re-label it using "pvcreate -B", and then add it back to the VG?

 

In short, how do I make a two disk bootable mirrorset?

 

TIA,

 

Rich



Relevant Pages

  • Solaris RAID failover problems
    ... My intent is to mirror the drives completely, ... Can't read disk label. ... WARNING: md: d10: needs maintenance ... WARNING: forceload of misc/md_trans failed ...
    (comp.unix.solaris)
  • Re: Huge Av Disk Queue Length
    ... Write performance = 130 per mirror ... Mixed performance at a 1:1 R:W ratio = 195 IOPS per mirror. ... (sort of like weighted fair queuing for disk performance). ... put a 3020 in each location with FCP shelves for the primary data and SATA ...
    (microsoft.public.exchange.admin)
  • Re: Software RAID 1
    ... You can have any number of partitions on one disk and mirror 1 or more to a ... second disk. ... the mirror. ...
    (microsoft.public.windows.server.sbs)
  • Re: how i locate swap area
    ... what you have with the command 'vgdisplay -v vg00'. ... Why Mirror Copies is 0? ... it seems that you have no disk mirroring. ... Primary Partition Table: ...
    (comp.sys.hp.hpux)
  • Re: VxVM : Cant open /dev/vx/rdsk/bootdg/rootvol
    ... disk as explained in the document). ... before "Reattaching the plexes rootvol-01, swapvol-01, to the relevant ... of the root mirror and change the state of the rootdisk to detached. ... # vxplex att rootvol-01 rootvol-02 ...
    (comp.unix.solaris)