Is there a non - get the last good backup tape and restore - solution??
Mr B. I. G. Burke
Mr B. I. G. Burke
mklv -ae -tboot -yhd5 rootvg 2 <disk_name>
where <disk_name> is an optional argument that should be used if your
rootvg has more than 1 physical disk. After recreating it, you should
use "lslv -m hd5" to verify that the partitions are contiguous.
It is a bit more complicated for AIX v3, but I'm assuming that you're
using v4.
--
===========================================
Opinions my own and not representative of my employer
Do not listen to me: I have brain damage
===========================================
"Spock! We're talking about millions of lives!"
Spock (raised eyebrow) "Nevertheless, if the Romulans are indeed an offshoot
of Vulcan *,... it is imperative we attack."
>If this is AIX v4, then simply recreate it:
>mklv -ae -tboot -yhd5 rootvg 2 <disk_name>
>where <disk_name> is an optional argument that should be used if your
>rootvg has more than 1 physical disk. After recreating it, you should
>use "lslv -m hd5" to verify that the partitions are contiguous.
>It is a bit more complicated for AIX v3, but I'm assuming that you're
>using v4.
--
Rich Payne
(Speaking for myself, not my employer)
payner at timken dot com
>--
>===========================================
>Opinions my own and not representative of my employer
>Do not listen to me: I have brain damage
>===========================================
>"Spock! We're talking about millions of lives!"
>Spock (raised eyebrow) "Nevertheless, if the Romulans are indeed an
offshoot
>of Vulcan *,... it is imperative we attack."
>>>Is there a non - get the last good backup tape and restore - solution??
>>If this is AIX v4, then simply recreate it:
>>mklv -ae -tboot -yhd5 rootvg 2 <disk_name>
>>where <disk_name> is an optional argument that should be used if your
>>rootvg has more than 1 physical disk. After recreating it, you should
>>use "lslv -m hd5" to verify that the partitions are contiguous.
>>It is a bit more complicated for AIX v3, but I'm assuming that you're
>>using v4.
bosboot -a
else you have an empty filesystem and your box
will never boot again.
>>mklv -ae -tboot -yhd5 rootvg 2 <disk_name>
>>where <disk_name> is an optional argument that should be used if your
>>rootvg has more than 1 physical disk. After recreating it, you should
>>use "lslv -m hd5" to verify that the partitions are contiguous.
> Is there a non - get the last good backup tape and restore - solution??
> Mr B. I. G. Burke
Then,
bosboot -ad/dev/ipldevice
and have a long cool one as bosboot cranks along for 3-4 minutes.
When it completes, you are golden.
ps, if you want you can create a file "/tmp/bozo" which looks like
0001 hdisk0
0002 hdisk0
(above assumes hdisk0 is your ipldevice)
and use smit to create hd5 and point to /tmp/bozo as the 'map file'
on the smit dialog screen.
....
Norman Levin
VM/Dynamics, Inc
You lucky so & so. There are a lot of LV's a lot more critical than hd5
it simply contains the boot info and can be easily recreated as detailed
in other replys, or do you think hd5 is a disk, like hdisk5. Again, hd5
is a small, one or two PP LV without a filesystem on it called the BLV
the Boot Logical Volume. It gets destroyed & recreated on the fly all
the time, when bosboot is run, software upgrades etc. As I said you were
lucky.
Regards
John
> And does this keep all the data intact on all the filesystems that were
> living on hd5?
> --
> ===========================================
> Opinions my own and not representative of my employer
> Do not listen to me: I have brain damage
> ===========================================
> "Spock! We're talking about millions of lives!"
> Spock (raised eyebrow) "Nevertheless, if the Romulans are indeed an offshoot
> of Vulcan *,... it is imperative we attack."
> >>Is there a non - get the last good backup tape and restore - solution??
> >If this is AIX v4, then simply recreate it:
> >mklv -ae -tboot -yhd5 rootvg 2 <disk_name>
> >where <disk_name> is an optional argument that should be used if your
> >rootvg has more than 1 physical disk. After recreating it, you should
> >use "lslv -m hd5" to verify that the partitions are contiguous.
> >It is a bit more complicated for AIX v3, but I'm assuming that you're
> >using v4.
>Then,
>bosboot -ad/dev/ipldevice
>and have a long cool one as bosboot cranks along for 3-4 minutes.
>When it completes, you are golden.
# date;bosboot -a;date
Wed Sep 16 09:50:17 CDT 1998
bosboot: Boot image is 6258 512 byte blocks.
Wed Sep 16 09:50:41 CDT 1998
>If this is AIX v4, then simply recreate it:
>mklv -ae -tboot -yhd5 rootvg 2 <disk_name>
>where <disk_name> is an optional argument that should be used if your
>rootvg has more than 1 physical disk. After recreating it, you should
>use "lslv -m hd5" to verify that the partitions are contiguous.
>It is a bit more complicated for AIX v3, but I'm assuming that you're
>using v4.
1. : Re: Oh f**k!!! I've deleted hd5 - What now??
Then re run the bosboot comannd on that hdisk.
bosboot -a -d hdiskX - where X is the number of your root disk
2. Question about linking the same library more than once
4. AT/Lantic NIC2000 Ethernet card with Linux?
5. Oh dear, I've stopped thinking.
6. rebuilding kernel broke my CDROM drive!!
7. Oh dear, I think I've plotched!
8. Unix tools in maths education?
9. Oh boy, I've really done it now.
10. BackSpace, Delete, Vim (I've read all the FAQ's)
11. Uh-oh, I've got kernel panic
12. Oh oh...Stockmarket is closed, Here come 'S' again...
13. You've got yours, I've got mine... let the others in their shit!