xfs
[Top] [All Lists]

XFS on Loop Device on Raid

To: linux-xfs@xxxxxxxxxxx
Subject: XFS on Loop Device on Raid
From: Thimo E <abc@xxxxxxxxxx>
Date: Mon, 02 Aug 2004 15:44:02 +0200
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hello,

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 recognize it and disables them, but here xfs only sees a LOOP device, so variable length transfers are enabled and the filesystem gets 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...

--- linux-2.4.22aa1r3/fs/xfs/linux/xfs_super.c.old Fri Dec 12 08:19:49 2003
+++ linux-2.4.22aa1r3/fs/xfs/linux/xfs_super.c  Fri Dec 12 08:20:58 2003
@@ -303,6 +303,7 @@

        switch (MAJOR(btp->pbr_dev)) {
        case MD_MAJOR:
+       case LOOP_MAJOR:
        case EVMS_MAJOR:
                btp->pbr_flags = PBR_ALIGNED_ONLY;
                break;

Is there another solution ? I have nothing found about this interoperability on sgi's website.

bye
Thimo

<Prev in Thread] Current Thread [Next in Thread>
  • XFS on Loop Device on Raid, Thimo E <=