SlackwareThis Forum is for the discussion of Slackware Linux.
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.
/dev/hda1 = 489951 blocks / 1024 = ~478M [Approximately correct]
/dev/hda2 = 979965 blocks / 1024 = ~956M [Approximately correct, if your swap is around 1G]
/dev/hda3 = 18466717 blocks / 1024 = ~18033M (~18G)[Missing 13G somewhere!]
So your /dev/hda3 as reported by 'df' indeed seems quite smaller than it should be. That said, the filesystem itself does add overhead that will be reported in 'df' but not 'fdisk', but not 13G worth certainly. I am unfamiliar with JFS so I am unable to help you further here...
There is no requirement for a filesystem to fill a partition - normal, but not obligatory. I would expect df to be correct without evidence to the contrary.
It looks like jfs can be enlarged, but needs a kernel module (I'm also not a user).
Did you use partimage by any chance to image and then restore the partition?
With partimage, if the target partition when restoring an image is larger than the original partition when imaging then it will restore the file system to the original size.
Then df will report different size than the actual partition size.
It can be fixed easily but i'd have to look it up in my notes on another computer. So let me know if you need that info.
I originally had multiple partitions, then after having to reinstall for the third or fourth time, (which meant putting the hard drive in another computer that would actually boot the install CD) I decided to just have a swap, boot, and the root filesystem. I'm pretty sure I formated both and I just did a full install instead of picking and choosing. Then after that I noticed the discrepancy.