Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

solaris local disks

Status
Not open for further replies.

kahn630

Technical User
Mar 10, 2005
29
0
0
US
What is the command to find out about the local disks on solaris, like how many and what kind. is there a command other then format. Thanks
 
From the OK> prompt, you can run the following:

setenv auto-boot? false
reset-all

Once the system gets back to the ok> prompt,

probe-scsi-all

When you are done:

setenv auto-boot? true (if this is the state you want).
 
For this I have to shut down the machine, the reason I asked is that we have about 100+ sun machines and I wana to check how many local disks are there for each machine...thanks
 
How about this...

prtconf -v | grep dad@

This command will find the Disk Model Number for the dad ide disk drive. If you have different platforms, you may have to modify the grep command.
 
Hi,

No need to bang your head that hard, use the format command.
This will list out all disk information.

Example :

#format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@1,0
2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@2,0
3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@3,0
Specify disk (enter its number): q
`q' is not an integer.
Specify disk (enter its number):
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top