Date: Mon, 24 Apr 2000 18:04:52 -0700 (PDT) From: wing@mis.mgt.ncu.edu.tw To: freebsd-gnats-submit@FreeBSD.org Subject: i386/18202: possible ida problem causes file lost integrity Message-ID: <200004250104.SAA19687@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 18202 >Category: i386 >Synopsis: possible ida problem causes file lost integrity >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 24 18:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Tony Lynn >Release: 4.0-Stable >Organization: TW-CERT >Environment: > uname -a FreeBSD proxy 4.0-STABLE FreeBSD 4.0-STABLE #6: Wed Apr 19 18:02:00 CST 2000 > dmesg | grep ida ida0: <Compaq Smart Array 3100ES controller> port 0xc000-0xc0ff mem 0xc6fe0000-0xc6fe0fff,0xc6ff0000-0xc6ff00ff irq 10 at device 0.0 on pci9 ida0: drives=2 firm_rev=4.32 idad0: <Compaq Logical Drive> on ida0 idad0: 52095MB (106692000 sectors), blocksize=512 idad1: <Compaq Logical Drive> on ida0 idad1: 52095MB (106692000 sectors), blocksize=512 > df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 496111 27086 429337 6% / /dev/da0s1f 7114220 1362559 5182524 21% /usr /dev/da0s1g 22367962 1186782 19391744 6% /usr/local/squid/cache /dev/da0s1e 3048942 204620 2600407 7% /var procfs 4 4 0 100% /proc /dev/idad0s1e 52824964 4881228 43717740 10% /home /dev/idad1s1e 52824964 1802000 46796968 4% /home2 > mount /dev/da0s1a on / (ufs, local, soft-updates, writes: sync 6 async 440, reads: sync 491 async 19) /dev/da0s1f on /usr (ufs, local, soft-updates, writes: sync 2 async 465, reads: sync 719 async 1015) /dev/da0s1g on /usr/local/squid/cache (ufs, local, soft-updates, writes: sync 2 async 2817, reads: sync 2343 async 17) /dev/da0s1e on /var (ufs, local, soft-updates, writes: sync 177 async 1874, reads: sync 210 async 65) procfs on /proc (procfs, local) /dev/idad0s1e on /home (ufs, local, writes: sync 3887 async 49595, reads: sync 3600 async 50) /dev/idad1s1e on /home2 (ufs, local, writes: sync 477 async 90291, reads: sync 3775 async 49) >Description: Compaq Smart Array driver (ida) could lost data under heavy I/O request. Hardware description: 1. Compaq Smart Array 3100-ES. 2. 6* 18G disks, tested many config such as RAID 0, RAID 1 and RAID 5. 3. Drived as UnixWare. 4. Cache method setup as 25% write, 75% read. 5. RAID Accecelator ON/OFF won't effect the result.(tested each config) Software description: 1. FreeBSD 4.0-STABLE on 2000-0419. 2. SOFTUPDATE enabled on da0, but not on idad* 3. newfs with -b 32768 -f 4096. (default parameter tested, also.) >How-To-Repeat: 1. make heavy load on idad* file system. (e.g. utilize dd to creat huge files. In my case,I ran 3-4 dd program to creat files). 2. creat data via ftp or other method, and record file md5. (In this case, I opened 3 FTP sessions, total traffic is about 2M/sec). 3. I use iostat to monitor ida throughput, its about 4M-6M/sec. 4. after 30 min of heavy load, stop all program and do md5 checksum again. Note that file size is *NOT* changed. >Fix: >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?200004250104.SAA19687>