[SOLVED] Some Allocated Disk Space When Formatting A Device
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Some Allocated Disk Space When Formatting A Device
what is the allocated disk space for system files in a new formatted device?
Suppose I install a IDE hard drive with size of 40Gig and connect it to PC via SATA to IDE converter into SATA port. After the device is formatted (I format the whole thing without being partitioned) and mounted, it left with space of around 37.2Gig, which I suppose less than 2.8Gig are allocated for system files.
Is 2.8Gig allocation a normal size for system files? Can its size be minimized?
Last edited by ethereal1m; 09-15-2010 at 11:57 PM.
2. Linux (and Unix) reserve an amt (typically 5%) for use by root only (ie unavail to regular users) on the disk in case it fills up. It may also be used by the OS (briefly) to minimise fragmentation when adding to/changing a file layout.
Specify the percentage of the filesystem blocks reserved for the super-user. This avoids fragmentation, and allows root-owned daemons, such as syslogd(8), to continue to function correctly after non-privileged processes are prevented from writing to the filesystem. The default percentage is 5%.
fdisk and df meassure the disk capacity in different ways, it's what the other person said above.
Try "df -H" and they'll match. It's just a matter of using GB vs GiB, 1024 vs 1000, powers of 2 instead of powers of 10, whatever you prefer. There's nothing wrong with your disk or your fs.
ps. The fact that you didn't partition is will never be a problem for Linux, it could be for some other OSes, but not for Linux. It really doesn't matter if you use the raw device, a partition or any other kind of file (because in linux you can mkfs any arbitrary file, nost just these under /dev/sd*).