Subject: kern/22400: FFS with softdep RAIDFrame hangs system
To: None <gnats-bugs@gnats.netbsd.org>
From: None <term@cynisk.net>
List: netbsd-bugs
Date: 08/08/2003 03:46:58
>Number: 22400
>Category: kern
>Synopsis: FFS with softdep RAIDFrame hangs system
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 08 01:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.1_STABLE
>Organization:
>Environment:
System: NetBSD antrax.cynisk.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (ANTRAX.raid) #1: Thu Aug 7 21:22:03 CEST 2003 term@antrax.cynisk.net:/usr/src/sys/arch/i386/compile/ANTRAX.raid i386
Architecture: i386
Machine: i386
>Description:
When using softdep-enabled FFS on a large (I haven't reproduced it on arrays smaller than 10Gb) RAIDFrame volume, writes to the filesystem eventually hangs the system. Only Raid-5 on a three disk volume tested. If starting a copy and then watching the memory buffers (with top for example) the File: field grow rapidly and when it reaches the amount of total physical memory the system hangs. No response at all, debugging not possible.
>How-To-Repeat:
1, Create a RAIDFrame RAID-5 volume with a total disk space of more than 10Gb
2, Disklabel/newfs the created device
3, Mount it with -o softdep
4, Write an amount of files (>phys. memory) to the file system.
5, Watch the system hang.
>Fix:
Do not use soft updates.
>Release-Note:
>Audit-Trail:
>Unformatted: