[Top] [All Lists]

Re: Cant find sunit and swidth on luks encrypted raid6 device

To: "Eric Sandeen" <sandeen@xxxxxxxxxxx>, "Jochen K." <jochen.f.k@xxxxxxxxxxxxxx>
Subject: Re: Cant find sunit and swidth on luks encrypted raid6 device
From: "Barry Naujok" <bnaujok@xxxxxxx>
Date: Thu, 20 Sep 2007 12:36:52 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <46F17BBE.7060304@xxxxxxxxxxx>
Organization: SGI
References: <728b8e3b0709191129j27b7c319h2efd51ffc9cb64f3@xxxxxxxxxxxxxx> <46F17BBE.7060304@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Opera Mail/9.10 (Win32)
On Thu, 20 Sep 2007 05:42:54 +1000, Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:

Jochen K. wrote:

[output with encryption]

mkfs.xfs -f /dev/mapper/raid6

meta-data=/dev/mapper/raid6 isize=256 agcount=32, agsize=53412581
         =                       sectsz=512   attr=0
data = bsize=4096 blocks=1709202592, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096
log      =internal log           bsize=4096   blocks=32768, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0
b7f57ad0: Badness in key lookup (length)
bp=(bno 13673620728, len 131072 bytes) key=(bno 13673620728, len 4096 bytes)

What generates the last two lines in the above message, and do you know
what it indicates?

The following patch should fix this problem:

--- a/xfsprogs/mkfs/xfs_mkfs.c  2007-09-20 12:31:33.000000000 +1000
+++ b/xfsprogs/mkfs/xfs_mkfs.c  2007-09-20 12:28:46.698533734 +1000
@@ -2115,6 +2115,7 @@
                bzero(XFS_BUF_PTR(buf), WHACK_SIZE);
                libxfs_writebuf(buf, LIBXFS_EXIT_ON_FAILURE);
+               libxfs_purgebuf(buf);


<Prev in Thread] Current Thread [Next in Thread>