Boot From Disk
Boot From Disk
Boot From Disk
Q: I need to document which disk was used to boot the currently running system.
A: This is a bit tricky depending on the version of HP-UX, and whether it is using LVM or the less common choice, VxVM
for disk volume management. Here are the steps:
For 11.23, there are different ways for PARISC versus IA64:
PARISC:
IA64 (Itanium/Integrity):
Now to find the actual path, you’ll have to match the 0x100001c value to a minor number in the /dev/disk
directory. Compare only the last 6 digits of the number (00001c) to find the device file. Then by using lssf, you
can decode the hardware path:
You can use ioscan –m dsf to map agile device file names to legacy (CTD) style.
This value is the minor number for the disk that was used to boot the current system. The minor number is found
in the /dev/vx/dmp directory. Match just the last 6 digits to find the disk. It will be in legacy format.
However, syslog.log is a catch-all for a lot of items and often needs to be truncated when it grows too large.
As a result, it can’t be relied on to always contain the current boot disk.