Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
I lost my 22 GB chunk of disk drive
Few days back I bought 500 GB Seagate Sata disk drive. I actually got only 459 GB but it's ok.
Issue started after that. I created 3 partitions in it using "fdisk" utility.
/dev/sdb1 15GB - ext3
/dev/sdb2 2GB - swap
/dev/sdb3 442GB - ext3
I then formated the first and last partitions using following commands:
# mke2fs -j /dev/sdb1
# mke2fs -j /dev/sdb3
However on mounting these two partitions, df -h shows following status:
Filesystem Size Used Avail Use% Mounted on
/dev/sdc2 17G 7.5G 8.1G 49% /
/dev/sdb3 442G 105M 420G 1% /mnt
/dev/sdb1 15G 70M 14G 1% /temp
As you can see under "Used" column the space used is 105 M and under "Avail" column the space left is only 420 GB so where is the remaining 22 GB? I have not copied any data on it. The two partitions are freshly formated partitions. I checked it through windows as well and the sizes are same. Please help.
Last edited by paragkalra; 05-14-2008 at 07:52 AM.
By default when a ext2/3 file system is created 5% is reserved for root. This is supposed to reduce fragmentation as well as allow root to login in case the file system becomes full. Use tune2fs to reduce the amount of reserved space.