3

I am using an external eSATA device which takes 5 SATA drives and presents them as one large HW RAID5 to linux (ubuntu).

It uses a SiI3726 chipset.

Linux sees and handles the sata device just fine, but I'm wondering if there's any way to query/monitor the RAID5 status that's hiding behind this HW RAID.

(from dmesg -- I swear I don't have a 16T single drive...)

[   16.409678] sd 4:0:0:0: [sde] 31255691264 512-byte logical blocks: (16.0 TB/14.5 TiB)
[   16.409727] sd 4:0:0:0: [sde] Write Protect is off
[   16.409730] sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
[   16.409752] sd 4:0:0:0: [sde] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   16.463573]  sde: sde1
[   16.463785] sd 4:0:0:0: [sde] Attached SCSI disk

(from lshw)

   *-disk:4
        description: ATA Disk
        product: SATA H/W RAID5
        physical id: 4
        bus info: scsi@4:0.0.0
        logical name: /dev/sde

Any guidance on peering at the system underneath would be appreciated.

RAID status is my big concern, but actual drive models would be helpful too.

I looked at some libatasmart tools, but couldn't find anything regarding SATA port multipliers in general.

There are utilities to check/set the RAID settings in OSX/Windows, so it is apparently possible. I'm looking for a way to do this in Linux and then potentially add to Nagios, etc.

Here's what the HW looks like: card in chassis

HopelessN00b
  • 53,385
  • 32
  • 133
  • 208
Joel K
  • 5,765
  • 2
  • 29
  • 34
  • 3
    port multipliers are the devil! Some of them have very ugly failure modes. Where a failure on any single disk results in the failure of all of the disks behind the multiplier. I have experienced this type of failure first hand. See: http://www.zdnet.com/are-sata-port-multipliers-safe-7000011897/ https://www.usenix.org/system/files/fastpw13-paper7_0.pdf If you can avoid using one, I strongly suggest that you do. At least keep a good backup. – Zoredache Nov 06 '14 at 01:56
  • 1
    they may be the devil, but I'm trying to work with the devil I've found in the colo -- I probably wouldn't buy them myself. – Joel K Nov 06 '14 at 17:26
  • 1
    @JoelK Can you provide information on the manufacturer/make/model of the external eSATA device? Without that information, it's difficult to help you. – ewwhite Nov 11 '14 at 03:54
  • 1
    Also, can you show the relevant portion of `lspci`? – ewwhite Nov 11 '14 at 04:31
  • Sorry to say, you would need a driver for Linux to support this feature. Without the driver, there is no way that Linux will be able to see the devices which are 'multiplexed' (e.g. Many channels combined into one). It will only see the single device. The same problem exists with a number of cheap RAID controllers. – Stefan Lasiewski Nov 11 '14 at 05:49
  • lspci shows the onboard SATA controller, but I'm not sure I see how that helps.. Intel Corporation 631xESB/632xESB SATA AHCI Controller (rev 09) – Joel K Nov 12 '14 at 06:59
  • motherboard is a Supermicro X7DVL-3. Expander is a DATOptic -- there is an OSX utility that works with a USB-eSATA adapter to 'configure' the device -- perhaps it's possible to snoop what's happening over usb -- http://www.datoptic.com/ec/1u-rackmount-port-multiplier-esata-host.html – Joel K Nov 12 '14 at 07:01
  • @JoelK Don't you have an eSATA card in your server? – ewwhite Nov 12 '14 at 14:59
  • @ewwhite I mentioned the motherboard because it has the sata and sas onboad. LSISAS 1068E 8-Port SAS controller, and ESB2 SATA controller are both on the motherboard... (not a seperate card) http://www.supermicro.com/products/motherboard/Xeon1333/5000V/X7DVL-3.cfm – Joel K Nov 12 '14 at 15:17
  • @JoelK How are you connected to the external enclosure? – ewwhite Nov 12 '14 at 15:18
  • @JoelK: Which controller is the enclosure connected to-- the LSI SAS or the Intel SATA? Seeing the output of the kernel boot messages would certainly be helpful, if you're willing to post it. – Evan Anderson Nov 13 '14 at 13:29
  • @ewwhite connected via eSATA – Joel K Nov 13 '14 at 20:12

3 Answers3

5

You may be one of the only people who have run into this issue :)

Well, possibly... The use of SATA multipliers is a no-no in server-class systems. Heck, using SATA is a bit risky these days, with ever-increasing drive capacities.

It's not surprising that you've had a difficult time finding information about the SATA port multiplier and monitoring under Linux. Using a SAS expander is the preferred and more supportable approach. Expanders are the norm for server backplanes and external storage JBOD enclosures. As a result, port multipliers are somewhat rare and don't have much mindshare. Adding a layer of abstraction through eSATA almost eliminates any chance of your drives being exposed to the OS, unless the card you're using in the host has OS-lever driver support.

