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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221
Rep:
I lost my 22 GB chunk of disk drive
Folks,
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.