Kernel oops when using XFS

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

 



Hey all,

 

I’m using XFS on a Ubuntu 14.04.1 x84_64 machine and getting kernel oops messages from the XFS module almost daily.

My machine is a 6-core Core-i7 with 24GB RAM, an mdadm software raid5 over 4 disks with an XFS fs on it.

Here is a typical error message:

 

[Wed Jul  1 07:14:30 2015] XFS (md1p3): Access to block zero in inode 70952984 start_block: 0 start_off: 0 blkcnt: 5 extent-state: 0 lastx: 8

[Wed Jul  1 07:14:30 2015] XFS (md1p3): xfs_dabuf_map: bno 8388608 dir: inode 70952984

[Wed Jul  1 07:14:30 2015] XFS (md1p3): [00] br_startoff 8388608 br_startblock -2 br_blockcount 1 br_state 0

[Wed Jul  1 07:14:30 2015] XFS (md1p3): Internal error xfs_da_do_buf(1) at line 2521 of file /build/buildd/linux-lts-utopic-3.16.0/fs/xfs/xfs_da_btree.c.  Caller xfs_da_read_buf+0x50/0xf0 [xfs]

[Wed Jul  1 07:14:30 2015] CPU: 11 PID: 12649 Comm: updatedb.mlocat Tainted: P    B      OE 3.16.0-36-generic #48~14.04.1-Ubuntu

[Wed Jul  1 07:14:30 2015] Hardware name: MSI MS-7666/Big Bang-XPower (MS-7666), BIOS V1.6 03/29/2011

[Wed Jul  1 07:14:30 2015]  ffff88018fa1fa40 ffff88018fa1f9e0 ffffffff81764a5f ffff8806199f0000

[Wed Jul  1 07:14:30 2015]  ffff88018fa1f9f8 ffffffffc076e1eb ffffffffc07a27e0 ffff88018fa1fa88

[Wed Jul  1 07:14:30 2015]  ffffffffc07a186f ffff880100000000 ffff880598a36c00 ffff88018fa1fac0

[Wed Jul  1 07:14:30 2015] Call Trace:

[Wed Jul  1 07:14:30 2015]  [<ffffffff81764a5f>] dump_stack+0x45/0x56

[Wed Jul  1 07:14:30 2015]  [<ffffffffc076e1eb>] xfs_error_report+0x3b/0x40 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a27e0>] ? xfs_da_read_buf+0x50/0xf0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a186f>] xfs_dabuf_map.constprop.16+0x16f/0x370 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a27e0>] xfs_da_read_buf+0x50/0xf0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffff81282ebb>] ? __ext4_handle_dirty_metadata+0x8b/0x200

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a28a3>] xfs_da3_node_read+0x23/0xd0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc0783d87>] ? kmem_zone_alloc+0x77/0x100 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a3a16>] xfs_da3_node_lookup_int+0x66/0x2e0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc0783d87>] ? kmem_zone_alloc+0x77/0x100 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07add0e>] xfs_dir2_node_lookup+0x3e/0x150 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a5b55>] xfs_dir_lookup+0x175/0x190 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07b52ee>] xfs_lookup+0x9e/0x100 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc077941b>] xfs_vn_lookup+0x5b/0xa0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffff811dd7dd>] lookup_real+0x1d/0x50

[Wed Jul  1 07:14:30 2015]  [<ffffffff811de113>] __lookup_hash+0x33/0x40

[Wed Jul  1 07:14:30 2015]  [<ffffffff8176153d>] lookup_slow+0x42/0xa7

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e2505>] path_lookupat+0x725/0x790

[Wed Jul  1 07:14:30 2015]  [<ffffffff811b75e5>] ? kmem_cache_alloc+0x35/0x1e0

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e3bdf>] ? getname_flags+0x4f/0x1a0

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e259b>] filename_lookup+0x2b/0xc0

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e4a74>] user_path_at_empty+0x54/0x90

[Wed Jul  1 07:14:30 2015]  [<ffffffff810ff0c2>] ? from_kgid_munged+0x12/0x20

[Wed Jul  1 07:14:30 2015]  [<ffffffff811d944d>] ? cp_new_stat+0x13d/0x160

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e4ac1>] user_path_at+0x11/0x20

[Wed Jul  1 07:14:30 2015]  [<ffffffff811d8ff0>] vfs_fstatat+0x50/0xa0

