Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1004267.1
Update Date:2011-05-31
Keywords:

Solution Type  Technical Instruction Sure

Solution  1004267.1 :   Verify device alias is correct, for a boot device.  


Related Items
  • Sun Fire V240 Server
  •  
  • Sun Fire V440 Server
  •  
  • Sun Fire V480 Server
  •  
  • Sun Fire T2000 Server
  •  
  • Sun Fire V210 Server
  •  
  • Sun Fire V890 Server
  •  
  • Sun Fire T1000 Server
  •  
  • Sun Fire V880 Server
  •  
  • Sun Fire V490 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>CMT Servers
  •  
  • GCS>Sun Microsystems>Servers>Entry-Level Servers
  •  

PreviouslyPublishedAs
205895


Applies to:

Sun Fire T1000 Server
Sun Fire T2000 Server
Sun Fire V210 Server
Sun Fire V240 Server
Sun Fire V440 Server
All Platforms

Goal

This document explains how to check the device alias for the proper boot device.

Solution

Description
Check the device alias for the proper boot device.


Steps to Follow
Verify device alias is correct, for a boot device.
  1. Verify device alias is correct. Check the boot device to be sure it points to the correct drive.

    ok printenv boot-device
    
    boot-device =    /pci@1d,700000/scsi@4/disk@0,0 disk net
    

    Or

    ok printenv boot-device
    
    boot-device =    disk0 net
    
  2. If the device is an alias check the alias to be sure it points to the same path that a probe-scsi would show for the disk.

    ok devalias
    
    screen                   /pci@1f,700000/SUNW,XVR-500@2
    
    net                      /pci@1c,600000/network@3
    
    cdrom                    /pci@1e,600000/ide@d/cdrom@2,0:f
    
    ide                      /pci@1e,600000/ide@d
    
    disk1                    /pci@1d,700000/scsi@4/disk@1,0
    
    disk0                    /pci@1d,700000/scsi@4/disk@0,0
    
    disk                     /pci@1d,700000/scsi@4/disk@0,0
    
    scsi                     /pci@1d,700000/scsi@4
    
    ttyb                     /pci@1e,600000/isa@7/serial@0,2e8
    
    ttya                     /pci@1e,600000/isa@7/serial@0,3f8
    
    name                     aliases
    
  3. If it is not correct fix it to point to the right device.

    ok nvalias bootdisk /pci@1d ,7 00000/scsi@4/disk@0,0

    ok devalias
    

    Results will be:

    bootdisk /pci@1d ,70 0000/scsi@4/disk@0,0

    all others aliases will also be listed

    ok nvstore
    

    Now make the alias the boot device

    ok setenv boot-device bootdisk
    

    Also it is possible to just make the boot device the path to the disk.

    ok boot-device /pci@1d ,700000/scsi@4/disk@0,0

    ok reset-all
    

At this point the alias should be right and or the path that the system is trying to boot off should be good.



Product
Sun Fire V440 Server
Sun Fire V240 Server
Sun Fire V210 Server
Sun Fire V480 Server
Sun Fire V490 Server
Sun Fire V880 Server
Sun Fire V890 Server
Sun Fire T1000 Server
Sun Fire T2000 Server

Internal Comments
For internal Sun use only.



This document contains normalized
content and is managed by the the Domain Lead(s) of the respective
domains. To notify content owners of a knowledge gap contained in
this document, and/or prior to updating this document, please
contact the domain engineers that are managing this document via
the Document Feedback alias(es) listed below:
 



Normalization Lead: Jim Robbins

Domain Engineer/Lead : Josh Freeman

[email protected]

normalized, boot alais, boot device
Previously Published As
91413

Change History
Date: 2011-05-31
User name: Dencho Kojucharov
Action: Currency check
Comments: audited by Entry-Level SPARC Content Lead

Date: 2009-11-25
User name: Dencho Kojucharov
Action: Updated
Comments: Currency check, audited by Entry-Level SPARC Content Lead
Date: 2007-12-28
User Name: 31620
Action: Approved
Comment: Published using interim normalization rules supplied by the Normalization Program Team: (circa mid-December 2007)



Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback