Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Hard Disk drive space gone missing... Post 302073280 by Ecclesiastes on Thursday 11th of May 2006 12:11:06 PM
Old 05-11-2006
Quote:
Originally Posted by amro1
it is a good question BTW. First the manufacturers of hard drives since 2002 respecified Kbyte, Mbyte and Gbyte and they came up with “very smart” solution to call Kb =10e3, Mb=10e6 and Gb=10e9 respectively. It allows them to sell drives as higher capacity, as the real capacity is to be measured in a real Kilo, mega and Giga as K=2e10, M=2e20 and G=2e30 respectively.
The difference is quite significant as for 100Gb drive the presupposed capacity would be
100x2e30= 107374182400 when the “their” capacity is 100x10e9, that is some 7Gb less !
After that, not all the drive capacity is accessible to data as drives aren't used as RAW drives normally, but require to be formatted. Formatting drive means introducing the system of coordinated to the drive geometry so the a position of the some particular byte may be specified to the driver which will address the data on a drive. As you can imagine, the whole space has to be mapped so it takes additional average 7% of a drive space. So it is where your gigabytes have vanished.

Addressing second question, I'm not sure what your definition of “lot a trouble is”. For my taste it had never worked before in a fashion it wouldn't drive me out of my mind and for the reason I abandoned PC platform completely and use OS X on Apple hardware exclusively.
But is entirely different subject. You can try Mandrake Linux, so far it was most polished and relatively peacefully coexisted with Windows (and easy to install in another partition as Mandrake can do it automatically).

Hope it helps.
man that really sucks about redefining the sizes and what not. Imagine it though, I have only about 65G on a machine that says on paper has 80G, thats totally outrageous. Would it be the same you think if I opted for a different manufacturer, would 80G end up being 65G or is DELL just over the top? I mean I can understand the use of the 7% of my space but 7% does not equal to 15G, its like I have lost 10G worth of space...

Thanks for the info though, really helps and sets things in perspective.

With the 2nd Q, I was just wondering whether I would get some problems for example installing linux on the 2nd partition as a result of maybe not creating the partition right or maybe as a result of some obsecure windows system setting preventing me from installing linux properly??. Do I have to format the HD though since my laptop already came with XP home edition installed on it before I can create the 2 partitions?

thanks
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Pointing one hard drive name to another disk

Pointing one hard drive name to another disk -------------------------------------------------------------------------------- I have 2 disk drives - s2d9 & s2d11 on a solaris Unix system It was mapped so that anything that tried to call s2d9 would be pointed to s2d11 since s2d9 was bad.... (2 Replies)
Discussion started by: andy57s
2 Replies

2. UNIX for Dummies Questions & Answers

Re-allocating hard drive space

Hi, Is their an easy way to realloate hard drive space on Solaris 10. For example : /c20td0 10G /space 90 G I would like to move some of the hard-drive space from "/space" and add it to "/c20td0". In Windows this can be easily done using Partition magic, anything similar for UNIX? (4 Replies)
Discussion started by: annointed3
4 Replies

3. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

4. UNIX for Advanced & Expert Users

The art of wrecking an hard disk drive.

Any creative ideas on how to wreck / secure clean an hard disk drive before disposal? dd if=/dev/zero of=/dev/disk_drive? shred -n whatever -z /dev/disk_drive? Magnet? (false sense of security) Fire? Hammer? Acid? Post your thoughts. (10 Replies)
Discussion started by: redoubtable
10 Replies

5. Filesystems, Disks and Memory

USB Pen Drive & Hard Disk

Hi Guys, I have an external USB Hard Disk Drive on which I have 3 partitions and it works fine under Windows XP but when I am using Red Hat Linux 5 I don't see any icon for this USB HDD. Also I am not able to browse my USB Pen Drive. However, I can use it under Mandrake Linux without any... (4 Replies)
Discussion started by: indiansoil
4 Replies

6. Shell Programming and Scripting

Need help on Linux script to monitor hard drive space

I'm new to Linux and have very limited experience with shell scripts in general. I am taking a class and I have to research online and come up with a shell script that monitors disk space. I also have to be able to explain it line by line. I've researched various sites and came across this shell... (3 Replies)
Discussion started by: wgreg23
3 Replies

7. Solaris

hard disk broken, relocate user's home dir. All setting missing

Hi, guys I am a super newbie in solaris admin.... Now I got a problem. Due to the broken of one of Raid system, some user home directory is missing. Someone advises me to relocate the home directory on the new drive. I have googled and have tried " usermode -d " command. But I found a... (3 Replies)
Discussion started by: dr_dw
3 Replies

8. Solaris

Hard Errors on Disk Drive

Hi, What are the initial checks needs to be done while observing hard errors on one of the hard disk drive. Thanks, Babu. (1 Reply)
Discussion started by: lbreddy
1 Replies

9. Fedora

Need to incrwase PHYSICAL VOLUME space on hard drive with free space on it

Hi, I run Fedora 17. I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies

10. Hardware

Hitachi SATA hard disk drive password locked

Hi everyone (see attachments) I bought an HP Elitebook 8460p on eBay and it came with a password-locked Hitachi hard drive which I was told is the original hard drive. I don't know the password for the drive and running the diagnostics tools I see the hard drive is healthy. I tried booting... (9 Replies)
Discussion started by: milhan
9 Replies
SD(4)							     Linux Programmer's Manual							     SD(4)

NAME
sd - driver for SCSI disk drives SYNOPSIS
#include <linux/hdreg.h> /* for HDIO_GETGEO */ #include <linux/fs.h> /* for BLKGETSIZE and BLKRRPART */ CONFIGURATION
The block device name has the following form: sdlp, where l is a letter denoting the physical drive, and p is a number denoting the parti- tion on that physical drive. Often, the partition number, p, will be left off when the device corresponds to the whole drive. SCSI disks have a major device number of 8, and a minor device number of the form (16 * drive_number) + partition_number, where drive_num- ber is the number of the physical drive in order of detection, and partition_number is as follows: +3 partition 0 is the whole drive partitions 1-4 are the DOS "primary" partitions partitions 5-8 are the DOS "extended" (or "logical") partitions For example, /dev/sda will have major 8, minor 0, and will refer to all of the first SCSI drive in the system; and /dev/sdb3 will have major 8, minor 19, and will refer to the third DOS "primary" partition on the second SCSI drive in the system. At this time, only block devices are provided. Raw devices have not yet been implemented. DESCRIPTION
The following ioctls are provided: HDIO_GETGEO Returns the BIOS disk parameters in the following structure: struct hd_geometry { unsigned char heads; unsigned char sectors; unsigned short cylinders; unsigned long start; }; A pointer to this structure is passed as the ioctl(2) parameter. The information returned in the parameter is the disk geometry of the drive as understood by DOS! This geometry is not the physical geometry of the drive. It is used when constructing the drive's partition table, however, and is needed for convenient operation of fdisk(1), efdisk(1), and lilo(1). If the geometry information is not available, zero will be returned for all of the parameters. BLKGETSIZE Returns the device size in sectors. The ioctl(2) parameter should be a pointer to a long. BLKRRPART Forces a reread of the SCSI disk partition tables. No parameter is needed. The SCSI ioctl(2) operations are also supported. If the ioctl(2) parameter is required, and it is NULL, then ioctl(2) fails with the error EINVAL. FILES
/dev/sd[a-h] the whole device /dev/sd[a-h][0-8] individual block partitions COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2017-09-15 SD(4)
All times are GMT -4. The time now is 12:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy