Operating System - Tru64 Unix
1753478 Members
5974 Online
108794 Solutions
New Discussion юеВ

Re: 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 3
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