I am trying to extend a volume, let's call it /dev/vol1. I see the initial volume size is 500MB when I call:
df --block-size=M /dev/vol1
then to extend it 100MB more I call:
lvextend -L+100M /dev/vol1
resize2fs /dev/vol1
but when I check the size again with
df --block-size=M /dev/vol1
I get back 595, indicating only 95 MB were gained. What accounts for this discrepancy? I think it has to do with a MB being 1024 vs 1000 KB, but I'm not sure how where the problem is.