Unmirror and machine not booted after restart

My box is aix 5.3, i have done unmirror and restart, machine count't boot up missing disk in sms,
BLV, is in hdisk3

when i go through maintenance mode,
many command not work such as...
bosboot
bootlist

pls suggest me...

Hello reply.ravi,

I suspect that you only have a disk left without a boot logical volume or boot image on it. In SMS, can you ask it to select the boot device and when prompted get it to list all? That might tell you which devices are bootable at all.

The process for mirroring rootvg should always be:-

extendvg rootvg hdisk1                           to add a disk to the volume group if needed
mirrorvg rootvg                                  with whatever options you choose which mirrors the logical volumes
bosboot -ad hdisk0                               or whatever disks are now bootable, each in turn
bootlist -m normal hdisk0 hdisk1 hdisk2 net cd   or whatever your boot list needs to be.
bootlist -om normal                              to display your selected boot list.

I would suggest that removing the mirror should follow the same subsequent steps, doing an unmirrorvg then a reducevg

If you have a mksysb image, you should be able to boot from that and go to single user, accessing the root volume group. You will then need to discover which disks you have available and try to work out what is on each and hopefully you can complete the bosboot there then boot again, probably through SMS to choose the boot device.

If bosboot fails, then you can be left with an un-bootable system too.

To remove the mirror, did you specify the disk to have the mirror removed from? I've had experience where just giving it the command will remove some LVs from one disk and some from another. Just pulling/deconfiguring a disk might then give you the symptoms here.

It would be good to know the steps taken, although obviously you won't be able to scrape them off the screen to show us.

Robin


A server I can have a play with reports this when I list the boot devices from SMS:-
```text
 PowerPC Firmware
 Version EL350_071
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Select Device
 Device  Current  Device
 Number  Position  Name
 1.        -      PORT - 7 IBM Host Ethernet Adapter
        ( loc=U789C.001.DQD5S24-P1-C7-T1 )
 2.        -      PORT - 8 IBM Host Ethernet Adapter
        ( loc=U789C.001.DQD5S24-P1-C7-T2 )
 3.        1      SCSI 15 GB Harddisk, part=2 (AIX 6.1.0)
        ( loc=U8203.E4A.65FE9F5-V4-C2-T1-L8300000000000000 )
 4.        2      SCSI 15 GB Harddisk, part=2 (AIX 6.1.0)
        ( loc=U8203.E4A.65FE9F5-V4-C2-T1-L8400000000000000 )
```
These are VIO provided disks, but the principal is the same.  For your disks, it should be able to read the OS version and display it to you.



Robin

Hi rbatte1

Thanks for replying but I have done lots of things but fail to boot,
when I see in SMS first boot select, it show only :-

  • IBM Host Ethernet Adapter
  • SAN disk

It not show any hdisk...

When I use Aix disk & go maintenance mode, it has very limited command,
I have tried these cmds:-

  • bosboot
  • bootlist
  • reboot
  • shutdown -Fr
  • lsvg

....but fail to execute these cmds, command not found it reply.

You should not use the normal AIX disk but the "Diag"-disk. The normal disk is for OS installation, "diag" is for maintenance. "diag" is menu-driven, so it is pretty self-explanatory.

I hope this helps.

bakunin

Hi bakunin

Thanks for your reply but
I have checked my AIX CD, but there is no diag CD.

This is not part of the AIX CD-set but a separate CD. If you do not have one you need to get it from your IBM SP. Note that you need a version which is at least at the firmware level of your system.

I hope this helps.

bakunin