What type of eSATA host card are you using?

At this point, I would rely on the enclosure and visual LED status checks to determine array health. Provide more information about the device, and there's a slim chance status can be communicated to the host (if using the right card), but I wouldn't expect it otherwise.

Edit:

The enclosure being used here does not have LED indicators for drive health. You won't have any way of visually determining drive array status or doing this via your host.

enter image description here

enter image description here

Edit

I reached out to the manufacturer for support:

The OP post a wrong part that is why no one can help :-) See: https://serverfault.com/a/644247/13325

ewwhite
  • 194,921
  • 91
  • 434
  • 799
  • So you recommend a web cam? :-) – Ronald Pottol Nov 11 '14 at 07:08
  • @RonaldPottol Possibly! – ewwhite Nov 11 '14 at 14:20
  • @ewwhite Posting images from the URLs that I gave to you isn't giving me any new information. I already know what the system looks like and about the LEDs on the front. I need a software mechanism to poll the RAID status of a port multiplier. There are utilities for Windows and OSX that are able to get this info, I'm looking for equivalent work in Linux. I know this all works even over USB-eSATA (this is how we provision the units) -- again, I just need some visibility in Linux-land. – Joel K Nov 13 '14 at 02:19
  • 1
    @JoelK The enclosure details weren't clear as of your initial question. The details were scarce. I think you're saying that you have this external unit connected to a motherboard that has an eSATA connection, or maybe an SATA adapter plate. I explained that Linux support for this is rightfully poor. I'm sorry it's not what you want to hear, but your best shot at getting RAID status with what you have is to use an HBA that has known-good Linux support *or* to contact the manufacturer. – ewwhite Nov 13 '14 at 02:39
  • 1
    The point of posting the photo was to illustrate how barebones the enclosure is and that there would be no form of monitoring or diagnostics via [SCSI Enclosure Services](http://en.wikipedia.org/wiki/SCSI_Enclosure_Services) (*or the SATA equivalent*). – ewwhite Nov 13 '14 at 02:45
  • ah, well you don't have a picture of the important which is in the chassis -- I'll put that up here. – Joel K Nov 13 '14 at 20:07
  • It looks like I was right w/ my guess on the part, then, based on the OP's picture. >smile< re: bringing in the manufacturer - touche! Edit: Actually, I'm a little confused. The page the manufacturer links to has no eSATA port. I wonder if the manufacturer linked to the right thing... Hmm... – Evan Anderson Nov 14 '14 at 16:04
2

This is DATOptic-Support Team, the manufacture of the 1U stand-alone Hardware RAID.

The control uses in this 1U rack is NOT SiI-3726.

It is JM393: http://www.datoptic.com/ec/5x-drive-hardware-raid-controller.html There is some GUI in Linux but not all flavor - go the page and click support TAB There is some CLI and OpenSuSE RAID GUI...

  • I try to run http://www.datoptic.com/Download/HWRaidManager.dat, and I get -bash: ./HWRaidManager.dat: No such file or directory.. – Joel K Nov 14 '14 at 02:42
  • file says it's dynamically linked.HWRaidManager.dat: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0x61e72a2461d2b0683ba056b6d76995fbae0844eb, not stripped but ldd says not a dynamic executable – Joel K Nov 14 '14 at 02:42
  • Did you make the file executable? – ewwhite Nov 14 '14 at 02:46
  • yes, it's +x -- here's the strace – Joel K Nov 22 '14 at 07:24
  • strace ./HWRaidManager.dat execve("./HWRaidManager.dat", ["./HWRaidManager.dat"], [/* 17 vars */]) = -1 ENOENT (No such file or directory) dup(2) = 3 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdb5ac8f000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory – Joel K Nov 22 '14 at 07:25
1

I feel like the enclosure you're using has this RAID/port-multiplier board in it. (The pictures seem to match-up.) (Ugh-- actually, it's close but not exactly the same. The jumper layout is like the model SPM393PS-SEV, but that model is supposedly 4 disks / 2 hosts.)

If that's the case, the manufacturer's web site purports to have a "X86 - Linux Daemon Tool - CLI" package available, among other software offerings. Not having one of these things, obviously, I can't actually run it, but the strings in the file seem to be promising.

If it is that unit and the Linux-based software doesn't work you could always strap an Arduino to the pins of the status LED on the back and monitor that. (Ugly, to be sure, but it could be made to work...)

Evan Anderson
  • 141,071
  • 19
  • 191
  • 328