Bug 154959
Summary: | df -h shows -64Z after resize2fs filesystem shrink | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Charles R. Anderson <cra> | ||||||
Component: | e2fsprogs | Assignee: | Stephen Tweedie <sct> | ||||||
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | dr, sct, triage | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | bzcl34nup | ||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-05-07 00:08:41 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 136451 | ||||||||
Attachments: |
|
Description
Charles R. Anderson
2005-04-15 03:17:11 UTC
If this helps, here is an excerpt from the anaconda.ks file that should give the exact pre-resize filesystem sizes: # Kickstart file automatically generated by anaconda. # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work #clearpart --linux #part /boot --fstype ext3 --onpart hda1 #part pv.2 --noformat --onpart hda2 #part pv.3 --noformat --onpart hda3 #part pv.4 --noformat --onpart hda4 #volgroup VGSystem --pesize=32768 pv.2 pv.3 pv.4 #logvol / --fstype ext3 --name=LVRoot --vgname=VGSystem --size=9984 #logvol swap --fstype swap --name=LVSwap --vgname=VGSystem --size=1024 #logvol /home --noformat --fstype ext3 --name=LVHome --vgname=VGSystem --size=26912 Created attachment 113209 [details]
strace df
3. e2fsck -f /dev/VGSystem/LVHome (no errors found) 4. mount /home; df -h That's weird --- fsck finds no problems, yet we're still seeing bad df output, with strace on statfs giving: f_blocks=5026994, f_bfree=6525934, f_bavail=6316219 Could you please send me more information about this filesystem? Ideally, a raw dump of the fs would be perfect (e2image -r /dev/mapper/VGSystem-LVHome - | bzip2 > $file) --- that will contain all of the metadata, but none of the data itself. You can use e2image's "-s" option to scramble directory entry contents too if you're worried about that. If that's too big, "dumpe2fs" output may help. Thanks! Created attachment 113244 [details] e2image of /home Here is the output of: e2image -r -s /dev/mapper/VGSystem-LVHome - | bzip2 -c > /tmp/home-e2image.bz2 I took a look at the output with "strings", and it doesn't appear that it actually scrambled anything...Not a big deal in this case, though. I just tried another fsck. After a supposedly clean umount, it recovers the journal and modifies the filesystem. Why? # umount /home # e2fsck -f /dev/mapper/VGSystem-LVHome e2fsck 1.37 (21-Mar-2005) /dev/mapper/VGSystem-LVHome: recovering journal Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/mapper/VGSystem-LVHome: ***** FILE SYSTEM WAS MODIFIED ***** /dev/mapper/VGSystem-LVHome: 300/5227520 files (9.3% non-contiguous), 311365/5242880 blocks Based on the date this bug was created, it appears to have been reported against rawhide during the development of a Fedora release that is no longer maintained. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained. If this bug remains in NEEDINFO thirty (30) days from now, we will automatically close it. If you can reproduce this bug in a maintained Fedora version (7, 8, or rawhide), please change this bug to the respective version and change the status to ASSIGNED. (If you're unable to change the bug's version or status, add a comment to the bug and someone will change it for you.) Thanks for your help, and we apologize again that we haven't handled these issues to this point. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again. This bug has been in NEEDINFO for more than 30 days since feedback was first requested. As a result we are closing it. If you can reproduce this bug in the future against a maintained Fedora version please feel free to reopen it against that version. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp |