Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
So I just installed a new 1tb hard drive. I used fdisk to give it one partition. And then I formatted it w/ ext3. There should be nothing on it but when I looked at the drive it says 877GB free of 924gb. What happened to the rest?
for the installed hard drive...
/dev/sdb1 925G 200M 878G 1% /mnt/storage
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00066782
Device Boot Start End Blocks Id System
/dev/sdb1 1 121601 976760001 83 Linux
By default 5% of an ext3 fs is reserved for root. tunefs can change this, for example:
tune2fs -m 1 /dev/sda1
will change it to 1% (make sure it is unmounted fist).
That is why there is space that is not "used", but is not "available". On a disk setup like you have it, there is no need for reserved root space; but it is to ensure that root can get in and fix the system if the disk were to actually reach 100%.
I said 1%, but actually, as none of the system daemons are going to be using the disk, you might as well set it to 0 (-m 0) so that none of it gets reserved (as chances are, none of it will be used anyway)
trickykid, you didn't mention how much was reserved by the root. I was just surprised why I missing so much space. I wasn't sure if inodes and/or root was taking up most of the space.
chadl did a great job explaining to me that 5% was used by root and how to fix it.
But that's why I also said a search could have found the information for you, the details. I'm trying to get more people to utilize searching by such means, honestly, most of the questions any member asks has already been answered, in most cases.