[Wed Jul  1 07:14:30 2015]  [<ffffffff811d94d2>] SYSC_newlstat+0x22/0x40

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e9445>] ? SyS_poll+0x65/0x100

[Wed Jul  1 07:14:30 2015]  [<ffffffff811d96ee>] SyS_newlstat+0xe/0x10

[Wed Jul  1 07:14:30 2015]  [<ffffffff8176d18d>] system_call_fastpath+0x1a/0x1f

[Wed Jul  1 07:14:30 2015] XFS (md1p3): xfs_dabuf_map: bno 8388608 dir: inode 58804025388

[Wed Jul  1 07:14:30 2015] XFS (md1p3): [00] br_startoff 8388608 br_startblock -2 br_blockcount 1 br_state 0

[Wed Jul  1 07:14:30 2015] XFS (md1p3): Internal error xfs_da_do_buf(1) at line 2521 of file /build/buildd/linux-lts-utopic-3.16.0/fs/xfs/xfs_da_btree.c.  Caller xfs_da_read_buf+0x50/0xf0 [xfs]

[Wed Jul  1 07:14:30 2015] CPU: 11 PID: 12649 Comm: updatedb.mlocat Tainted: P    B      OE 3.16.0-36-generic #48~14.04.1-Ubuntu

[Wed Jul  1 07:14:30 2015] Hardware name: MSI MS-7666/Big Bang-XPower (MS-7666), BIOS V1.6 03/29/2011

[Wed Jul  1 07:14:30 2015]  ffff88018fa1fa40 ffff88018fa1f9e0 ffffffff81764a5f ffff8806199f0000

[Wed Jul  1 07:14:30 2015]  ffff88018fa1f9f8 ffffffffc076e1eb ffffffffc07a27e0 ffff88018fa1fa88

[Wed Jul  1 07:14:30 2015]  ffffffffc07a186f ffff880100000000 ffff880598a05800 ffff88018fa1fac0

[Wed Jul  1 07:14:30 2015] Call Trace:

[Wed Jul  1 07:14:30 2015]  [<ffffffff81764a5f>] dump_stack+0x45/0x56

[Wed Jul  1 07:14:30 2015]  [<ffffffffc076e1eb>] xfs_error_report+0x3b/0x40 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a27e0>] ? xfs_da_read_buf+0x50/0xf0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a186f>] xfs_dabuf_map.constprop.16+0x16f/0x370 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a27e0>] xfs_da_read_buf+0x50/0xf0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffff81282ebb>] ? __ext4_handle_dirty_metadata+0x8b/0x200

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a28a3>] xfs_da3_node_read+0x23/0xd0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc0783d87>] ? kmem_zone_alloc+0x77/0x100 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a3a16>] xfs_da3_node_lookup_int+0x66/0x2e0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc0783d87>] ? kmem_zone_alloc+0x77/0x100 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07add0e>] xfs_dir2_node_lookup+0x3e/0x150 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07a5b55>] xfs_dir_lookup+0x175/0x190 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc07b52ee>] xfs_lookup+0x9e/0x100 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffffc077941b>] xfs_vn_lookup+0x5b/0xa0 [xfs]

[Wed Jul  1 07:14:30 2015]  [<ffffffff811dd7dd>] lookup_real+0x1d/0x50

[Wed Jul  1 07:14:30 2015]  [<ffffffff811de113>] __lookup_hash+0x33/0x40

[Wed Jul  1 07:14:30 2015]  [<ffffffff8176153d>] lookup_slow+0x42/0xa7

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e2505>] path_lookupat+0x725/0x790

[Wed Jul  1 07:14:30 2015]  [<ffffffff811b75e5>] ? kmem_cache_alloc+0x35/0x1e0

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e3bdf>] ? getname_flags+0x4f/0x1a0

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e259b>] filename_lookup+0x2b/0xc0

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e4a74>] user_path_at_empty+0x54/0x90

[Wed Jul  1 07:14:30 2015]  [<ffffffff810ff0c2>] ? from_kgid_munged+0x12/0x20

[Wed Jul  1 07:14:30 2015]  [<ffffffff811d944d>] ? cp_new_stat+0x13d/0x160

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e4ac1>] user_path_at+0x11/0x20

[Wed Jul  1 07:14:30 2015]  [<ffffffff811d8ff0>] vfs_fstatat+0x50/0xa0

