From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728412076.tru64-unix-managers.marc@archive.invalid> From: "jean.schuller" Date: Fri, 20 Nov 1998 14:19:01 +0000 To: tru64-unix-managers Subject: SUMMARY (bis) : disklabel & show device X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728412076 =09Hi managers : =09More explanations about my disklabel & show device problem I got =09from Peter Stern and Chris Ruhnke : Peter Stern says a good answert : You got a fast answer, but it is the wrong answer. disklabel reports the size in 512 byte blocks and 17824700*512=3D9.13e+9. Disk manufacturers report their disk sizes in bytes and not in multiples of Kbytes (1024 bytes) as do memory manufacturers. It is just a different and slightly arbitrary definition of Gigabytes which looks better (as in more is better). This is an old story dating back to the 10MB and more PC disks. By the way, formatting a disk and putting on a file system does take some overhead, but you will only see that when you run the df command and not from disklabel. In fact, the 9.1GB SHOULD be the formatted capacity. Chris Ruhnke specified in the same way : In defference to Sakellaris Alexander, a better explanation of the situation is that the 9.1 Gb specification is "raw" capacity -- how many physical bytes of data can be recorded on the magnetic surface. When a drive is "formatted" the process records information defining a sector's location, its size, checksum information, beginning-of-data marks, end-of-data marks and other such "overhead". Then when the disklabel is written, the OS and drive take their 2 cents worth; albeit not too much. Thus a disk that is prepared to receive actual data to be recorded has already been reduced by as much as 1 to 2 percent by the "overhead" required to be able to record user data. Vendors are wont to tout their wares with the biggest numbers they can, so when you see figures like "9.1 Gb" don't expect to be able to record 9.1 (1024 * 1024 * 1024) user data bytes on the drive. It'll always be lower! =09Many Thanks to Peter and Chris =09JEAN ---------------------------------------------------------------------------= -- jean.schuller@ires.in2p3.fr _/ _/_/_/ _/_/_/ _/_/_/_/ _/ _/ -/ _/ _/ _/ =20 _/ _/_/_/-/ _/_/_/ _/_/_/_/ _/ _/ -/ _/ _/ _/ _/ _/ _/_/_/ _/_/_/_/ =20 local call: 0388106630 Institut de Recherches Subatomiques foreign call: (33)388106630 Bo=EEte Postale 28=20 local fax : 0388106234 23, Rue du Loess foreign fax : (33)388106234 F-67037 STRASBOURG CEDEX - France ---------------------------------------------------------------------------= --