[HPADM] How to move a boot volume without reboot.

From: Julian Rogan (Julian.Rogan_at_Unilever.com)
Date: 08/05/03

  • Next message: C Preethi: "[HPADM] Multicast routing in HPUX"
    Date: Tue, 5 Aug 2003 11:07:12 +0100 (GMT Daylight Time)
    To: "HP-UX Admin List (hpux-admin@dutchworks.nl)" <hpux-admin@dutchworks.nl>
    
    

    Hi,
    I have a boot volume (HPUX V11.0) on an EMC disk, I want to move this to
    local storage.
    I understand how to create an alternate boot disk however I would like
    some advice on another method.

    Will the following work?

    1. pvcreate -B new disk, mkboot etc. on new disk and vgextend it into vg00.
    2. mirror all logical volumes from the EMC boot disk to the new disk.
    4. lvreduce all mirrors from the EMC disk.
    5. lvrmboot -r vg00 to remove all BDRA data.
    6. vgreduce vg00 EMC-disk # This is the bit I am not sure will work.
    7. lvlnboot -R
    8. lvlnboot [-b lvolx, -r lvoly, -s lvolw, -d dump lvols] to restore BDRA
    9. mkboot -a (new boot string).
    10. setboot ?

    I realize that if the above works I will not have a bootable system
    between steps 4 and 9.
     
    I keep thinking it can't be this easy.

    Any comments/suggestions would be welcome

    regards,

    Julian

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: C Preethi: "[HPADM] Multicast routing in HPUX"

    Relevant Pages

    • Re: Installation: doesnt see setup files on hard drive?
      ... > disk the BIOS is set to boot from must have an appropriate Master Boot ... I was worried about those points you made above so I removed all drives except the one I want to instll ...
      (microsoft.public.win2000.general)
    • Re: [SLE] Problems with initrd after mkinitrd
      ... A disk can have three real heads and report a dozen or a hundred! ... > natural metric for partitioning drives that use LBA. ... > - One, less frequent, is the failure of some of the cloned drives to boot ...
      (SuSE)
    • Re: Three Linux Operating Systems in One Computer (Is it possible?)
      ... Hard Disk 1 19.42GiB IDE ... The GRUB boot loader is installed on the first hard disk. ... I am planning to combine /dev/hda6 with /devhda1 using the Gnome Partition ...
      (Ubuntu)
    • [HPADM] Summary MirrorDisk/UX 11.00
      ... disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GMAN3735MC ... Use mkboot to place the boot utilities in the boot area and add the AUTO file. ... LVM will resynchronize the new mirror copies. ... All you need to do is ftp it to your server, chmod 700 on the file then run the command with the cxtxdx name ...
      (HP-UX-Admin)
    • Re: Notice of intention to complain
      ... Suppose there actually is a nasty beastie virus on that disk. ... exists and is okay. ... Boot old computer from it's own hard disk. ... I go rummaging again and find a 320MB Panasonic hard disk. ...
      (alt.comp.anti-virus)