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
Did you mean:

SOLVED
Go to solution

## How to figure out the size of D102?

There is a D102 in the HSZ70 ,The size of the D102 is :"size :35529666 blocks " , how many MB the 35529666 block equal to ?

Thanks
4 REPLIES
Honored Contributor
Solution

## Re: How to figure out the size of D102?

a block could be 512 or 1024 bytes depending on the used tool. If a valid filesystem exists, use the -k flag on the df command or read the disklabel....

a "show capacity" via command console should give you the capacity in 512 bytes.

Honored Contributor

## Re: How to figure out the size of D102?

Hello Rambo,

it looks like you have posted the output from the HSZ70 controller. In that case a block is 512 bytes big.

35529666 blocks * 512 bytes/block = 18191188992 bytes

so this is 18.2 GigaBytes. Note that this is 'marketing' GigaBytes based on G = 1000000000. Some software, however displays 'computer' GigaBytes:

18191188992 /1024/1024 = 17348

which gives us 17.348 GigaBytes. Of course that does not look so great, because it is almost 5% less - within the TeraBytes range it will even look worse (almost 7%). Guess what value the disk drive vendors specify ;-)
.
Trusted Contributor

## Re: How to figure out the size of D102?

around 18 GB
divide blocks by 2000 to get size in MB

Mohamed
Honored Contributor

## Re: How to figure out the size of D102?

It is a good approximation:

35529666 /2000 = 17764

35529666 /2048 = 17348 (see my note above)

Note that this is 'computer' GigaBytes, not what is written on the disk.
.