Re: Damaged hd5



verify this, else the results could be pretty disastrous. Its been a while, i think it's:

remove the bad one:
rmlv hd5

use mkboot to create a new hd5:
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.doc/cmds/aixcmds3/mkboot.htm

add a copy to the bad disk:
mklvcopy hd5 2 diskwithnohd5

do a bosboot:
bosboot -ad /dev/diskwithnohd5

change the bootlist
bootlist -m normal disk1 disk2




-----Original Message-----
From: IBM AIX Discussion List on behalf of Green, Simon
Sent: Thu 7/20/2006 11:24 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Damaged hd5

One of my servers (AIX 5.2 ML07) had a disk problem. I've got a couple of
block-relocation and related errors.

Unfortunately, rootvg wasn't mirrored as in the past there wasn't enough
disk space. However, there have been some changes and with a bit of
shuffling around I was able to free up a suitable disk and ran a mirrorvg.

Alas! It failed! All the LVs were created but hd5 and hd6 could not be
synchronised - presumably because they're on damaged portions of the disk.

I think I can deal with hd6 by doing a swapoff then deleting it and
re-creating it. But how do I deal with hd5?

Can I delete the LV then re-create it? If so, how? I'm sure I've done this
in the past - re-create a missing boot LV, anyway - but can't remember how
at the moment. I'm hoping you might be able to save me some time!

Thanks,
--
Simon Green
Altria ITSC Europe s.a.r.l.

AIX-L Archive at https://lists.princeton.edu/listserv/aix-l.html
<https://lists.princeton.edu/listserv/aix-l.html>

New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
<http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX>

N.B. Unsolicited email from vendors will not be appreciated.
Please post all follow-ups to the list.



Relevant Pages

  • Re: Damaged hd5
    ... Subject: Damaged hd5 ... Any review, retransmission, ... One of my servers had a disk problem. ...
    (AIX-L)
  • Re: Antwort: Re: Urgent!! rootvg over 2 disks? [Virus checked]
    ... hd5 has to reside at the "beginning" of the disk. ... btw. i always break mirrors before migration - prevents some problems ... rootvg over 2 disks? ...
    (AIX-L)
  • Re: Damaged hd5
    ... Doesn't hd5 content get written using bosboot? ... ES&SO Server Planning and Integration ... dissemination or other use of, or taking of any action in reliance upon, this ... One of my servers had a disk problem. ...
    (AIX-L)
  • Re: Damaged hd5
    ... I've rebuild a bad hd5, ... choose boot for lv type. ... Doesn't hd5 content get written using bosboot? ... One of my servers had a disk problem. ...
    (AIX-L)
  • Re: Damaged hd5
    ... hd5 doesn't care where it is. ... Subject: Damaged hd5 ... Doesn't it have to be the first partition on the disk too? ... One of my servers had a disk problem. ...
    (AIX-L)