Solaris/SPARC: create a devalias with nvalias

Home -> UNIX -> Solaris -> System administration

12905 views

From the computer of: qmchenry (338 recipes)
Created: Dec 09, 2005


0 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

Device aliases are useful in the BootPROM environment because they simplify the unwieldly device paths into simple terms like disk and net. There may be cause to create a new device alias on a system as when adding a new or alternate boot device.

Device aliases are created only in the BootPROM (ok prompt). If you want to add an alias for a disk with a path of /pci@1f,0/pci@1,1/ide@3/disk@0,0 use the nvalias command like this:

nvalias disknew /pci@1f,0/pci@1,1/ide@3/disk@0,0


BootPROM versions 3.25 and later support booting from the network. Creating a network device alias is similar:

ok nvalias net   /pci@1f,4000/network@2,1:dhcp

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Solaris/SPARC: remove a devalias with nvunalias
  Determine if Solaris is running in 32 or 64 bit mode
  Solaris: list detailed package information with pkginfo
  Create a local Solaris flash archive
  creating a solaris 8 flash archive boot disk
  Solaris: Create a mount point
  Solaris 10: Create multi-terabyte UFS filesystem
  Change BootPROM settings from the Solaris command line
  Reconfiguration boot in Solaris
  Change Solaris DNS client settings

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.