Hi all, I had a 20Gb disk of which the last 10Gb was unpartitioned. Now to incorporate this into my linux partition (the last partition on the disk), I used resize2fs (comes with Partition Magic). To use this, you first resize your ext2 partition using fdisk, then you run resize2fs on the partition. This enlarges or shrinks your file system to the available space. Now after doing this, it reported: file system on /dev/hda3 is now 2,919,813 blocks The block size is not given in the resize2fs man page. To check that the resized file system was indeed using the entire space available, I checked with fdisk which reported partition to be of 11679255 blocks. df reported file system as using 11498092 blocks. df reports blocks of 1k size. So is the difference because fdisk does not use 1k blocks (couldn't find block size in man page) or has resize2fs screwed up? Is there any other way to check whether a file system is utilising entire available space in a partition? TIA -Gaurav -- The programmer's national anthem is 'AAAAAAAARRRRGHHHHH!!'. ---------------------------------------------- LIH is all for free speech. But it was created for a purpose. Violations of the rules of this list will result in stern action.
