hi,
background: i'm running solaris 9 on a sunblade 100. i've got two internal hdds. my current solaris 9 os is on the primary master hdd. currently only user-defined file systems are mounted on the secondary internal hdd. i am investigating and preparing for possibly installing solaris 10 on a new boot enviroment that i MIGHT create on the secondary internal hdd.
i have spent the last 2 hours searching google and ee for answers to the following questions. please, does anybody here know the answers? (see below for details of what i DO know):
1. probe-ide reports my 2nd internal hdd as ""Device 2 ( Secondary Master )". what do i have to do to make show-disks list a device path for my 2nd internal hdd?
2. devalias reports aliases for 5 disks. am i correct in assuming that these are only "reserved" aliases and that they don't necessarily map to actual devices?
assuming the alias "disk1" and the device path "/pci@1f,0/ide@d/disk@1,0"
do actually map to "Device 2 ( Secondary Master )"; i expect that either one or the other of the following commands would result in booting from "Device 2 ( Secondary Master )":
ok boot disk1
ok boot /pci@1f,0/ide@d/disk@1,0
3. but why does "ok .properties" on "/pci@1f,0/ide@d/disk@1,0"
report the name as "disk" instead of "disk1" (see below)?
4. what non-destructive command would prove that the alias "disk1" and the device path "/pci@1f,0/ide@d/disk@1,0"
actually maps to "Device 2 ( Secondary Master )"?
thanks in advance for your help
NOTE: i don't have an os on the 2nd internal hdd YET. i am only preparing for when i do eventually install an os on that drive. so you would be wasting your time replying with answers like, "just try it and see". please, try to answer the specific questions that i have asked and ONLY those questions.
this is what i know:
ok probe-ide
Device 0 ( Primary Master )
ATA Model: ST320011A
Device 1 ( Primary Slave )
Removeable ATAPI Model: LTN486S
Device 2 ( Secondary Master )
ATA Model: Maxtor 6Y120P0
Device 3 ( Secondary Slave )
Not Present
==========================
===
ok show-disks
a) /pci@1f,0/ide@d/cdrom
b) /pci@1f,0/ide@d/disk
q) NO SELECTION
==========================
===
ok devalias
...
cdrom2 /pci@1f,0/ide@d/cdrom@2,0:
f
cdrom1 /pci@1f,0/ide@d/cdrom@1,0:
f
cdrom /pci@1f,0/ide@d/cdrom@1,0:
f
disk /pci@1f,0/ide@d/disk@0,0
disk3 /pci@1f,0/ide@d/disk@3,0
disk2 /pci@1f,0/ide@d/disk@2,0
disk1 /pci@1f,0/ide@d/disk@1,0
disk0 /pci@1f,0/ide@d/disk@0,0
ide /pci@1f,0/ide@d
...
==========================
===
ok dev /pci@1f,0/ide@d/disk@1,0
ok .properties
device_type block
name disk
compatible ide-disk
==========================
===
$ prtconf -v
System Configuration: Sun Microsystems sun4u
...
ide, instance #0
Driver properties:
name='target2-dcd-options'
type=int items=1 dev=none
value=000000a4
name='target1-dcd-options'
type=int items=1 dev=none
value=000000a2
name='target0-dcd-options'
type=int items=1 dev=none
value=000000a4
name='dcd_options' type=int items=1 dev=(135,0)
value=000000a5
name='scsi-selection-timeo
ut' type=int items=1 dev=(135,0)
value=000000fa
name='scsi-options' type=int items=1 dev=(135,0)
value=00107ff8
name='scsi-watchdog-tick' type=int items=1 dev=(135,0)
value=0000000a
name='scsi-tag-age-limit' type=int items=1 dev=(135,0)
value=00000002
name='scsi-reset-delay' type=int items=1 dev=(135,0)
value=00000bb8
name='atapi' type=int items=1 dev=none
value=00000001
name='pm-components' type=string items=3 dev=none
value='NAME=ide-controller
' + '0=Device D3 State' + '3=Device D0 State'
disk (driver not attached)
cdrom (driver not attached)
dad, instance #0
System properties:
name='lun' type=int items=1
value=00000000
name='target' type=int items=1
value=00000000
name='class_prop' type=string items=1
value='ata'
name='type' type=string items=1
value='ata'
name='class' type=string items=1
value='dada'
Driver properties:
name='pm-components' type=string items=4 dev=none
value='NAME=ide-disk' + '0=standby' + '1=idle' + '2=active'
name='pm-hardware-state' type=string items=1 dev=none
value='needs-suspend-resum
e'
name='ddi-kernel-ioctl' type=boolean dev=none
Hardware properties:
name='devid' type=string items=1
value='id1,dad@AST320011A=
3HT23B31'
dad, instance #1
System properties:
name='lun' type=int items=1
value=00000000
name='target' type=int items=1
value=00000002
name='class_prop' type=string items=1
value='ata'
name='type' type=string items=1
value='ata'
name='class' type=string items=1
value='dada'
Driver properties:
name='pm-components' type=string items=4 dev=none
value='NAME=ide-disk' + '0=standby' + '1=idle' + '2=active'
name='pm-hardware-state' type=string items=1 dev=none
value='needs-suspend-resum
e'
name='ddi-kernel-ioctl' type=boolean dev=none
Hardware properties:
name='devid' type=string items=1
value='id1,dad@AMaxtor_6Y1
20P0=Y35BV
HTE'
...