physical device name when booted different then at ok prompt


 
Thread Tools Search this Thread
Operating Systems Solaris physical device name when booted different then at ok prompt
# 1  
Old 07-29-2010
physical device name when booted different then at ok prompt

Hi all,

I am experimenting with solaris.

I noticed that when the machine is booted the physical device name of the root device is different then when I am at the ok prompt:

Code:
# mount | head -1
/ on /dev/dsk/c1t1d0s0

Code:
# ls -l /dev/dsk/c1t1d0s0 
lrwxrwxrwx   1 root     root          44 jul 26 23:56 /dev/dsk/c1t1d0s0 -> ../../devices/pci@1f,0/pci@1/scsi@8/sd@1,0:a

Here the name is "sd" while in the eeprom:
Quote:
eeprom | grep nvramrc=
nvramrc=devalias mydev /pci@1f,0/pci@1/scsi@8/disk@1,0:a
Here it is called "disk".

Why is this and how can I know what the device name should be at the ok prompt to boot from?
# 2  
Old 07-29-2010
OBP uses the term "disk" for any type of disk. The kernel uses "sd" for the name of a SCSI disk. Other types of disks have kernel names starting with "cmdk", "dsd", "ata", etc.
This User Gave Thanks to fpmurphy For This Post:
# 3  
Old 07-29-2010
Quote:
Originally Posted by fpmurphy
OBP uses the term "disk" for any type of disk. The kernel uses "sd" for the name of a SCSI disk. Other types of disks have kernel names starting with "cmdk", "dsd", "ata", etc.
So there is no possibility to retrieve the physical device name that you have to use in the openboot prom from the running system? I would always have to think about using "disk" in the name.

Thanks for your answer!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sol11 - Error at prompt (no space left on device)

user1@:/$ -ksh: line 3: write to 1 failed user11@:/$ -ksh: line 3: write to 1 failed user1@:/$ -ksh: line 3: write to 1 failed user1@:/$ -ksh: line 3: write to 1 failed user1@:/$ -ksh: line 3: write to 1 failed But theres plenty of space :- user1@:/$ df -kh Filesystem ... (9 Replies)
Discussion started by: psychocandy
9 Replies

2. UNIX for Advanced & Expert Users

Users get booted

Hello....weird problem but hoping someone can help! Server: PowerEdge 2850 - 8 core - 12gb ram - 32 bit processor OS: Redhat ES 6 Setting: University setting .. use server for Computer Science student accounts (350 users) Every so often the system just boots you, no matter what you are... (14 Replies)
Discussion started by: cookdl
14 Replies

3. AIX

Booted to old_rootvg

Our offshore team tried to do some patching for me over the weekend, and while I'm not completely sure of how we got into this state, I know it started with them forgetting to put the alt_rootvg back to sleep before rebooting the server. Our process is this: Clone/update_all using... (1 Reply)
Discussion started by: sdiehr00
1 Replies

4. Solaris

Physical and Logical Device Name

Dear all, Please can anybody explain me in detail what is the different between physical device name file and logical device name file. Please explain me clearly it's my request. (1 Reply)
Discussion started by: suneelieg
1 Replies

5. AIX

Maximum Limit of HMC to handle Physical Power Virtualization Physical Machine

Hello All, Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time? Thanks, Jenish (1 Reply)
Discussion started by: jenish_shah
1 Replies

6. UNIX for Dummies Questions & Answers

To find when is the system last re-booted

Hi, What is the command to find when is the system last re-booted? Appreciate your help in this regard. Regards, Venkatesh. (3 Replies)
Discussion started by: venkatesht
3 Replies

7. What is on Your Mind?

Bush Gets booted!!

EmaBhHJbbes maybe next time they will ask journalists to take off their shoes before going for press conference :D (5 Replies)
Discussion started by: sparcguy
5 Replies

8. UNIX for Dummies Questions & Answers

Physical volume- no free physical partitions

I was in smit, checking on disc space, etc. and it appears that one of our physical volumes that is part of a large volume group, has no free physical partitions. The server is running AIX 5.1. What would be the advisable step to take in this instance? (9 Replies)
Discussion started by: markper
9 Replies

9. UNIX for Dummies Questions & Answers

physical volume and physical disk.

Hello, I need explanations about physical disks and physical volumes. What is the difference between these 2 things? In fact, i am trying to understand what the AIX lspv2command does. Thank you in advance. (2 Replies)
Discussion started by: VeroL
2 Replies

10. UNIX for Dummies Questions & Answers

Dual booted RHL 7.3 with Win XP..

Hello all, I'm a no Linux expert! But I perfectly dual booted Win XP with RHL 7.3 on a hp pavilion notebook (model ze5170). All working fantastic now. But I have a minor problem now. I can't get RHL probe the modem, so could not get the internet connection working. The modem is a Conexant... (1 Reply)
Discussion started by: Vishnu
1 Replies
Login or Register to Ask a Question