[Wed Jul  1 07:14:30 2015]  [<ffffffff811d94d2>] SYSC_newlstat+0x22/0x40

[Wed Jul  1 07:14:30 2015]  [<ffffffff811e9445>] ? SyS_poll+0x65/0x100

[Wed Jul  1 07:14:30 2015]  [<ffffffff811d96ee>] SyS_newlstat+0xe/0x10

[Wed Jul  1 07:14:30 2015]  [<ffffffff8176d18d>] system_call_fastpath+0x1a/0x1f

 

I have gathered some information that I hope can help figure out what the problem is. FYI, this sort of problem also happened when I had an Ubuntu 12.04 installed with the same raid configuration:

 

 

processor            : 0

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 0

cpu cores             : 6

apicid                    : 0

initial apicid         : 0

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 1

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 1

cpu cores             : 6

apicid                    : 2

initial apicid         : 2

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 2

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 2

cpu cores             : 6

apicid                    : 4

initial apicid         : 4

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 3

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 8

cpu cores             : 6

apicid                    : 16

initial apicid         : 16

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 4

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 9

cpu cores             : 6

apicid                    : 18

initial apicid         : 18

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 5

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 10

cpu cores             : 6

apicid                    : 20

initial apicid         : 20

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 6

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 0

cpu cores             : 6

apicid                    : 1

initial apicid         : 1

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 7

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 1

cpu cores             : 6

apicid                    : 3

initial apicid         : 3

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 8

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 2

cpu cores             : 6

apicid                    : 5

initial apicid         : 5

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 9

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 8

cpu cores             : 6

apicid                    : 17

initial apicid         : 17

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 10

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 9

cpu cores             : 6

apicid                    : 19

initial apicid         : 19

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

processor            : 11

vendor_id           : GenuineIntel

cpu family           : 6

model                   : 44

model name      : Intel(R) Core(TM) i7 CPU       X 990  @ 3.47GHz

stepping              : 2

microcode           : 0x13

cpu MHz                              : 1600.000

cache size            : 12288 KB

physical id           : 0

siblings : 12

core id                  : 10

cpu cores             : 6

apicid                    : 21

initial apicid         : 21

fpu                         : yes

fpu_exception  : yes

cpuid level          : 11

wp                          : yes

flags                       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid

bogomips            : 6925.26

clflush size          : 64

cache_alignment             : 64

address sizes     : 36 bits physical, 48 bits virtual

power management:

 

# cat /proc/meminfo

MemTotal:       24682092 kB

MemFree:         2047764 kB

MemAvailable:   20897172 kB

Buffers:         3521920 kB

Cached:          9868000 kB

SwapCached:        62592 kB

Active:          4884864 kB

Inactive:        9530376 kB

Active(anon):     623780 kB

Inactive(anon):   428400 kB

Active(file):    4261084 kB

Inactive(file):  9101976 kB

Unevictable:           0 kB

Mlocked:               0 kB

SwapTotal:      50331644 kB

SwapFree:       50133220 kB

Dirty:                16 kB

Writeback:             0 kB

AnonPages:        982716 kB

Mapped:           161504 kB

Shmem:             26864 kB

Slab:            6212536 kB

SReclaimable:    5739752 kB

SUnreclaim:       472784 kB

KernelStack:        8896 kB

PageTables:        28436 kB

NFS_Unstable:          0 kB

Bounce:                0 kB

WritebackTmp:          0 kB

CommitLimit:    62672688 kB

Committed_AS:    4013880 kB

VmallocTotal:   34359738367 kB

VmallocUsed:      410200 kB

VmallocChunk:   34359323644 kB

HardwareCorrupted:     0 kB

AnonHugePages:    153600 kB

HugePages_Total:       0

HugePages_Free:        0

HugePages_Rsvd:        0

HugePages_Surp:        0

Hugepagesize:       2048 kB

DirectMap4k:     4109824 kB

DirectMap2M:    21047296 kB

DirectMap1G:     2097152 kB

 

# modinfo xfs

filename:       /lib/modules/3.16.0-36-generic/kernel/fs/xfs/xfs.ko

license:        GPL

description:    SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled

author:         Silicon Graphics, Inc.

alias:          fs-xfs

srcversion:     8D6E5FD66A0C62F3CFCD47B

depends:        libcrc32c

intree:         Y

vermagic:       3.16.0-36-generic SMP mod_unload modversions

