[HPADM] Re: SUMMARY- Identify the disk which server booted ( on mirror pair)
- From: vinod kumar <vinodkumarmp@xxxxxxxxx>
- Date: Thu, 14 Jun 2007 11:08:23 -0700 (PDT)
Thanks to Michal Kapalka and Dave A
1. Simple way ,
dmesg | grep Boot
or try syslog ( if dmesg buffer is full)
grep Boot /var/adm/syslog/syslog.log
Both will give the HW path of the disk booted .
vmunix: Boot device's HP-UX HW path is: 1/0/0/3/0.6.0
if you need to find the device name from this path
(including efi hw path),
ioscan -efnkH 1/0/0/3/0.6.0
Class I H/W Path Driver S/W State H/W
Type Description
=======================================================================
disk 3 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE
HP 36.4GST336753LC
/dev/dsk/c4t6d0
/dev/dsk/c4t6d0s2 /dev/rdsk/c4t6d0
/dev/rdsk/c4t6d0s2
/dev/dsk/c4t6d0s1
/dev/dsk/c4t6d0s3 /dev/rdsk/c4t6d0s1
/dev/rdsk/c4t6d0s3
Acpi(HWP0002,100)/Pci(3|0)/Scsi(Pun6,Lun0)/HD(Part1,Sig2EB7B300-DAE1-11DA-8002-D6217B60E588)/\EFI\HPUX\HPUX.EFI
2. adb way
echo "bootdev/x"|adb -n /stand/vmunix /dev/kmem
this will give you minor number of the booted disk .
do a list of dsk devices and grep for this minor
number .
0x1f046002 --> output from adb . take last 6
charectors only (046002 )
ll /dev/dsk/* | grep 046002
brw-r----- 1 bin sys 31 0x046002 May
14 12:01 /dev/dsk/c4t6d0s2
-vinod
--- vinod kumar <vinodkumarmp@xxxxxxxxx> wrote:
How do I identify the disk which server booted from____________________________________________________________________________________
on a mirror root disk .
Ex: I have 2 disks in vg00 , /dev/dsk/c0t6d0 and
c4t6d0 .
Say if I boot the server manually from HA path ( ie
c4t6d0 ) , after server comes to munti usermode ,
how
to confirm the disk it booted is from c4t6d0 .
The reason I am curius about this is on IA , disk HW
path on EFI are different ( like Pnu5,Lun6 ... ) .
Thanks
-vinod
Be a better Heartthrob. Get better relationshiphttp://answers.yahoo.com/dir/?link=list&sid=396545433
answers from someone who knows. Yahoo! Answers -
Check it out.
--
---> Please post QUESTIONS and
SUMMARIES only!! <---
To subscribe/unsubscribe to this list,
contact majordomo@xxxxxxxxxxxxx
Name: hpux-admin@xxxxxxxxxxxxx Owner:
owner-hpux-admin@xxxxxxxxxxxxx
Archives:
ftp.dutchworks.nl:/pub/digests/hpux-admin
(FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web,
browse & search)
____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@xxxxxxxxxxxxx
Name: hpux-admin@xxxxxxxxxxxxx Owner: owner-hpux-admin@xxxxxxxxxxxxx
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- References:
- [HPADM] Identify the disk which server booted ( on mirror mair)
- From: vinod kumar
- [HPADM] Identify the disk which server booted ( on mirror mair)
- Prev by Date: [HPADM] Re: Identify the disk which server booted ( on mirror mair)
- Next by Date: [HPADM] lvreduce -m 0 command
- Previous by thread: [HPADM] Re: Identify the disk which server booted ( on mirror mair)
- Next by thread: [HPADM] Matching File Records
- Index(es):
Relevant Pages
|
|