HP3000-L Archives

September 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Claire Carson <[log in to unmask]>
Reply To:
Claire Carson <[log in to unmask]>
Date:
Fri, 21 Sep 2001 10:44:14 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
That would be great!  As soon as I sent the email I found the answer, so I'll include it incase anyone else is in need of the information.

Converting Between Disk Sectors and MBytes
If your various products are listed in MBytes, particularly third-party products, estimate the disk space sectors by performing the following conversion: 
     n MBytes x 1,000,000 sectors/256 bytes = m sectors
Where: 
     n = the number of MBytes
     m = the number sectors
Example 1, MBytes to sectors: 
     VALIDATE reports 20 MBytes total on a tape, so:
       20 x 1,000,000/256 = 78,125 sectors
Example 2, sectors to MBytes: 
      A disk has a device size: 7,824,336 sectors, so:
       7,824,336 x 256/1,000,000 = 2,003 MBytes
       Therefore the disk is a 2000 MByte disk, (also known as 2 Gbyte disk).
Thanks,
Claire
>>> <[log in to unmask]> 09/21/01 10:36AM >>>
Claire asks:

> Could someone remind me what the conversion equation is to convert sectors
>  to GB's?  I know I wrote it down somewhere, but can't remember where....
>  Thanks for your help!

Given how often this question is asked, might it be time to provide an 
optional entry points to commands such as "discfree" so that you could type 
in commands such as:

     :discfreegb a
     :discfreemb b,2
     :discfree c

...and get the reports in your desired units? Sectors are becoming a somewhat 
obsolete unit of measurement.

Wirt Atmar

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2