signer:         Magrathea: Glacier signing key

sig_key:        AC:F6:91:81:39:AD:3F:CA:CC:01:C2:6A:B2:49:09:D5:90:79:A5:78

sig_hashalgo:   sha512

 

# dpkg -l \*xfs\*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name                                                  Version                         Architecture                    Description

+++-=====================================================-===============================-===============================-===============================================================================================================

un  xfs                                                   <none>                          <none>                          (no description available)

un  xfsdump                                               <none>                          <none>                          (no description available)

ii  xfsprogs                                              3.1.9ubuntu2                    amd64                           Utilities for managing the XFS filesystem


# xfs_info /raid

meta-data="" isize=256    agcount=32, agsize=67869952 blks

         =                       sectsz=4096  attr=2

data     =                       bsize=4096   blocks=2171836160, imaxpct=5

         =                       sunit=128    swidth=384 blks

naming   =version 2              bsize=4096   ascii-ci=0

log      =internal               bsize=4096   blocks=521728, version=2

         =                       sectsz=4096  sunit=1 blks, lazy-count=1

realtime =none                   extsz=4096   blocks=0, rtextents=0

 

# mdadm --misc -D /dev/md0

/dev/md0:

        Version : 1.2

  Creation Time : Wed Oct  2 14:17:56 2013

     Raid Level : raid1

     Array Size : 97152 (94.89 MiB 99.48 MB)

  Used Dev Size : 97152 (94.89 MiB 99.48 MB)

   Raid Devices : 4

  Total Devices : 4

    Persistence : Superblock is persistent

 

    Update Time : Sun Jun 14 11:22:59 2015

          State : clean

 Active Devices : 4

Working Devices : 4

 Failed Devices : 0

  Spare Devices : 0

 

           Name : NILinDev:md0  (local to host NILinDev)

           UUID : 980eb763:71c5c345:2c18c482:7c7e6e89

         Events : 333

 

    Number   Major   Minor   RaidDevice State

       5       8        2        0      active sync   /dev/sda2

       1       8       18        1      active sync   /dev/sdb2

       4       8       34        2      active sync   /dev/sdc2

       3       8       50        3      active sync   /dev/sdd2

 

# mdadm --misc -D /dev/md1

/dev/md1:

        Version : 1.2

  Creation Time : Thu Feb 26 14:53:18 2015

     Raid Level : raid5

     Array Size : 8790107136 (8382.90 GiB 9001.07 GB)

  Used Dev Size : 2930035712 (2794.30 GiB 3000.36 GB)

   Raid Devices : 4

  Total Devices : 4

    Persistence : Superblock is persistent

 

  Intent Bitmap : Internal

 

    Update Time : Wed Jul  1 17:13:45 2015

          State : clean

 Active Devices : 4

Working Devices : 4

 Failed Devices : 0

  Spare Devices : 0

 

         Layout : left-symmetric

     Chunk Size : 512K

 

           Name : sysresccd:1

           UUID : 9bb44645:717e2e8d:0d501dda:66ecba2b

         Events : 38536

 

    Number   Major   Minor   RaidDevice State

       5       8        3        0      active sync   /dev/sda3

       1       8       19        1      active sync   /dev/sdb3

       2       8       35        2      active sync   /dev/sdc3

       4       8       51        3      active sync   /dev/sdd3

 

# parted -s /dev/md1 unit b print

Model: Linux Software RAID Array (md)

Disk /dev/md1: 9001069707264B

Sector size (logical/physical): 512B/4096B

Partition Table: gpt

 

Number  Start          End             Size            File system     Name  Flags

 1      1048576B       53688139775B    53687091200B    ext4            root

 2      53688139776B   105227747327B   51539607552B    linux-swap(v1)  swap

 3      105227747328B  9001068658687B  8895840911360B  xfs             data

 

from /proc/mounts:

/dev/md0 /boot ext4 rw,noatime,stripe=4,data="" 0 0

/dev/md1p3 /raid xfs rw,noatime,attr2,inode64,sunit=1024,swidth=3072,noquota 0 0


What could be the problem?

I have another mdadm raid5 array that used to have XFS and gave the same errors. I use it for backup and noticed that each backup from the main array to the second one used to take a long time and gave these errors. I switched from XFS to ext4 and not only did the errors go away (obvisouly...) but the backup time went down from almost 23 hours to 1 hour!


Thanks,

Tal

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux