disk command | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

disk command

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 11-18-2003
dennisca dennisca is offline
Registered User
 
Join Date: Jul 2003
Last Activity: 27 April 2004, 1:18 AM EDT
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
disk command

Does anyone know a command in solaris that shows

all disk space, ie how big the installed disks are
all SAN storage devices


All i want is a command that outputs the server config with number of disk, size and san stroage.

i am a solaris admin i have done the followinf but none really help

getdev
cfgadm -la
prtconf

I want to halt the system and go into the probe and run a

proble-scsi-all

but i really dont want to halt a production server.

can u help ?
Sponsored Links
    #2  
Old 11-19-2003
kduffin's Avatar
kduffin kduffin is offline Forum Advisor  
UN1X
 
Join Date: Nov 2003
Last Activity: 21 January 2014, 4:03 PM EST
Location: Belize
Posts: 484
Thanks: 0
Thanked 3 Times in 2 Posts
Are you wanting used as well as unused disks so that a simple df -k won't suffice?
Sponsored Links
    #3  
Old 11-19-2003
kduffin's Avatar
kduffin kduffin is offline Forum Advisor  
UN1X
 
Join Date: Nov 2003
Last Activity: 21 January 2014, 4:03 PM EST
Location: Belize
Posts: 484
Thanks: 0
Thanked 3 Times in 2 Posts
prtvtoc will give you dimensions of /dev/rdsk/<some device>

Keith
    #4  
Old 11-19-2003
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
 
Join Date: Nov 2003
Last Activity: 25 January 2012, 5:08 PM EST
Location: Minnesota
Posts: 447
Thanks: 0
Thanked 2 Times in 2 Posts
Unless I'm missing something, I think you outta just run the format command. It will list every physical disk your system sees, although if you have multipathing on your SAN some will show up multiple times (one for each path). If it is a known disk type it will show the size of each as well.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to use dd command to erase the data in disk rainbow_bean AIX 9 12-09-2010 09:46 AM
Unix - Disk usage command abinaya Shell Programming and Scripting 1 10-28-2010 08:53 AM
Command to format Oracle ASM raw disk Mack1982 Solaris 0 09-05-2010 04:20 AM
Verify two disk pvid with command awk khalidou13 Shell Programming and Scripting 4 09-16-2009 05:37 PM
disk usage command on unix? gandoura UNIX for Dummies Questions & Answers 3 10-23-2005 02:55 AM



All times are GMT -4. The time now is 12:30 AM.