SW raid a XFS error
sniper_2 na centrum.cz
sniper_2 na centrum.cz
Čtvrtek Únor 23 23:12:47 CET 2006
Zdravim,
vytvoril jsem si sw raid z dvou disku. se systemem xfs.
Kernel disky spoji, system nabehne. Pri vetsi diskove zatezi
(napriklad pokud na pozadi bezi resync a ja prenasim nejaka data)
se mi ale stane ze dany disk zmizi a odpoji se. Coz kdyz je
systemovy disk vede jedine k restartu. Pokud byly disky zvlast,
vse bezelo v poradku i pri vysoke zatezi. HW problem to nebude.
Jedna se o server, takze bych rad zustal u XFS.
emerge xfs-progs nepomaha, Napada nekoho nejake reseni??
v /var/log/messages je nasledujici vypis:
Aug 18 00:44:25 localhost XFS internal error XFS_WANT_CORRUPTED_RETURN at line 310 of file fs/xfs/xfs_alloc.c. Caller 0xc020f1c9
Aug 18 00:44:25 localhost [<c020ec3b>] xfs_alloc_fixup_trees+0x25c/0x270
Aug 18 00:44:25 localhost [<c020f1c9>] xfs_alloc_ag_vextent_near+0x2df/0x922
Aug 18 00:44:25 localhost [<c020f1c9>] xfs_alloc_ag_vextent_near+0x2df/0x922
Aug 18 00:44:25 localhost [<c0210767>] xfs_alloc_log_agf+0x34/0x38
Aug 18 00:44:25 localhost [<c020eceb>] xfs_alloc_ag_vextent+0x30/0xd3
Aug 18 00:44:25 localhost [<c0210c29>] xfs_alloc_vextent+0x266/0x371
Aug 18 00:44:25 localhost [<c021d25a>] xfs_bmap_alloc+0xd67/0xfa6
Aug 18 00:44:25 localhost [<c021e9c6>] xfs_bmap_do_search_extents+0x2fa/0x320
Aug 18 00:44:25 localhost [<c022013b>] xfs_bmapi+0x86f/0x10dd
Aug 18 00:44:25 localhost [<c021e9c6>] xfs_bmap_do_search_extents+0x2fa/0x320
Aug 18 00:44:25 localhost [<c021fc07>] xfs_bmapi+0x33b/0x10dd
Aug 18 00:44:25 localhost [<c0246621>] xlog_grant_push_ail+0x39/0x114
Aug 18 00:44:25 localhost [<c0245a04>] xfs_log_reserve+0x83/0x8b
Aug 18 00:44:25 localhost [<c021f45e>] xfs_bmap_last_offset+0xc3/0xd6
Aug 18 00:44:25 localhost [<c0243848>] xfs_iomap_write_allocate+0x26f/0x41a
Aug 18 00:44:25 localhost [<c02e427b>] generic_make_request+0x171/0x183
Aug 18 00:44:25 localhost [<c02429b0>] xfs_iomap+0x349/0x3ee
Aug 18 00:44:25 localhost [<c0262b2f>] xfs_bmap+0x27/0x2b
Aug 18 00:44:25 localhost [<c025bb9c>] xfs_map_blocks+0x31/0x65
Aug 18 00:44:25 localhost [<c025c759>] xfs_page_state_convert+0x2fd/0x55b
Aug 18 00:44:25 localhost [<c0328916>] scsi_request_fn+0x2d2/0x2dd
Aug 18 00:44:25 localhost [<c026ff08>] radix_tree_gang_lookup_tag+0x42/0x5c
Aug 18 00:44:25 localhost [<c012fd29>] find_get_pages_tag+0x2e/0x6f
Aug 18 00:44:25 localhost [<c025cec9>] linvfs_writepage+0x98/0xce
Aug 18 00:44:25 localhost [<c0168046>] mpage_writepages+0x1a2/0x2ff
Aug 18 00:44:25 localhost [<c025ce31>] linvfs_writepage+0x0/0xce
Aug 18 00:44:25 localhost [<c026310f>] linvfs_write_inode+0x2f/0x55
Aug 18 00:44:25 localhost [<c0134d8f>] do_writepages+0x2b/0x2f
Aug 18 00:44:25 localhost [<c0166adb>] __sync_single_inode+0x77/0x1cf
Aug 18 00:44:25 localhost [<c0166d36>] __writeback_single_inode+0x103/0x10d
Aug 18 00:44:25 localhost [<c0252423>] xfs_trans_first_ail+0xe/0x1a
Aug 18 00:44:25 localhost [<c0245fa1>] xfs_log_need_covered+0x50/0x92
Aug 18 00:44:25 localhost [<c0254fc6>] xfs_syncsub+0x165/0x22e
Aug 18 00:44:25 localhost [<c0166ece>] sync_sb_inodes+0x18e/0x24d
Aug 18 00:44:25 localhost [<c01353d2>] pdflush+0x0/0x21
Aug 18 00:44:25 localhost [<c0167003>] writeback_inodes+0x76/0xe1
Aug 18 00:44:25 localhost [<c0134bf5>] wb_kupdate+0x96/0xf9
Aug 18 00:44:25 localhost [<c0135336>] __pdflush+0xe2/0x17e
Aug 18 00:44:25 localhost [<c01353ef>] pdflush+0x1d/0x21
Aug 18 00:44:25 localhost [<c0134b5f>] wb_kupdate+0x0/0xf9
Aug 18 00:44:25 localhost [<c012499e>] kthread+0x6d/0x97
Aug 18 00:44:25 localhost [<c0124931>] kthread+0x0/0x97
Aug 18 00:44:25 localhost [<c01012d1>] kernel_thread_helper+0x5/0xb
Aug 18 00:44:25 localhost XFS internal error XFS_WANT_CORRUPTED_RETURN at line 310 of file fs/xfs/xfs_alloc.c. Caller 0xc020f1c9
Aug 18 00:44:25 localhost [<c020ec3b>] xfs_alloc_fixup_trees+0x25c/0x270
Aug 18 00:44:25 localhost [<c020f1c9>] xfs_alloc_ag_vextent_near+0x2df/0x922
Aug 18 00:44:25 localhost [<c020f1c9>] xfs_alloc_ag_vextent_near+0x2df/0x922
Aug 18 00:44:25 localhost [<c0210767>] xfs_alloc_log_agf+0x34/0x38
Aug 18 00:44:25 localhost [<c020eceb>] xfs_alloc_ag_vextent+0x30/0xd3
Aug 18 00:44:25 localhost [<c0210c29>] xfs_alloc_vextent+0x266/0x371
Aug 18 00:44:25 localhost [<c021d25a>] xfs_bmap_alloc+0xd67/0xfa6
Aug 18 00:44:25 localhost [<c021e9c6>] xfs_bmap_do_search_extents+0x2fa/0x320
Aug 18 00:44:25 localhost [<c022013b>] xfs_bmapi+0x86f/0x10dd
Aug 18 00:44:25 localhost [<c021e9c6>] xfs_bmap_do_search_extents+0x2fa/0x320
Aug 18 00:44:25 localhost [<c021fc07>] xfs_bmapi+0x33b/0x10dd
Aug 18 00:44:25 localhost [<c0246621>] xlog_grant_push_ail+0x39/0x114
Aug 18 00:44:25 localhost [<c0245a04>] xfs_log_reserve+0x83/0x8b
Aug 18 00:44:25 localhost [<c021f45e>] xfs_bmap_last_offset+0xc3/0xd6
Aug 18 00:44:25 localhost [<c0243848>] xfs_iomap_write_allocate+0x26f/0x41a
Aug 18 00:44:25 localhost [<c02e427b>] generic_make_request+0x171/0x183
===================================================
emerge -vp xfsprogs
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-fs/xfsprogs-2.7.11 +nls 0 kB
localhost ~ # fdisk -l /dev/sda
Disk /dev/sda: 203.9 GB, 203927027200 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylindry of 16065 * 512 = 8225280 bytes
Zařízení Boot Start End Blocks Id System
/dev/sda1 * 1 17629 141604911 fd Linux raid autodetect
/dev/sda2 * 17630 23708 48829567+ fd Linux raid autodetect
/dev/sda3 23709 24792 8707230 82 Linux swap / Solaris
localhost ~ # fdisk -l /dev/sdb
Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylindry of 16065 * 512 = 8225280 bytes
Zařízení Boot Start End Blocks Id System
/dev/sdb1 * 1 17629 141604911 fd Linux raid autodetect
/dev/sdb2 17630 23708 48829567+ fd Linux raid autodetect
/dev/sdb3 23709 24792 8707230 82 Linux swap / Solaris
localhost ~ # cat /etc/fstab
/dev/md0 / xfs defaults 0 0
/dev/sda3 none swap sw,pri=0 0 0
/dev/sdb3 none swap sw,pri=0 0 0
/dev/md1 /tmp xfs defaults 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
localhost ~ # mdadm --detail --scan
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=5d32c8a6:33ba20a3:cf24cfc7:6684567d
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=252c319b:852db24b:188f0e86:17622467
localhost ~ # emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.3.5-20050130, glibc-2.3.5-r2, 2.6.14-gentoo-r7 i686)
=================================================================
System uname: 2.6.14-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
Další informace o konferenci Linux