[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

XFS is unsafe (Was: Re: d-i does not show jfs in partition tool)



After making some test off-list together with Xan, I decided to get back on the list,
after I got my first results.

Here's a snippet from the  conversation off-list, to help everyone understanding what we were doing.
>> Thanks Tobias for the intro:
>>     * The mounting process was OK.
>>     * Why you say me that compile a kernel? It will get me a lot of
>> waste in my system.... Is there any only copy-move process for test
>> jfs? I think it will be ideally
>>     * Meanwhile I copy / in /jfs
>> 
>> Thanks a lot,
>> Xan.
>> 
>> PS: If the process were ok, then I will suggest Martin to include jfs
>> in d-i: a priori jfs is more CPU efficient than ext3.

>The idea was to make the fs busy. (I expericenced the bug the first time
>during compiling the linux test suite). But copying huge amount of small
>and big files should be fine too.
>
>However, please consider that my partition was very very big, in the
>730GByte range:
>#thecus:~/#fdisk -l /dev/sda | grep sda3
>/dev/sda3            1460       91201   720852615   fd  Linux raid
>autodetect
>(So please stay cautionius, and therefore "jfs" should still be
>considered at least as experimental if not as dangerous. If telling
>Martin, it would be nice if you could stress this too. ) 
>
>Currently I discarded swap for jfs, to also run some tests. Unfortuantly
>these is even smaller (2GBytes)...
>
>I'll keep you updated.

So there are the results:
- I did not experience the jfs problem I had earlier this year. But that could also,
  that the partition is too small to manifest the problem. However, taking the second
  result, I am pretty sure that jfs exposed the "does-not-fill-up-the-whole-partition-problem"

-I did test xfs on my Thecus 2100. I could reproduce the fs-corruption with xfs.
 The xfs was created freshly on the partition used to be swap. 
 The corruption occured after downloading the ltp from source-forge, untaring it and a attempted make
 (The make never completed, therefore I did not run the stress-tests of ltp)

I am currently backup up the corrupt partition to have something to debug...
Later I will run fschk on the part.

Some infos:

thecus:~/#uname -a
Linux thecus.coldtobi.ip 2.6.26-1-iop32x #1 Fri Aug 8 23:42:37 UTC 2008 armv5tel GNU/Linux

thecus:~# dpkg -l xfsprogs
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                            Version                                         Description
+++-===============================================-===============================================-==============================================================================================================
ii  xfsprogs                                        2.9.8-1                                         Utilities for managing the XFS filesystem

thecus:~/#dmesg	
[43125662.690000] SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
[43125662.770000] SGI XFS Quota Management subsystem
[43125662.800000] Filesystem "md1": Disabling barriers, not supported by the underlying device
[43125662.810000] XFS mounting filesystem md1
[43125662.980000] Ending clean XFS mount for filesystem: md1
[43127093.120000] 00000000: 58 46 53 42 00 00 10 00 00 00 00 00 00 07 72 10  XFSB..........r.
[43127093.140000] Filesystem "md1": XFS internal error xfs_da_do_buf(2) at line 2085 of file fs/xfs/xfs_da_btree.c.  Caller 0xbf226cac
[43127093.150000] [<c00291e0>] (dump_stack+0x0/0x14) from [<bf232704>] (xfs_error_report+0x4c/0x5c [xfs])
[43127093.150000] [<bf2326b8>] (xfs_error_report+0x0/0x5c [xfs]) from [<bf232770>] (xfs_corruption_error+0x5c/0x68 [xfs])
[43127093.170000]  r4:dfc74400
[43127093.170000] [<bf232714>] (xfs_corruption_error+0x0/0x68 [xfs]) from [<bf226b00>] (xfs_da_do_buf+0x568/0x688 [xfs])
[43127093.180000]  r6:bf226cac r5:00000000 r4:c806c438
[43127093.190000] [<bf226598>] (xfs_da_do_buf+0x0/0x688 [xfs]) from [<bf226cac>] (xfs_da_read_buf+0x34/0x3c [xfs])
[43127093.200000] [<bf226c78>] (xfs_da_read_buf+0x0/0x3c [xfs]) from [<bf22ccdc>] (xfs_dir2_leaf_getdents+0x484/0x8bc [xfs])
[43127093.210000] [<bf22c858>] (xfs_dir2_leaf_getdents+0x0/0x8bc [xfs]) from [<bf229200>] (xfs_readdir+0xcc/0xe0 [xfs])
[43127093.220000] [<bf229134>] (xfs_readdir+0x0/0xe0 [xfs]) from [<bf25ff7c>] (xfs_file_readdir+0x144/0x194 [xfs])
[43127093.240000] [<bf25fe38>] (xfs_file_readdir+0x0/0x194 [xfs]) from [<c009ee48>] (vfs_readdir+0x84/0xb8)
[43127093.250000] [<c009edc4>] (vfs_readdir+0x0/0xb8) from [<c009eee8>] (sys_getdents64+0x6c/0xc0)
[43127093.250000] [<c009ee7c>] (sys_getdents64+0x0/0xc0) from [<c0024a60>] (ret_fast_syscall+0x0/0x3c)
[43127093.260000]  r7:000000d9 r6:0003cb2c r5:0003cb40 r4:00000000
[43127108.540000] 00000000: 58 46 53 42 00 00 10 00 00 00 00 00 00 07 72 10  XFSB..........r.
[43127108.560000] Filesystem "md1": XFS internal error xfs_da_do_buf(2) at line 2085 of file fs/xfs/xfs_da_btree.c.  Caller 0xbf226cac
[43127108.570000] [<c00291e0>] (dump_stack+0x0/0x14) from [<bf232704>] (xfs_error_report+0x4c/0x5c [xfs])
[43127108.580000] [<bf2326b8>] (xfs_error_report+0x0/0x5c [xfs]) from [<bf232770>] (xfs_corruption_error+0x5c/0x68 [xfs])
[43127108.600000]  r4:dfc74400
[43127108.600000] [<bf232714>] (xfs_corruption_error+0x0/0x68 [xfs]) from [<bf226b00>] (xfs_da_do_buf+0x568/0x688 [xfs])
[43127108.610000]  r6:bf226cac r5:00000000 r4:c806c438
[43127108.610000] [<bf226598>] (xfs_da_do_buf+0x0/0x688 [xfs]) from [<bf226cac>] (xfs_da_read_buf+0x34/0x3c [xfs])
[43127108.630000] [<bf226c78>] (xfs_da_read_buf+0x0/0x3c [xfs]) from [<bf22ccdc>] (xfs_dir2_leaf_getdents+0x484/0x8bc [xfs])
[43127108.640000] [<bf22c858>] (xfs_dir2_leaf_getdents+0x0/0x8bc [xfs]) from [<bf229200>] (xfs_readdir+0xcc/0xe0 [xfs])
[43127108.650000] [<bf229134>] (xfs_readdir+0x0/0xe0 [xfs]) from [<bf25ff7c>] (xfs_file_readdir+0x144/0x194 [xfs])
[43127108.660000] [<bf25fe38>] (xfs_file_readdir+0x0/0x194 [xfs]) from [<c009ee48>] (vfs_readdir+0x84/0xb8)
[43127108.670000] [<c009edc4>] (vfs_readdir+0x0/0xb8) from [<c009eee8>] (sys_getdents64+0x6c/0xc0)
[43127108.680000] [<c009ee7c>] (sys_getdents64+0x0/0xc0) from [<c0024a60>] (ret_fast_syscall+0x0/0x3c)
[43127108.690000]  r7:000000d9 r6:0003cb2c r5:0003cb40 r4:00000000
[43127140.840000] 00000000: 58 46 53 42 00 00 10 00 00 00 00 00 00 07 72 10  XFSB..........r.
[43127140.860000] Filesystem "md1": XFS internal error xfs_da_do_buf(2) at line 2085 of file fs/xfs/xfs_da_btree.c.  Caller 0xbf226cac
[43127140.870000] [<c00291e0>] (dump_stack+0x0/0x14) from [<bf232704>] (xfs_error_report+0x4c/0x5c [xfs])
[43127140.880000] [<bf2326b8>] (xfs_error_report+0x0/0x5c [xfs]) from [<bf232770>] (xfs_corruption_error+0x5c/0x68 [xfs])
[43127140.880000]  r4:dfc74400
[43127140.880000] [<bf232714>] (xfs_corruption_error+0x0/0x68 [xfs]) from [<bf226b00>] (xfs_da_do_buf+0x568/0x688 [xfs])
[43127140.890000]  r6:bf226cac r5:00000000 r4:c809d438
[43127140.910000] [<bf226598>] (xfs_da_do_buf+0x0/0x688 [xfs]) from [<bf226cac>] (xfs_da_read_buf+0x34/0x3c [xfs])
[43127140.920000] [<bf226c78>] (xfs_da_read_buf+0x0/0x3c [xfs]) from [<bf22ccdc>] (xfs_dir2_leaf_getdents+0x484/0x8bc [xfs])
[43127140.930000] [<bf22c858>] (xfs_dir2_leaf_getdents+0x0/0x8bc [xfs]) from [<bf229200>] (xfs_readdir+0xcc/0xe0 [xfs])
[43127140.930000] [<bf229134>] (xfs_readdir+0x0/0xe0 [xfs]) from [<bf25ff7c>] (xfs_file_readdir+0x144/0x194 [xfs])
[43127140.950000] [<bf25fe38>] (xfs_file_readdir+0x0/0x194 [xfs]) from [<c009ee48>] (vfs_readdir+0x84/0xb8)
[43127140.960000] [<c009edc4>] (vfs_readdir+0x0/0xb8) from [<c009eee8>] (sys_getdents64+0x6c/0xc0)
[43127140.960000] [<c009ee7c>] (sys_getdents64+0x0/0xc0) from [<c0024a60>] (ret_fast_syscall+0x0/0x3c)
[43127140.980000]  r7:000000d9 r6:0003cb2c r5:0003cb40 r4:00000000


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: