From: Eric Sandeen <sandeen@sandeen.net>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: "Jochen K." <jochen.f.k@googlemail.com>, xfs@oss.sgi.com
Subject: Re: Cant find sunit and swidth on luks encrypted raid6 device
Date: Wed, 19 Sep 2007 17:33:59 -0500 [thread overview]
Message-ID: <46F1A3D7.5090805@sandeen.net> (raw)
In-Reply-To: <46F17BBE.7060304@sandeen.net>
Eric Sandeen wrote:
> What does "blockdev --getsize64" and "blockdev --getsize" and/or
> /proc/partitions say about how big /dev/mapper/raid6 is?
>
> Can you use dd to write to the last 128k of the device, as reported by
> blockdev --getsize64?
Not a cryptsetup problem, FWIW:
[root@inode obj]# /tmp/truncate fsfile 7000893943808
Truncating fsfile to 7000893943808
[root@inode obj]# ls -l fsfile
-rw-r--r-- 1 root root 7000893943808 Sep 19 17:23 fsfile
[root@inode obj]# mkfs.xfs -f fsfile
meta-data=fsfile isize=256 agcount=32,
agsize=53412581 blks
= 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
2b2d4c133680: Badness in key lookup (length)
bp=(bno 13673620728, len 131072 bytes) key=(bno 13673620728, len 4096 bytes)
If we take out the pwrite that does the end-of-device zeroing, we don't
get the error... but that's been there since forever, so again, I'm a
bit confused here.
-Eric
next prev parent reply other threads:[~2007-09-19 22:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-19 18:29 Cant find sunit and swidth on luks encrypted raid6 device Jochen K.
2007-09-19 19:40 ` Bhagi rathi
2007-09-19 19:42 ` Eric Sandeen
2007-09-19 22:33 ` Eric Sandeen [this message]
2007-09-19 22:39 ` nscott
2007-09-19 22:47 ` Eric Sandeen
2007-09-19 22:50 ` Jochen K.
2007-09-19 22:56 ` Eric Sandeen
2007-09-20 0:54 ` Barry Naujok
2007-09-20 2:36 ` Barry Naujok
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46F1A3D7.5090805@sandeen.net \
--to=sandeen@sandeen.net \
--cc=jochen.f.k@googlemail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox