Bug 475488
Summary: | GFS2: mkfs.gfs2 stuck in gfs2_dirent_next loop | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Nate Straz <nstraz> | ||||||
Component: | gfs2-utils | Assignee: | Robert Peterson <rpeterso> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Cluster QE <mspqa-list> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 5.3 | CC: | edamato | ||||||
Target Milestone: | rc | Keywords: | Regression | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-12-09 23:11:19 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: | 471618 | ||||||||
Attachments: |
|
Description
Nate Straz
2008-12-09 13:45:04 UTC
Created attachment 326312 [details]
gzipped i386 core dump for mkfs.gfs2 from gfs2-utils-0.1.51-1.el5
While trying to verify that things are working correctly, I was able to make the file system with only five journals instead of six. But when I mount the gfs2meta file system I find that I cannot do an "ls -l" inside of per_node. It does work in the root of the file system. I also tried running gfs2_jadd on the file system and umounting after that command was taking a long time. After a journal add, the quota_change4 file disappeared. [root@tank-01 ~]# gfs2_jadd -j 1 /mnt/brawl Filesystem: /mnt/brawl Old Journals 5 New Journals 6 [root@tank-01 ~]# ls /mnt/meta/per_node inum_range0 inum_range4 quota_change2 statfs_change1 statfs_change5 inum_range1 inum_range5 quota_change3 statfs_change2 inum_range2 quota_change0 quota_change5 statfs_change3 inum_range3 quota_change1 statfs_change0 statfs_change4 I dug through old logs to see when I last ran this test case and it was on Nov 19 with gfs2-utils-0.1.49-1.el5. I reinstalled gfs2-utils-0.1.49-1.el5 and 0.1.50-1.el5 and the test case passed with those two versions. NOTE: The 1k block size makes mkfs.gfs2 take a lot longer to create the file system. On a 1TB block device, a regular mkfs.gfs2 takes 0:51, a mkfs.gfs2 -b 1024 takes 13:41. Created attachment 326420 [details] patch to fix the problem This patch fixes the problem. This turned out to be a regression introduced in bug #471618. New function compute_heightsize needs to work a tiny bit differently when dealing with jdata by using sdp->sd_jbsize rather than the normal block size. This subtle difference caused the code that morphs a gfs2 directory from linear to exhash to stop working properly, if the directory is jdata, as it is in the case of the per_node directory. Seeing as how this is a regression with bug #471618's fix, I'm closing this bug as DUPLICATE of that one. *** This bug has been marked as a duplicate of bug 471618 *** gfs2-utils-2.03.11-1.fc9, cman-2.03.11-1.fc9, rgmanager-2.03.11-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |