LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-30-2011, 07:50 AM   #1
gadhave.vikas
LQ Newbie
 
Registered: May 2009
Location: Navi Mumbai (Maharashtra)
Distribution: Dont Know
Posts: 22

Rep: Reputation: 0
Solaris 9 storage info cmd.


Hi,

I need to know storage related information (which strage is connected to the system.

if any one knows the commands to know it please post it the version of system is
SunOS 5.9 Generic_122300-54 sun4u sparc SUNW,Sun-Fire-V440


rgds,
Vikas
 
Old 05-30-2011, 09:58 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
"format" will give a list of disks and should include their sizes (it's a menu-based program and won't actually format anything unless you tell it to)
 
Old 05-30-2011, 12:35 PM   #3
gadhave.vikas
LQ Newbie
 
Registered: May 2009
Location: Navi Mumbai (Maharashtra)
Distribution: Dont Know
Posts: 22

Original Poster
Rep: Reputation: 0
Solaris 9 storage info cmd

hye Dude,

I need to know that the system is connected to which storage. like Hitachi,HP or ....etc

The format command is not giving this output.


Rgds,
Vikas
 
Old 05-30-2011, 12:43 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
Sure it does. Mine say SUN54GB_412798fjkfbsdjk or similar. Maybe I'm not understanding your question?
 
Old 05-30-2011, 05:42 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,731

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
@gadhave.vikas: Can you please clarify what kind of storage you are referring to, how is it connected to your system and what information you want to get ?
 
Old 05-31-2011, 04:59 AM   #6
gadhave.vikas
LQ Newbie
 
Registered: May 2009
Location: Navi Mumbai (Maharashtra)
Distribution: Dont Know
Posts: 22

Original Poster
Rep: Reputation: 0
Solaris 9 storage info cmd

hello,

this all things i want to know.....with spesific commands, those can help me to find out stoarge related info. from system end.

Rgds
Vikas
 
Old 05-31-2011, 11:25 AM   #7
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
the command I use is "echo | format"

it should give you output like this:

gumby#echo | format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000018622b2abc,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000018622b2a08,0
2. c5t3d0 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,0
3. c5t3d1 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,1
4. c5t3d2 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,2
5. c5t3d3 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,3
6. c5t3d4 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,4
7. c5t3d5 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,5
8. c5t3d6 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,6
9. c5t3d7 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,7
10. c5t3d8 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,8
11. c5t3d9 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,9
12. c5t3d10 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,a
13. c5t3d11 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,b
14. c5t3d12 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,c
15. c5t3d13 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,d
16. c5t3d14 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,e
17. c5t3d15 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,f
18. c5t3d16 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,10
19. c5t3d17 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,11
20. c5t3d18 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,12
21. c5t3d19 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,13
22. c5t3d20 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,14
23. c5t3d21 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,15
24. c5t3d22 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,16
25. c5t3d23 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,17
26. c5t3d24 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,18
27. c5t3d25 <HITACHI-OPEN-V-SUN-5008 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,19
28. c5t3d26 <HITACHI-OPEN-V-SUN-5009 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,1a
29. c5t3d27 <HITACHI-OPEN-V-SUN-5009 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,1b
30. c5t3d28 <HITACHI-OPEN-V-SUN-5009 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,1c
31. c5t3d29 <HITACHI-OPEN-V-SUN-5009 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,1d
32. c5t3d30 <HITACHI-OPEN-V-SUN-5009 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,1e
33. c5t3d31 <HITACHI-OPEN-V-SUN-5009 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,1f
34. c5t3d32 <HITACHI-OPEN-V-SUN-5009 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,20
35. c5t3d33 <HITACHI-OPEN-V-SUN-5009 cyl 6238 alt 2 hd 15 sec 512>
/pci@8,600000/fibre-channel@2/sd@3,21
36. c5t5d0 <HITACHI-DF600F-0000 cyl 1363 alt 2 hd 50 sec 768>
/pci@8,600000/fibre-channel@2/sd@5,0
37. c5t5d1 <HITACHI-DF600F-0000 cyl 1363 alt 2 hd 50 sec 768>
/pci@8,600000/fibre-channel@2/sd@5,1
38. c5t5d2 <HITACHI-DF600F-0000 cyl 1363 alt 2 hd 50 sec 768>
/pci@8,600000/fibre-channel@2/sd@5,2
39. c5t5d3 <HITACHI-DF600F-0000 cyl 1363 alt 2 hd 50 sec 768>
/pci@8,600000/fibre-channel@2/sd@5,3
40. c5t5d4 <HITACHI-DF600F-0000 cyl 1363 alt 2 hd 50 sec 768>
/pci@8,600000/fibre-channel@2/sd@5,4

In this example I'm attached to a Hitachi OPEN-V and a HITACHI-DF600F array.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Info: Solaris on IBM mainframe zSeries kebabbert Solaris / OpenSolaris 1 12-07-2007 05:37 PM
Info on compiling Solaris kernel algernon_z Solaris / OpenSolaris 1 03-15-2007 01:17 AM
Tar cmd as Cron Job / Suppressing logwatch's incremental info. Arakasi Linux - General 5 02-13-2007 03:43 AM
Hardware Info in Solaris talat Solaris / OpenSolaris 6 10-14-2006 08:54 PM
Some useful info on jumpstart and NFS mount of solaris CD's neo77777 Solaris / OpenSolaris 1 09-10-2003 06:13 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration