Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding Directory information from lost drives

Status
Not open for further replies.

techlover

Programmer
Jun 27, 2001
2
US
I have an RS-6000 with two physical volumes. One with a Raid Controler and the other mirrored. 2 of the four drives of the raid controller were ruined and have to be replaced. How do I find out which the drive directory information data( VG and PVG ) that was lost on them and how do I recover it if it is on tapes?

Also I can not use the function keys which are all acting as enter. This prevents me from using smit to check for additional problems found.

Before of Tropical Storms! (Allison)

Thanks in advance
 
What are you trying to do? Can you var on your group? Try...
[tt]
varyonvg [red]-s[/red] your_group_name
for VOLNAME in $(lsvg -l rootvg | awk 'NR>2 {print $1}')
do
echo ""
echo "--------------------------------------------"
echo "Logical volume: $VOLNAME"
echo "--------------------------------------------"
lslv -m $VOLNAME
echo ""
lslv -l $VOLNAME
echo "--------------------------------------------"
done
[/tt]

It mus give you the info you need
I hope it works...
Unix was made by and for smart people.
 
Regarding the function keys not working for smitty: Try doing Esc+Number.

For example, to get a list of choices on a field, you would normally press F4. If the function keys aren't working, you could press Esc+4 and it should work. To exit, you would normally press F10. The Escape key sequence is Esc+0.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top