Date: Sun, 13 Oct 2002 05:57:12 -0700 (PDT) From: Pawel Malachowski <pawmal@unia.3lo.lublin.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/44006: Filesystem corruption with ata(4) software-raid on HPT370. Message-ID: <200210131257.g9DCvCN0057891@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 44006 >Category: kern >Synopsis: Filesystem corruption with ata(4) software-raid on HPT370. >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 06:00:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Pawel Malachowski >Release: 4.7-RELEASE >Organization: ZiN >Environment: >Description: I've created ata(4) software-raid with HPT370 ATA-RAID controller and two MAXTOR 6L040J2 (740X) 40GB hard drives. After that, problem appeared: PARTIALLY ALLOCATED INODE I=7595634 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? [yn] y PARTIALLY ALLOCATED INODE I=7595638 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? [yn] y ** Phase 2 - Check Pathnames UNALLOCATED I=7595634 OWNER=root MODE=0 SIZE=0 MTIME=Jan 1 01:00 1970 NAME=/chroot/cvsup/home/ncvs/ports/games/mangband/files UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? [yn] y ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts LINK COUNT DIR I=7595633 OWNER=9012 MODE=40775 SIZE=512 MTIME=Oct 13 13:49 2002 COUNT 3 SHOULD BE 2 ADJUST? [yn] y UNREF FILE I=7599504 OWNER=9012 MODE=100444 SIZE=2026 MTIME=Oct 2 06:50 2002 NO lost+found DIRECTORY CREATE? [yn] y UNREF FILE I=7599505 OWNER=9012 MODE=100444 SIZE=1770 MTIME=Oct 2 06:50 2002 RECONNECT? [yn] y UNREF FILE I=7599506 OWNER=9012 MODE=100444 SIZE=1024 MTIME=Oct 2 06:50 2002 RECONNECT? [yn] y UNREF FILE I=7599507 OWNER=9012 MODE=100444 SIZE=1952 MTIME=Jan 16 16:27 2001 RECONNECT? [yn] y ** Phase 5 - Check Cyl groups SUMMARY INFORMATION BAD SALVAGE? [yn] y BLK(S) MISSING IN BIT MAPS SALVAGE? [yn] y FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? [yn] y I've removed ata-raid (ar0), mounted filesystems from first HDD (ad4), fsck, stressed, and everyting was OK (no such poblems). Then, I've mounted filesystems from second HDD (ad6), fsck, stressed, and everyting was OK, too. So, my hardware isn't faulty. Then I've copied one drive to another (using dd or HPT BIOS), created ata-raid and after few hours my filesystems is in inconsistent state, again. CPU cooling is OK and memory is well tested and reportd to be good. This looks to be related with write operation on ar0, software ata-raid device. >How-To-Repeat: Create ata-raid on identical hard disks using dd+atacontrol or HPT BIOS. Run complete `make buildworld' 2-4x times. After hard working filesystem is corrupted and `make buildworld' fails. >Fix: Don't know. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210131257.g9DCvCN0057891>