From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z78ayGuGu94p for ; Mon, 28 Oct 2013 04:38:24 +0100 (CET) Received: from holgerdanske.com (unknown [IPv6:2001:470:0:19b::b869:801b]) by mail.saout.de (Postfix) with SMTP for ; Mon, 28 Oct 2013 04:38:24 +0100 (CET) Received: from ::ffff:184.23.143.12 ([184.23.143.12]) by holgerdanske.com for ; Sun, 27 Oct 2013 20:30:30 -0700 Message-ID: <526DDA55.6030402@holgerdanske.com> Date: Sun, 27 Oct 2013 20:30:29 -0700 From: David Christensen MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] cryptsetup creates 1.8 Gb when it should be 1Tb List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 10/27/13 19:05, metageek wrote: > Disk /dev/sdb: 1000.2 GB, 1000204885504 bytes ... > cryptsetup -v status pjhomecrypt > /dev/mapper/pjhomecrypt is active. > size: 3752880 sectors ... > mkfs.ext4 /dev/mapper/pjhomecrypt > Block size=4096 (log=2) > 117360 inodes, 469110 blocks ... > df -Th /mnt > Filesystem Type Size Used Avail Use% Mounted on > /dev/mapper/pjhomecrypt ext4 1.8G 2.7M 1.7G 1% /mnt > > So I only have 1.8Gb out of the 1Tb drive. What's the block count if you run: dd if=/dev/zero of=/dev/sdb bs=1GB It should be ~1000. David