From: Douglas Gilbert <dougg@torque.net>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: roland <devzero@web.de>, linux-scsi@vger.kernel.org
Subject: Re: Disable SCSI-Reservation at the driver level ?
Date: Tue, 28 Nov 2006 14:23:46 -0500 [thread overview]
Message-ID: <456C8CC2.5000006@torque.net> (raw)
In-Reply-To: <1164563196.13612.3.camel@localhost.localdomain>
James Bottomley wrote:
> On Sun, 2006-11-26 at 17:31 +0100, roland wrote:
>> VMWare ESX refuses to create VMFS Filesystem on SATA disk, attached to a
>> onBoard SAS controller (lsi1068).
>> When i raid1 two SATA disks, it works, if i use a single SATA disk, the
>> controller seems to "expose" the disk differently to the operating system
>> and creation of a VMFS fails due to missing ability to issue SCSI
>> reservation command.
>
> There's no SCSI fix for this ... the SAT has no translation for the SCSI
> reservation commands, largely because there's no corresponding ATA
> equivalent and even for SCSI devices they may fail anyway. The
> application should cope with such a failure, so in this case it's the
> application that needs fixing.
SAT originally did have persistent reservations and it
was dropped and is back on the agenda for SAT-2. A SAT
layer (such as the one found in libata) can do more
that just translate command, it may also emulate SCSI
commands.
And PERSISTENT RESERVE IN and OUT (and maybe the older
RESERVE and RELEASE) would be very good candidates for
emulation. To do this however libata would need to be
a lot more transport aware than it is now. To do such
an emulation a SAT layer needs to know:
a) whether it has full control over the SATA device
(i.e. there is no other path to it) and failing
that, it has some other mechanism such as
affiliations in SAS with SMP available to control
them
b) the identity of the initiator (port) asking for
the reservation.
If libata could do this it would add a lot of value
over and above simple command translation.
Doug Gilbert
next prev parent reply other threads:[~2006-11-28 19:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-26 16:31 Disable SCSI-Reservation at the driver level ? roland
2006-11-26 17:46 ` James Bottomley
2006-11-26 19:22 ` roland
2006-11-28 19:23 ` Douglas Gilbert [this message]
2006-11-27 5:56 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2006-11-27 9:45 devzero
2006-11-27 17:18 ` Christoph Hellwig
2006-11-27 18:36 devzero
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=456C8CC2.5000006@torque.net \
--to=dougg@torque.net \
--cc=James.Bottomley@SteelEye.com \
--cc=devzero@web.de \
--cc=linux-scsi@vger.kernel.org \
/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