Operating System - Tru64 Unix
1752453 Members
6274 Online
108788 Solutions
New Discussion юеВ

Re: How to figure out the size of D102?

 
SOLVED
Go to solution
Rambo_1
Regular Advisor

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 4
Ralf Puchner
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.

Help() { FirstReadManual(urgently); Go_to_it;; }
Uwe Zessin
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 ;-)
.
Mohamed  K Ahmed
Trusted Contributor

Re: How to figure out the size of D102?

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

Mohamed
Uwe Zessin
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.
.