1834263 Members
91063 Online
110066 Solutions
New Discussion

boot disk question

 
golfnut
Frequent Advisor

boot disk question

Below is the output from my system.

Does this mean the second disk c2t6 was created with a pvcreate -B option and mkboot to place boot utilities etc..
How can i find out if the second disk is bootable?

thanks



bash-2.05# setboot
Primary bootpath : 0/0/2/0.6.0
Alternate bootpath : 0/0/2/1.6.0

Autoboot is ON (enabled)
Autosearch is ON (enabled)
bash-2.05# head ioscan.log
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 0/0/1/0.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 6x/32x
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 1 0/0/2/0.6.0 sdisk CLAIMED DEVICE SEAGATE ST39102LC
/dev/dsk/c1t6d0 /dev/rdsk/c1t6d0
disk 2 0/0/2/1.6.0 sdisk CLAIMED DEVICE SEAGATE ST39102LC
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
disk 25 0/4/0/0.8.0 sdisk CLAIMED DEVICE SEAG
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: boot disk question

Yes, check if your / stand and swap are on both disks

# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: boot disk question

On another subject - are you running bash as root's shell? This is a no-no. You're going to end up being unable to boot into single user mode someday when you really, really need to.


Pete

Pete
golfnut
Frequent Advisor

Re: boot disk question

Thanks..

can i just do a mkboot /dev/rdsk/c2t6d0
and place boot utilities.

The disk is already in the vg00 vg.

or will i have to remove the disk with vgreduce and then add it back in after doing a pvcreate -B

thanks
golfnut
Frequent Advisor

Re: boot disk question

learnt it the hard way about bash :)