Re-enabling the boot drive mirror

This topic describes the steps for to re-enable mirroring on the boot drives.

Context

If you split the boot drive mirror before you began the upgrade, you can now re-enable the boot drive mirror.

For information about splitting the mirrored boot drive, see the Device Management Users Guide, which is available at this website:

www.lsilogic.com

Steps

  1. From the master metadata server, stop the metadata server that was just updated.
    /usr/tank/admin/bin/tanktool stopserver metadata_server_name
  2. Exclude the secondary drive from the list of drives that are available.
    1. Edit /etc/fstab.
      /dev/sda3       /          reiserfs   defaults              1 1
      /dev/sda1       /data1     auto       noauto,user           0 0
      /dev/sdb1       /data2     auto       noauto,user           0 0
      /dev/sdb3       /data3     auto       noauto,user           0 0
      /dev/sda2       swap       swap       pri=42                0 0
      /dev/sdb2       swap       swap       pri=42                0 0
      devpts     /dev/pts        devpts     mode=0620,gid=5       0 0
      proc      /proc            proc       defaults              0 0
      usbdevfs /proc/bus/usb     usbdevfs   noauto                0 0
      /dev/cdrom  /media/cdrom   auto       ro,noauto,user,exec   0 0
      /dev/fd0    /media/floppy  auto       noauto,user,sync      0 0
    2. Delete all /dev/sdb partitions.
      Important: You must actually delete the /dev/sdb partitions from this file rather than commenting them out.
      /dev/sda3       /          reiserfs   defaults              1 1
      /dev/sda1       /data1     auto       noauto,user           0 0
      /dev/sda2       swap       swap       pri=42                0 0
      devpts     /dev/pts        devpts     mode=0620,gid=5       0 0
      proc      /proc            proc       defaults              0 0
      usbdevfs /proc/bus/usb     usbdevfs   noauto                0 0
      /dev/cdrom  /media/cdrom   auto       ro,noauto,user,exec   0 0
      /dev/fd0    /media/floppy  auto       noauto,user,sync      0 0
    3. Save the file.
  3. Reboot the engine to access the LSI configuration utility.
  4. Watch the boot sequence carefully, and press Ctrl-c when the LSI message appears.
  5. Select the first device and press Enter.
  6. Select Mirroring Properties.
  7. Change the properties from No to Primary and Secondary.
  8. Save the configuration and exit.
  9. After the engine finishing booting, perform a test mount to verify that you have access to the boot drive.
    mount /dev/sdb1 /mnt
  10. Unmount the drive.
  11. Start the metadata server.
    /usr/tank/admin/bin/tanktool startserver metadata_server_name
  12. From the master metadata server, list all servers in the SAN File system cluster to verify that the metadata server has rejoined the cluster.
    /usr/tank/admin/bin/tanktool lsserver
    You should see the upgraded server in the list of metadata servers:
    Name      State  Server Role Containers Last Boot
    =============================================================
    mstr_mds  Online Master               3 Feb 13, 2004 2:46:28 PM
    sub_mds1  Online Subordinate          1 Feb 16, 2004 4:26:08 AM

Parent topic: Upgrading the first metadata server engine

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.