All of lore.kernel.org
 help / color / mirror / Atom feed
* Accessing discs connected to H/W RAID controller over SG interface
@ 2024-02-12 19:34 Tom Crane
  2024-02-20 14:19 ` Tom Crane
  2024-02-27  2:09 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Crane @ 2024-02-12 19:34 UTC (permalink / raw)
  To: linux-scsi; +Cc: Tom Crane

We have a system whose RAID array has performance problems.  We see I/O 
maxing out at throughputs far below the spec of the controller and even 
well below that of individual discs attached to it.

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.  I know we could JBOD the discs and do S/W RAID but 
this is a production system and in any case the point of having a H/W RAID 
controller is to avoid this!

This shows the configuration,

# lsscsi -gs
[0:0:0:0]    disk    Areca    ARC-1226-VOL#000 R001  /dev/sda   /dev/sg0    199GB
[0:0:0:1]    disk    Areca    ARC-1226-VOL#001 R001  /dev/sdb   /dev/sg1   11.8TB
[0:0:16:0]   process Areca    RAID controller  R001  -          /dev/sg2        -


I know that some access to the individual discs attached is possible 
because the smartmontools utility smartctl can do it, e.g.,

# smartctl -i -d areca,1 /dev/sg2
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-1160.80.1.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, 
www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD60EFRX-68L0BN1
etc...

I was hoping to use 'sg_dd if=<???> of=/dev/null' or similar. I could not 
find what I was looking for at https://sg.danny.cz/sg/ or elsewhere.  Is 
this possible? Can anyone give me some pointers?

Many thanks
Tom Crane

-- 
Tom Crane, Digital Electronics Engineer, Dept. Physics, Royal Holloway, University of London, Egham Hill,
Egham, Surrey, TW20 0EX, England.
Email:  T.Crane@rhul.ac.uk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-27  2:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.