From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Sun, 15 Feb 2015 23:43:23 +0100 (CET) Received: by labgd6 with SMTP id gd6so25294515lab.7 for ; Sun, 15 Feb 2015 14:43:22 -0800 (PST) MIME-Version: 1.0 Date: Sun, 15 Feb 2015 17:43:22 -0500 Message-ID: From: Jay Sullivan Content-Type: multipart/alternative; boundary=001a1134b7046769dd050f2832cc Subject: [dm-crypt] btrfs and "requested offset is beyond real size of device" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --001a1134b7046769dd050f2832cc Content-Type: text/plain; charset=UTF-8 Hi, I don't know if this belongs on the btrfs, GRUB, or LUKS mailing list, but it is a cryptsetup error, so I figure maybe someone here can help me understand what this error means. *What I'm doing* I'm trying to set up a system with a btrfs /boot partition, and a few encrypted btrfs-over-LUKS partitions. Nothing special, except that I'm using btrfs for all of my partitions. *The Problem* I did get the setup "working", I'm able to successfully boot into it. Here's the weird part: it only successfully boots about half of the time. The other half of the time, I see this error just after I successfully enter my password: requested offset is beyond real size of device When this happens, it continues to fail when it prompts me again for my password, until I reboot. It seems to fall into this issue about 50% of the boots. The culprit seems to be when the /boot partition is btrfs. If I use ext4 as /boot, everything works fine and dandy. This should be reproducible on any machine, I've tried several times on different machines to rule out hardware. I can give complete instructions to reproduce if someone wants it, but before I go through the effort, has anyone heard of this behavior before? Does anyone have any insight on why this may be happening, especially why it only happens sometimes. I'm using Ubuntu 14.10's LiveCD to install the operating system, where cryptsetup's version says 1.6.1, and btrfs's version is 3.14.1. Thanks, Jay Sullivan --001a1134b7046769dd050f2832cc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi,

I don't know if this belongs on the btrfs, GRUB, or LUKS= mailing list, but it is a cryptsetup error, so I figure maybe someone here= can help me understand what this error means.

*What I'm doing*

I'm trying to set up a system with a btrfs /boot partiti= on, and a few encrypted btrfs-over-LUKS partitions. Nothing special, except= that I'm using btrfs for all of my partitions.
=C2=A0=C2=A0=C2=A0
*The Problem*

I did get the setup "working", I'm able to su= ccessfully boot into it. Here's the weird part: it only successfully bo= ots about half of the time.

The other half of the time,=C2=A0 I see this error just afte= r I successfully enter my password:

=C2=A0=C2=A0=C2=A0 requested offset is beyond real size of d= evice

When this happens, it continues to fail when it prompts me a= gain for my password, until I reboot.=C2=A0 It seems to fall into this issu= e about 50% of the boots.

The culprit seems to be when the /boot partition is btrfs. I= f I use ext4 as /boot, everything works fine and dandy.

This should be reproducible on any machine, I've tried s= everal times on different machines to rule out hardware. I can give complet= e instructions to reproduce if someone wants it, but before I go through th= e effort, has anyone heard of this behavior before? Does anyone have any in= sight on why this may be happening, especially why it only happens sometime= s.

I'm using Ubuntu 14.10's LiveCD to install the opera= ting system, where cryptsetup's version says 1.6.1, and btrfs's ver= sion is 3.14.1.

Thanks,
Jay Sullivan

--001a1134b7046769dd050f2832cc--