Bug 206199
Summary: | df reports wrong volume size when using LVM | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matt Castelein <mjc> |
Component: | lvm-obsolete | Assignee: | Heinz Mauelshagen <heinzm> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | agk, dwysocha, mbroz, prockai |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-11-09 14:01:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matt Castelein
2006-09-12 21:16:41 UTC
The sizes reported by lvdisplay and df do not need to coincide, first reports size of the volume, second size of the filesystem residing there. If you formatted the volume and then used lvextend on it, you still need to resize the filesystem. To verify, you can run (as root): blockdev --getsz /dev/mapper/VolGroup00-LogVol00 which gives size in 512 sectors, so divide by 2 to get size in kilobytes. If the actual block device size is different from what lvdisplay says, please reopen the bug. (You can also try writing data to the volume or reformatting it, which of course destroys the filesystem and all data). The size of the filesystem was not changed.. It was created to fill the two disks but df reports it at HALF it's actual size. In that case can you give blockdev --getsz output? I knew someone would ask something like that, unfortunately we had to migrate this to solaris 10 w/ SDS - I'll try to build a copy of this machine to run this test on when I have some free time. |