http://oss.sgi.com/bugzilla/show_bug.cgi?id=388
Summary: XFS on loop volume on raid device => filesystem corrupt
Product: Linux XFS
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: Medium
Component: XFS kernel code
AssignedTo: xfs-master@xxxxxxxxxxx
ReportedBy: abc@xxxxxxxxxx
I am using XFS on an encrypted loop devices (loop-aes.sourceforge.net) and that
runs on a software RAID 5 system.
Raid 5 doesn't support variable length transfers, normally xfs recognizes it and
disables variable length transfers, but here xfs only sees a LOOP device, so
variable length transfers are enabled and the filesystem gets completely
corrupted in this case.
I found a solution on another list:
http://mail.nl.linux.org/linux-crypto/2003-12/msg00024.html
This disables variable length transfers on all loop devices. Up to know, don't
know another solution.
--- fs/xfs/linux-2.4/xfs_buf.c.orig Sun Aug 8 01:26:06 2004
+++ fs/xfs/linux-2.4/xfs_buf.c Mon Aug 16 23:51:20 2004
@@ -1492,6 +1492,7 @@
switch (MAJOR(btp->pbr_dev)) {
case MD_MAJOR:
+ case LOOP_MAJOR:
case EVMS_MAJOR:
btp->pbr_flags = PBR_ALIGNED_ONLY;
break;
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|