[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Partition size mismatch

I'm trying to track down why my /var partition is only mounting as half the size as reported by fdisk or parted. I'd appreciate any suggestions or other information.

df reports this (approx 2G):
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda7              1968588    833836   1034752  45% /var

parted reports this (approx 4G):
Minor    Start       End     Type      Filesystem  Flags
7 1231.576 5137.976 logical ext2 cfdisk also reports the partition as being 4G in size.

This partition was previously ext3 before today. I converted it back to ext2 using tune2fs -O ^has_journal /dev/hda7.

I thought it was a 2G partition until I fired up Partition Magic to increase it, and noticed that it was already 4G reported by Partition Magic. That's when I booted back to Linux and discovered that parted and cfdisk agree with Partition Magic. It's just the mounted size that doesn't agree.

I'd prefer not to mess around with the size of it if I can first figure out why it's being mounted a different size than what the partition table supposedly says.

Thanks in advance,

Reply to: