Return-Path: Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (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 ; Wed, 30 Sep 2015 14:16:30 +0200 (CEST) Received: by wiclk2 with SMTP id lk2so195093422wic.0 for ; Wed, 30 Sep 2015 05:16:29 -0700 (PDT) Received: from manjaro.chello.hu (catv-178-48-82-218.catv.broadband.hu. [178.48.82.218]) by smtp.gmail.com with ESMTPSA id gh9sm335346wjb.27.2015.09.30.05.16.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2015 05:16:28 -0700 (PDT) Date: Wed, 30 Sep 2015 14:16:26 +0200 From: Mike Nagie Message-ID: <20150930121626.GA25001@manjaro.chello.hu> References: <20150925222410.GD14230@yeono.kjorling.se> <20150926071456.GA25267@manjaro.chello.hu> <20150926153823.GE14230@yeono.kjorling.se> <20150927110859.GA31821@manjaro.chello.hu> <20150927140814.GC13009@tansi.org> <20150927141533.GP14230@yeono.kjorling.se> <20150927161208.GA26184@manjaro.chello.hu> <20150927185554.GA15831@fritha.org> <20150927215010.GA2506@manjaro.chello.hu> <20150928201127.GA1669@fritha.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150928201127.GA1669@fritha.org> Subject: Re: [dm-crypt] Basics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Why is this happening? I'm trying to create encrypted luks partition with a keyfile. cryptsetup luksFormat /dev/sda2 /dev/sdb1 WARNING! This will overwrite data on /dev/sda2 irrevocably. Are you sure? (Type uppercase yes): YES Maximum keyfile size exceeded. cryptsetup luksFormat /dev/sda2 /dev/sdb1 10.54s user 4.55s system 83% cpu 18.1 (and sometimes: command failed with code 22 invalid argument) cryptsetup open --type luks /dev/sda2 home -d /dev/sdb1 Maximum keyfile size exceeded. cryptsetup open --type luks /dev/sda2 home -d /dev/sdb1 10.43s user 4.64s system 99% cpu 15.103 total -- You are so lucky!