From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Tom Crane <TPClscsi@mklab.ph.rhul.ac.uk>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Accessing discs connected to H/W RAID controller over SG interface
Date: Mon, 26 Feb 2024 21:09:41 -0500 [thread overview]
Message-ID: <yq1msrm65im.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <8593326e-3a54-da70-237c-dae3802d8b1d@mklab.ph.rhul.ac.uk> (Tom Crane's message of "Mon, 12 Feb 2024 19:34:57 +0000 (GMT)")
Tom,
> The RAID controller from Areca is configured with 2-off RAID volumes
> and has 4-off 6TB discs attached to it. I would like to be able to
> access the 4 discs individually, e.g. to be able to dd them to
> /dev/null to check on their performances.
It really depends on the RAID controller whether it is possible to
directly access physical disks. Most controllers disallow accessing any
drives that are part of a logical RAID volume.
Those controllers that expose physical disks will typically only present
them as generic SCSI devices for purposes of health monitoring and drive
firmware updates. The controller firmware will often only allow a few
carefully curated SCSI commands to be passed through to the physical
drive.
The reason you can query the drives through smartctl is that the latter
has special code which knows how to address individual drives behind an
areca interface. But querying SMART data is not the same as being able
to send or receive arbitrary SCSI commands.
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2024-02-27 2:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-12 19:34 Accessing discs connected to H/W RAID controller over SG interface Tom Crane
2024-02-20 14:19 ` Tom Crane
2024-02-27 2:09 ` Martin K. Petersen [this message]
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=yq1msrm65im.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=TPClscsi@mklab.ph.rhul.ac.uk \
--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 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.