All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yves-Alexis Perez <corsac@debian.org>
To: Sven Eschenberg <sven@whgl.uni-frankfurt.de>, dm-crypt@saout.de
Subject: Re: [dm-crypt] Alignment issue with 4K disk
Date: Tue, 05 Jan 2016 11:14:02 +0100	[thread overview]
Message-ID: <1451988842.3914.18.camel@debian.org> (raw)
In-Reply-To: <568AFA13.2010208@whgl.uni-frankfurt.de>

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

On mar., 2016-01-05 at 00:02 +0100, Sven Eschenberg wrote:
> Hi Alexis,

(Yves-Alexis actually)
> 
> I stumbled over this line:
> 
> I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
> 
> The latter resembles 65535 sectors (512 Byte logical ones), which 
> explains why the automated alignment was done at sector 65535. This 
> value seems extremely weird though.
> 
> You said the drive was external, connected how? USB maybe?

Yes. It's a Samsung T3 disk, so everything is integrated (disk+sata/usb3
adapter), not much chance I can do anything here.

I'll try to force the alignment to 2048s for part1 and see what happens.
> 
> Can you take a look at hdparm -I /dev/sdc? Anything unusual there?

I'll try tonight (I don't have it at hand).

Thanks for the pointers though.
-- 
Yves-Alexis


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2016-01-05 10:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-04 21:31 [dm-crypt] Alignment issue with 4K disk Yves-Alexis Perez
2016-01-04 21:54 ` Sven Eschenberg
2016-01-04 22:20   ` Yves-Alexis Perez
2016-01-04 22:41     ` Sven Eschenberg
2016-01-04 23:02     ` Sven Eschenberg
2016-01-05 10:14       ` Yves-Alexis Perez [this message]
2016-01-07 18:00         ` .. ink ..
2016-01-09 12:30           ` Milan Broz
2016-01-09 14:47             ` Sven Eschenberg
2016-01-10  0:25 Eugen Rogoza
2016-01-10  1:14 ` Sven Eschenberg
2016-01-10  4:30   ` Sven Eschenberg
2016-01-10 15:18 Eugen Rogoza
2016-01-10 15:37 Eugen Rogoza
2016-01-10 17:22 Eugen Rogoza
2016-01-10 19:13 ` Sven Eschenberg
2016-01-10 20:20   ` Eugen Rogoza
2016-01-10 21:00     ` Sven Eschenberg

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=1451988842.3914.18.camel@debian.org \
    --to=corsac@debian.org \
    --cc=dm-crypt@saout.de \
    --cc=sven@whgl.uni-frankfurt.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.