-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable support for ReadOnly locking on Enterprise devices. #295
base: master
Are you sure you want to change the base?
Enable support for ReadOnly locking on Enterprise devices. #295
Conversation
Is there anyone who can confirm/test this patch? I'd love to include it in the fork I'm curating as it appears both reasonable and straightforward, but I don't have any TCG Enterprise drives with which to test and I'm loath to include changes I can't validate myself (or at least have validated for me.) |
Well, I can. But I am the one publishing the patch. ;) |
Please, note that there are a few other patches/pull-request from mine intended for fixing issues wrt SAS/Enterprise drives. |
Sorry I wasn't clear - I really meant "anyone ELSE". Not that I don't trust contributors, but that I was hoping for confirmation in the form of someone else chiming in with "yes this worked for me". Also, not sure what your last comment meant - are there specific other TCG Enterprise/Ruby patches that you also want to ensure get included if someone's going to start updating and testing things? |
I was assuming you were asking for someone else (that's why I emphasized the patch was mine ;)), but thought it may be of interest to point out to you that I am still around, just in case. Wrt other patches, see: #230. This is needed for proper support of (actual) SAS drives attached to SAS controllers (ie. those with drivers not relying on libata). And on a lesser note: #233. (which is a minor fix for some HGST non-conformant drives). Right now we are using our own build of sedutil-cli (with the aforementioned patches, along others also posted as pull-request) against a few different models:
Regards. |
This worked successfully on an EMC rebranded HGST drive. The stock centos version didn't identify these as SED drives.
|
Hello Pruiz !!!
I'd like to ask Pablo Ruiz, how I could get my hands around your mentioned version and give it a try in my environment? |
@kladann I do not have built binaries for ubuntu, but you can checkout my
branch/pull-request and built it from your self, to give it a try.
Regards
Pablo
…On Wed, Oct 21, 2020 at 3:38 PM kladann ***@***.***> wrote:
Hello Pruiz !!!
I'm struggling to get my SED disks recognized on my server. (ubuntu 18.04
- sedutil 1.15.1) The objective of my work is to repurpose SED drives which
were removed from an enterprise class machine and make them available
(installed) in another similar type machine. (ref: Sedutil SED Enterprise
support #337 <#337>
).
Reading thru the above I guess I've found the 1 mi dol answer I'm looking
for.
**Right now we are using our own build of sedutil-cli (with the
aforementioned patches, along others also posted as pull-request) against a
few different models. <<<<
I'd like to ask Pablo Ruiz, how I could get my hands around your mentioned
version and give it a try in my environment?
Thanks - Gracias.
bird
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#295 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABOV6MDNZVB3YXWH426LJ3SL3P63ANCNFSM4IMC4XGA>
.
|
I test two HGST disks. One is workable and the other is not workable. Pls. see the below: in which, HUSMM114CLAR400 (HUSMM1640ASS201 C250 FW) is workable to revert PSID. sysadmin@Test-PowerEdge-R320:~/bin$ sudo sedutil-cli --revertTPer 2LVY6NBA2LVY6NBA2LVY6NBA2LVY6NBA /dev/sdc I checked the disk label. The only difference is frist is PSID and second is MSID.
|
@pruiz Hi, Pruiz could you help to have a check for the HGST SED disk HUSMM8040ASS201? When I use MSID, it always prompts that Session Authenticate failed (response = false). Thanks very much. |
While trying to declara a read-only band on an enterprise-class SED device, we've found sedutil-cli does not (yet) implements support for differentiated readwrite vs read-only locks.
This patch addresses such limitation by implemented the aforementioned feature, so we can use 'sedutil-cli --setLockingRange X RO' on enterprise devices.
Regards
PD: Maybe early drafts of TCG/Enterprise did not support read-only locks, but we've been unable to find any references of such limitation, and existing code was already passing two independent token requests (one for rw, another for ro), albeit both based on the same lock value.