How to check Hard disk problem at ok prompt in solaris

Posted on 2006-05-31
Last Modified: 2013-12-21
How to check Hard disk problem at ok prompt in solaris

The command i tried
ok devalias
screen                   /pci@1f,2000/TSI,gfxp@1
net                      /pci@1f,4000/network@1,1
disk                     /pci@1f,4000/scsi@3/disk@0,0
cdrom                    /pci@1f,4000/scsi@3/disk@6,0:f
tape                     /pci@1f,4000/scsi@3,1/tape@4,0
tape1                    /pci@1f,4000/scsi@3,1/tape@5,0
tape0                    /pci@1f,4000/scsi@3,1/tape@4,0
disk6                    /pci@1f,4000/scsi@3/disk@6,0
disk5                    /pci@1f,4000/scsi@3/disk@5,0
disk4                    /pci@1f,4000/scsi@3/disk@4,0
disk3                    /pci@1f,4000/scsi@3/disk@3,0
disk2                    /pci@1f,4000/scsi@3/disk@2,0
disk1                    /pci@1f,4000/scsi@3/disk@1,0
disk0                    /pci@1f,4000/scsi@3/disk@0,0

ok probe-scsi-all

Target 1
  Unit 0   Disk     SEAGATE ST318404LSUN18G 5221
Target 6
  Unit 0   Removable Read Only device    TOSHIBA XM6201TASUN32XCD1103
Question by:nessmssit
    LVL 14

    Accepted Solution

    probe-scsi is the only disk checking command in opb (open boot prom)

    If you type
    boot disk
    at the ok prompt, and nothing happens, then either the disk has gone bad or it is blank.  

    The only way to tell is to attach the disk as a secondary disk on another Solaris system.

    Since you have nothing to loose and it won't hurt anything anyway, you should try boot disk0 then boot disk1 etc until you get to disk5
    LVL 2

    Assisted Solution

    by:Mohan Shivaiah
    Hi nessmssit,

    1> Try the command at the ok prompt
          ok probe-scsi-all
    2>  ok boot -rv  
         Performs a reconfiguration boot. Use this option to find a newly attached device and to create new device entries in the /devices
         and /dev directories. It also updates the /etc/path_to_inst file.

    Hope will solve the problem.
    mohan shivaiah.
    LVL 27

    Assisted Solution

    show-disks may be helpfull.
    From your output, try to boot from disk1, not from default dusk (if the problem is booting):
    boot -vr disk1

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
    I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now