Recreating the boot logical volume: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
(Created page with "== Recreate the boot logical volume == The bosboot command requires that the boot logical volume (hd5) exists. If it is ever needed to re-create the BLV from scratch follow t...")
 
 
Line 4: Line 4:
# Boot the machine into maintenance mode from CD or tape, enter into SMS mode and select the boot device.
# Boot the machine into maintenance mode from CD or tape, enter into SMS mode and select the boot device.
# Remove the old hd5 logical volume.
# Remove the old hd5 logical volume.
## <tt>'''# rmlv hd5'''</tt>
#: <tt>'''# rmlv hd5'''</tt>
# Clear the boot record at the beginning of the disk.
# Clear the boot record at the beginning of the disk.
## <tt>'''# chpv -c hdisk#'''</tt>
#: <tt>'''# chpv -c hdisk#'''</tt>
# Create a new hd5 logical volume that is one PP in size, in rootvg and at the outer edge as the intrapolicy.
# Create a new hd5 logical volume that is one PP in size, in rootvg and at the outer edge as the intrapolicy.
## <tt>'''# mklv -y hd5 -t -a e rootvg 1'''</tt>
#: <tt>'''# mklv -y hd5 -t -a e rootvg 1'''</tt>
# Run the bosboot command.
# Run the bosboot command.
## <tt>'''# bosboot -ad hdisk#'''</tt>
#: <tt>'''# bosboot -ad hdisk#'''</tt>
# Check the bootlist make changes if needed
# Check the bootlist make changes if needed
## <tt>'''# bootlist -m normal -o'''</tt>
#: <tt>'''# bootlist -m normal -o'''</tt>
# Manually sync to disk.
# Manually sync to disk.
## <tt>'''# sync;sync'''</tt>
#: <tt>'''# sync;sync'''</tt>
# Restart the system.
# Restart the system.
## <tt>'''# shutdown -Fr now'''</tt>
#: <tt>'''# shutdown -Fr now'''</tt>


== Further Reading ==
== Further Reading ==


[[Category: AIX]]
[[Category: AIX]]

Latest revision as of 21:02, 13 December 2017

Recreate the boot logical volume

The bosboot command requires that the boot logical volume (hd5) exists. If it is ever needed to re-create the BLV from scratch follow this procedure.

  1. Boot the machine into maintenance mode from CD or tape, enter into SMS mode and select the boot device.
  2. Remove the old hd5 logical volume.
    # rmlv hd5
  3. Clear the boot record at the beginning of the disk.
    # chpv -c hdisk#
  4. Create a new hd5 logical volume that is one PP in size, in rootvg and at the outer edge as the intrapolicy.
    # mklv -y hd5 -t -a e rootvg 1
  5. Run the bosboot command.
    # bosboot -ad hdisk#
  6. Check the bootlist make changes if needed
    # bootlist -m normal -o
  7. Manually sync to disk.
    # sync;sync
  8. Restart the system.
    # shutdown -Fr now

Further Reading