I thing the following problem has more to do with mke2fs, but I couldn't
select that one from the components...
Yesterday I installed Redhat6.2. After the installation I added a new
partition (logical one in the extended partition) and tried to format it
First time mke2fs reported me that there was a bad superblock on the
partition. After a reboot formatting went OK.
I also made another new partition, and formatted with mke2fs. It seemed to
go OK, but after formatting I discovered with "df -h" that the partition
was only 30 MB large, although with fdisk I made the partition 2 GB large.
This was also a logical partition in the extended partition. Also here:
after reboot, formatting went OK.
What is the problem?
This is happening because the kernel hold busy the device you are modifying the
partition table on. You will need to reboot after changing the partition
information to force teh kernel to re-read the partitioning table.
Pay attention to the Device busy messages you get when writing new partitioning
ifnormation to disk.