Bug 450461

Summary: xfs corrupted after grow online
Product: [Fedora] Fedora Reporter: lomic <mcftang>
Component: kernelAssignee: Eric Sandeen <esandeen>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-25 01:41:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description lomic 2008-06-08 19:20:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)

Description of problem:
When I use xfs_growfs for a xfs file system online (mounted) that is on LVM, I may have input/output error later.  Also, always return 1 after xfs_repair -n.

I tested with 32bit Fedora 8.  No problem!  Just fails on x84_64

Version-Release number of selected component (if applicable):
xfsprogs-2.9.4-4.fc8

How reproducible:
Always


Steps to Reproduce:
1. mount a xfs file system that is on LVM on an 64bit system
2. lvextend the partition
3. xfs_growfs partition
4. umount the file system
5. xfs_repair -n the file system

Actual Results:
echo $? = 1
But no problem found by xfs_check
sometime may get input/output error when operates on some directories in the file system.

Expected Results:
echo $? = 0

Additional info:
I have to umount the file system and run xfs_repair to repair the file system or grow the file system when it is umounted.

Comment 1 Eric Sandeen 2008-06-09 04:09:45 UTC
> echo $? = 1

the actual xfs_repair output would be most helpful.

> or grow the file system when it is umounted.

That is impossible with xfs; there is no way that you could have done this...

Are you sure that the corruption did not exist before the growfs?  Can you
reproduce it?

-Eric

Comment 2 Eric Sandeen 2008-06-09 04:15:54 UTC
Also, how big was the fs before and after the growth; what kernel version are
you running.

Comment 3 Eric Sandeen 2008-08-21 21:08:54 UTC
I'm going to need more info about the failure to be able to do anythingwith this.  Can you answer any of the questions above?  If not I'm afraid I'll have to close with INSUFFICIENT DATA.

Comment 4 Eric Sandeen 2008-09-25 01:41:52 UTC
Months go by with no reply; no details.  Can't fix.  Feel free to reopen with details.