How to find out boot disk


 
Thread Tools Search this Thread
Operating Systems HP-UX How to find out boot disk
# 1  
Old 04-28-2011
How to find out boot disk

Hi,

I have two disk in a machine

Code:
# ioscan -funC disk
Class     I  H/W Path  Driver S/W State   H/W Type     Description
==================================================================
disk      0  0/2/1/0.0.0.0.0  sdisk   CLAIMED     DEVICE       HP      DH072ABAA6
                      /dev/dsk/c0t0d0     /dev/dsk/c0t0d0s2   /dev/rdsk/c0t0d0    /dev/rdsk/c0t0d0s2
                      /dev/dsk/c0t0d0s1   /dev/dsk/c0t0d0s3   /dev/rdsk/c0t0d0s1  /dev/rdsk/c0t0d0s3
disk      1  0/2/1/0.0.0.1.0  sdisk   CLAIMED     DEVICE       HP      DH072ABAA6
                      /dev/dsk/c0t1d0     /dev/dsk/c0t1d0s2   /dev/rdsk/c0t1d0    /dev/rdsk/c0t1d0s2
                      /dev/dsk/c0t1d0s1   /dev/dsk/c0t1d0s3   /dev/rdsk/c0t1d0s1  /dev/rdsk/c0t1d0s3
#

How to find out which disk is the boot disk

BR,
Eric
# 2  
Old 04-29-2011
Code:
echo "bootdev/x"|adb -n /stand/vmunix /dev/kmem
bootdev:        
                0x1f020002      
ll /dev/dsk | grep 20002
brw-r-----   1 bin        sys         31 0x020002 Jul  2  2007 c2t0d0s2
lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
        /dev/dsk/c2t0d0s2 (0/1/1/0/4/0.0.0) -- Boot Disk
Boot: lvol1     on:     /dev/dsk/c2t0d0s2
Root: lvol3     on:     /dev/dsk/c2t0d0s2
Swap: lvol2     on:     /dev/dsk/c2t0d0s2
Dump: lvol2     on:     /dev/dsk/c2t0d0s2, 0
etc..
uname -a
HP-UX B.11.23 U ia64 1789404231 unlimited-user license

This is executed just now on one of 'my' HP's
Hope that helps.
Also all this stuff is found on ITRC and in document When good disks go bad from HP

Regards
Peasant.
# 3  
Old 05-01-2011
Eric,

Do you want to know which disk the server booted off from (Out of the two)? Or, you want to know how to find the boot disks (Disks which are capable of booting the server) out of these two disks?

-DB
# 4  
Old 05-04-2011
Further to Peasant.

Code:
This command shows which discs are bootable and any alternate boot partitions.
lvlnboot -v
This command shows which disc is Primary and which is Alternate boot (if applicable).
setboot

# 5  
Old 05-04-2011
thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Use 'dd' to copy boot disk to larger target disk

Hi, I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies

2. Solaris

How to specify local boot up disk in CD boot Grub?

Hi Solaris 10 Experts, I am wondering what is the correct syntax to edit in Grub when trying to specify the local ZFS boot disk while booting up from a Solaris 10 x86 64bits DVD installation disk. In other word, I try to boot up from local disk without removing the Solaris installation disk... (0 Replies)
Discussion started by: gjackson123
0 Replies

3. Solaris

Solved: Disk Unable to Boot

Update: The / file system (/dev/rdsk/c1t0d0s0) is being checked fsck unable to stat WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0). Root password for system maintenance (control-d to bypass): I am unable to hit control-d to by pass. I... (50 Replies)
Discussion started by: br1an
50 Replies

4. Solaris

Boot from Mirrored disk

So I have mirrored disk already set up from c1t0d0 to c1t1d0. Is there some special procedures that I need to do before I do and then try to boot from the mirrored disk? I am using a V490 if that helps... (7 Replies)
Discussion started by: drew_1980
7 Replies

5. Solaris

user intervention when boot different disk

Hello All, I got a question, but I can't find where to set it up. I need your help. The systems are with solaris 10 and with two boot devices (disk 0 and disk1). When the operator wants to boot the different disk then the previous one, i want to get the user intervention to ask operator if... (3 Replies)
Discussion started by: shuhuichen
3 Replies

6. Solaris

Mounting disk at boot

Hi once more :p Yesterday I reinstalled Solaris OS and now I can not mount pcfs HDD SunOS unknown 5.10 Generic_142901-03 i86pc i386 i86pc and what has been added in /etc/vfstab is /dev/dsk/c1t0d0p1:c - /podaci - pcfs - yes rw But as I said , my disk is... (4 Replies)
Discussion started by: solaris_user
4 Replies

7. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies

8. UNIX for Advanced & Expert Users

Replacing Boot Disk in Solaris

Hi, I have the situaiton in which primary boot disk has bad sectors in Solaris 9. The other hard disk is mirrored using Solstice DiskSuite 4.2. I can reboot system with the other disk. My question is, when I replaced the boot disk with a new one, how can I create meta db and finally make it... (2 Replies)
Discussion started by: s_aamir
2 Replies

9. UNIX for Dummies Questions & Answers

how to make a boot disk

I need to know how to make a boot disk to get Solaris 7 to load on a intel machine. I have checked out Sun.Com, but did not understand how to download and convert the files to a disk. any help would be appericated thanks Bobby (2 Replies)
Discussion started by: Youngadmin
2 Replies

10. UNIX for Dummies Questions & Answers

Boot Disk

I have made my boot disk just as the program has instructed, and when I boot from floppy with dual hard drives it locks up and say's kernal error. What am I doing wrong? (1 Reply)
Discussion started by: bobkat
1 Replies
Login or Register to Ask a Question