question about opb boot device


 
Thread Tools Search this Thread
Operating Systems Solaris question about opb boot device
# 1  
Old 11-29-2008
question about opb boot device

hi all:
I have a sun blade-1000 for labs only, with 73G hd loaded, which boot block installed on slice 0. I'm confused by setting "boot-device" value in obp, which my question as follow:

in ok mode, I got device alias like this:
disk0: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@2,0

as I know the the disk0(fc disk) with wwn got form "cfgadm -al":
c1::2112345c5032da08 .... (for example.)

so I can replace the default boot device with:
boot /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w2112345c5032da08,0
(same as followed :a)
or just said;
boot disk0

with "prtconf -v" got the device path of HD is:
dev_path=/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100000c5032da08,0:a
or "format":
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2112345c5032da08,0

but such boot device caused fail to boot up:
boot /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2112345c5032da08,0
(same as followed :a)
...
Can't locate boot device

seem like only ".../disk@w211..." work but ".../ssd@w211..." don't work. can any one tell the difference? and where the value ".../disk@" came from?

I'm pretty new to solaris, so any help is great, thank in advance.
# 2  
Old 11-29-2008
disk is the hardware device. ssd is the driver name for solaris . this can not be seen from obp, only from solaris.
# 3  
Old 11-29-2008
Quote:
Originally Posted by DukeNuke2
disk is the hardware device. ssd is the driver name for solaris . this can not be seen from obp, only from solaris.
thank, I guess that I probably understand the difference now, but still wondering about why use "disk"? is it from "show-disks" responds ?
{0} ok show-disks
a) /pci@8,600000/SUNW,qlc@4/fp@0,0/disk
...
thank
# 4  
Old 11-29-2008
'disk' is the generic name used by the OBP to identify a disk target. Basically it just means that this is a block device that the OBP recognises as having a generic "disk" interface, it can be any type of disk, including a LUN made up of many one or many disks on external storage that makes up.

In order to allow it to be "sas" of "ssd" or "dad" or any of the other types of disk a lot more and less generic code would be required in the PROM. Disk is simply the most logical choice for the generic name for anything which looks like a disk. It is not because of / a result of show-disks they both use the same underlying code to find/map the device, they are simply using the same information so one will match the other.
# 5  
Old 11-30-2008
hi all, I got the answer now. thank.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Cannot access or boot encrypted drive (gave up waiting for root device...)

I cannot access or boot from my C drive. I'm running Zorin 9 and the drive is a Samsung SSD. The disk was encrypted on install, and that has not given me any problems before. When I start the system it gets to the memory test page, and does not then load the password prompt, which it used to.... (1 Reply)
Discussion started by: David4321
1 Replies

2. Solaris

Can't open boot device..

Hello Forum, I'm really in a fix now, I'm getting this error message now, seems like the boot block is damaged? When I do probe-all the system freezes... Can any one guide me as what to do next? System is Solaris 8 running Open Boot PROM 4 System also does not have a cd/dvd rom drive... ... (17 Replies)
Discussion started by: br1an
17 Replies

3. Solaris

Can't open boot device

I installed a new hard drive completely blank. sun blade 150 openboot 4.10.6 message: Boot device: disk:a File and args: Bad magic number in disk label Can't open label package Evaluating: Can't open boot device (15 Replies)
Discussion started by: janiper
15 Replies

4. Solaris

How to know what is the boot device?

Hello, I am wondering which commend /file to check to find out what is the boot device? regards Ahmed Egypt (1 Reply)
Discussion started by: ahmedamer12
1 Replies

5. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

6. Solaris

Can't open boot device

I have a real emergency. I have a Sun Fire V240 UltraSparc server and am connected via the Serial Mgmnt Port with a Laptop. I have been building an Oracle database on it for the past couple months, not getting very far along with it , when suddenly, the system had a fatal crash. I've lost the... (2 Replies)
Discussion started by: mayewil
2 Replies

7. Solaris

ERROR: Can't open boot-device

Hi i need help pls ... Server type sun fire 3800 I need to install solaris 9 . When i boot the system i recieve the following : System Controller 'sunfire3800': Type 0 for Platform Shell Type 1 for domain A console Type 2 for domain B console Type 3 for... (5 Replies)
Discussion started by: tt155
5 Replies

8. 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

9. UNIX for Dummies Questions & Answers

Setting a boot device alias on Sun hardware

I watched this done a long time ago, but cannot find it anywhere. I need to alias the boot device "disk" to /sbus@7,0/QLGC,isp@0,10000/sd@c,0 I think I need to set "use-nvramrc?" to true, and then create an alias within the nvramrc to point disk to the boot disk, but this is the step I cannot... (3 Replies)
Discussion started by: 98_1LE
3 Replies

10. UNIX for Dummies Questions & Answers

Changing boot device on a Sun box

I need to change the boot slice on a Sun box, more specifically the alias of "disk". When I do a printenv from the ok prompt, it lists "boot-device disk net", but when it boots, it is looking at the wrong slice on "disk" (3 Replies)
Discussion started by: 98_1LE
3 Replies
Login or Register to Ask a Question