To Create an Alias for a Bootable Drive (SPARC)
1.
Issue the
show-disks
command to list the disks on the system.
Note that, as shown in the following example, you can determine the HBA drives by looking for
the
LSI,sas@
number
label, where
number
is 0 for the first HBA detected, and increments for
each additional HBA detected.
{0} ok
show-disks
<...>
a) /pci@1e,600000/pci@0/pci@3/
LSI,sas@0
/disk
b) /pci@1e,600000/pci@0/pci@3/
LSI,sas@1
/disk
c) /pci@1e,600000/pci@0/pci@3/
LSI,sas@2
/disk
<...>
q) NO SELECTION
Enter Selection, q to quit:
2.
Select the bootable drive for which you want to create an alias.
a) /pci@1e,600000/pci@0/pci@3/LSI,sas@0/disk
b) /pci@1e,600000/pci@0/pci@3/LSI,sas@1/disk
c) /pci@1e,600000/pci@0/pci@3/LSI,sas@2/disk
<...>
q) NO SELECTION
Enter Selection, q to quit:
c
/pci@1e,600000/pci@0/pci@3/LSI,sas@2/disk has been selected.
3.
Use the
nvalias
alias-name
HBA-drive-path
command to create an alias for the
bootable drive that you selected in
(you can press Ctrl+Y to paste the
device path).
In the following example, the alias name is
mydev
.
{0} ok
nvalias mydev /pci@1e,600000/pci@0/pci@3/LSI,sas@2/disk
4.
You can now boot from the bootable drive by using the
boot
alias-name
command.
{0} ok
boot mydev
5.
To optionally add the bootable drive to the boot-device list and then
automatically boot from the drive by controlling the boot device order, issue the
following commands, as shown.
{0} ok
printenv boot-device
boot-device = disk0 disk1
{0} ok
setenv boot-device mydev disk0
Chapter 3 • Creating a Bootable Drive in a Preboot Environment
31
Содержание SG-SAS6-INT-Z
Страница 2: ......