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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find total disk space total disk space

Status
Not open for further replies.

nolim073

IS-IT--Management
Nov 9, 2006
21
US
Hey,
My servers use both internal disks and SAN storage.
My question is how do i find the total disk space of my server.bellow is my format output.

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 <drive not available>
/pci@1c,600000/scsi@2/sd@2,0
3. c1t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1c,600000/scsi@2/sd@3,0
4. c2t50060162306035E0d0 <drive type unknown>
/pci@1e,600000/SUNW,qlc@2/fp@0,0/ssd@w50060162306035e0,0
5. c2t50060169306035E0d0 <DGC-RAID5-0219 cyl 57262 alt 2 hd 256 sec 28>
/pci@1e,600000/SUNW,qlc@2/fp@0,0/ssd@w50060169306035e0,0
6. c3t50060168306035E0d0 <DGC-RAID5-0219 cyl 57262 alt 2 hd 256 sec 28>
/pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w50060168306035e0,0
7. c3t50060160306035E0d0 <drive type unknown>
/pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w50060160306035e0,0


 
Unsure whether you want 'raw' (physical unformatted) or 'formatted' (absolute max available) or 'available' (what users can use).
Anyway try:
man prtvtoc
man format
man df

I hope that helps.

Mike
 
The capacity of the local disks are shown in the format listing -

c1t0d0/c1t1do/c1t2d0/c1t3do - local disks.

The san disks you can check by doing format/par/pri, some of the san disks may be multiple paths to the same lun.
 
Are you using any kind of volume management software? For example, you need to consider that the amount of 'logical' free space is half the physical free space if you normally mirror your volumes.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top