Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

how to determine the hard disk capacity/space?

Jefferson_6
Frequent Advisor

how to determine the hard disk capacity/space?

how can i determine the hard disk capacity of my server? like is it a 40 GB... tia
3 REPLIES
Kasper Hedensted
Trusted Contributor

Re: how to determine the hard disk capacity/space?

Hi,

You can use disklabel(8) for that

eg.
disklabel -r /dev/disk/dsk1c

You need to do that for each disk you have

regards,
Kasper
Ivan Ferreira
Honored Contributor

Re: how to determine the hard disk capacity/space?

Already answered this in your previous post.

An example:

hwmgr v d

147: /dev/disk/dsk10c DEC HSG80 IDENTIFIER=1215

# hwmgr get attr -id 147 -a capacity
147:
capacity = 924264328

# bc
924264328/2048
451300

dsk10 is 451 GB
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
David_854
Frequent Advisor

Re: how to determine the hard disk capacity/space?

you can also use the scu utility.
scu show edt

David