From: Theodore Ts'o <tytso@mit.edu>
To: linux-scsi@vger.kernel.org, usb-storage@lists.one-eyed-alien.net
Subject: UAS driver seems to be reporting a 4k sector size for a 512 byte sector device?
Date: Mon, 26 Sep 2016 12:19:26 -0400 [thread overview]
Message-ID: <20160926161926.cmayrily476v3wa7@thunk.org> (raw)
Hi, I have a Samsung 850 Pro SSD which is currently in a USB 3.0 / UAS
external enclosure. The Samsung SSD uses a 512 byte physical and logical
sector size, and when it is accessed via the usb-storage device, this
is what I get.
In a vain hope that I could get discard working, I built a kernel that
included the uas driver, and discovered that when I accessed the drive
using the uas driver, it showed up as a 4k physical sector device, and
this caused device-mapper to complain that the dm-crypt partition was
misaligned.
Is this a problem with the hardware, or with the UAS driver?
- Ted
next reply other threads:[~2016-09-26 16:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-26 16:19 Theodore Ts'o [this message]
2016-09-26 16:25 ` UAS driver seems to be reporting a 4k sector size for a 512 byte sector device? Christoph Hellwig
2016-09-26 21:52 ` Theodore Ts'o
2016-09-27 1:24 ` Martin K. Petersen
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=20160926161926.cmayrily476v3wa7@thunk.org \
--to=tytso@mit.edu \
--cc=linux-scsi@vger.kernel.org \
--cc=usb-storage@lists.one-eyed-alien.net \
/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;
as well as URLs for NNTP newsgroup(s).