URGENT- cfdisk or df are lying to me!
When I created my / partition- I allocated 3GB for it. When I run "df" however, it shows that I have roughly 1 GB. I check cfdisk again and it' just like how I left it... a nice 3GB
This is very important because one of my packages (GCC Pass 2- Chapter 5- temporary system) failed because there was no disk space (I just ran "make" again and it worked though)
This brought up the issue of how much space I really have... and I am staring at two very different results
If my cfdisk is correct at saying my / drive is 3GB- then I dont know why making gcc would have failed (but it works now). If my df is correct... there there is no way I'll have enough space for building LFS!
Help! Which is which and how can I be so sure?
When I created my / partition- I allocated 3GB for it. When I run "df" however, it shows that I have roughly 1 GB.
df shows the size of the file system. Therefore you have 1G file system in a 3G partition. You need to resize the file system so that it uses the remaining raw space in the partition. What file system type are you using?
I am using the ext2 filesystem just like the book says.
All I did was
1. Run cfdisk
2. Remove all existing partitions
3. Create one primary, bootable partition for the / drive of my LFS System- 3GB
4. Create Logical Drives for /home - 10GB, /root - 5 GB, and /usr - 20GB (20GB remain free)
I calculated the number of MB simbly by multiplying 1024MB/GB by the number of GB I wanted- so for the / drive, I calculated 1024*3 and put in the result
I have to tell you I never realized that a filesystem might not fill up an entire partition.... I thought the whole "left over raw space" was when a partition size exceeded the maximum capacity of the filesystem. Surely I haven't gone anywhere near this limit...
So how can I resize my partition?
WOOT WOOT nevermind- I used the apropos command to search for "resize"- found the resizer program and mande my filesystem fill out my partition
|All times are GMT -5. The time now is 09:41 AM.|