13

I recently purchased a used server (the type that fits into a rack, rather than a free-standing machine). One nice feature, is rather than having to open up the cover and unscrew the harddrives, this machine has eight "easy to use" caddies on the front.

How can I tell if this server unit supports hot-swapping drives? Do I need to look up the machine's specifications, or can I run a command from inside Linux to detect this?


In my particular case, the product number I can find is for the chassis, a SuperMicro model 825-7, and the output from several hardware related Linux commands can be found in this repository: GitHub: IQAndeas/computers: Austere Armadillo.

Keep in mind, I was hoping there was a solution which does not require looking up the specific model number, but can be used regardless of which server you are on.

5
  • 1
    There is a third option, to just try removing one of the lines while the server is running. I'm just worried about "Well, turns out it doesn't support hot-swapping. I guess that 1GB drive is ruined now."
    – IQAndreas
    Sep 2, 2015 at 0:06
  • 1
    Providing pertinent details, like the make and model of the server, would help us help you. Otherwise, there's no deterministic way to provide you the information you're seeking.
    – ewwhite
    Sep 2, 2015 at 0:11
  • @ewwhite I edited the question with the details I could find, however, as I said in the question, I left the question open-ended as I was hoping this question could help more than just me.
    – IQAndreas
    Sep 2, 2015 at 0:16
  • I'm sure your server supports hot-swap, in that your drives or SAS/sata controller(s) won't melt if you pull the drives out and insert them again. What's more interesting is really, is there a HW raid controller there ? Is it software raid ? Is it running a RAID level for which you can tolerate drive loss ? Are you using some other form of storage aggregation which is amenable to "hot swapping" drives. Sep 2, 2015 at 1:13
  • @KjetilJoergensen That's all the information I'm trying to find out, I just received the server, and have no idea about the capabilities. And I'm having the damnedest time even getting into BIOS. ;-)
    – IQAndreas
    Sep 2, 2015 at 1:26

2 Answers 2

9

Grrrr... I hate Supermicro... and white box servers in general - There's no consistency in model numbers or parts. If HP, IBM, Dell, etc., we would be able to look at your server model number and say, "yes, this supports feature X".

For you, this is going to depend on the controller inside the server, as well as how the SAS backplane is connected.

Please provide the information from lspci on the server. Perhaps df -h and lsscsi or cat /proc/scsi/scsi.

This will give us some RAID controller information if (present) and perhaps some information to proceed with.


Edit:

Your server supports hot-swap.

From: https://github.com/IQAndreas/computers/tree/master/austere-armadillo

This is an older 2007/2008-era server.

Here's your RAID controller's logical drives.

[2:0:0:0]    disk    AMCC     9690SA-8I  DISK  4.08  /dev/sda 
[2:0:1:0]    disk    AMCC     9690SA-8I  DISK  4.08  /dev/sdb 

and

Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: AMCC     Model: 9690SA-8I  DISK  Rev: 4.08
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi2 Channel: 00 Id: 01 Lun: 00
  Vendor: AMCC     Model: 9690SA-8I  DISK  Rev: 4.08
  Type:   Direct-Access                    ANSI  SCSI revision: 05

It's a 3Ware 9690SA-8i, which uses the 3w_9xxx kernel module in Linux. You have a pair of disks in RAID 1 and four disks in RAID 5. These are SATA disks, so I recommend reconfiguring them to RAID 1+0, giving you 2TB of usable space on the larger array. You'll be able to do this from the BIOS by pressing Alt-3 during the RAID controller's initialization. The manual for the RAID controller is here.

enter image description here

9
  • The server definitely uses RAID; it has 2x320GB drives and 4x1TB drives, yet only has 298GB and 2.7TB of storage, respectively. Since there is no operating system installed (the harddrives are wiped) I'm assuming it's a hardware RAID.
    – IQAndreas
    Sep 2, 2015 at 6:48
  • 4
    When you do find the information you need, rather than just give the answer, to benefit others, I would appreciate it if you included in the answer which values you were looking at to get the answer.
    – IQAndreas
    Sep 2, 2015 at 6:53
  • I think he before you had the extra information edited in. Back then, the answer was incomplete. Now, it is perfect.
    – IQAndreas
    Sep 2, 2015 at 7:13
  • Just to summarize and clarify a few RAID-related unknowns: I have two more empty slots. Does all this mean while the server is running, I can insert one more SATA harddrive (unrelated to any of the RAID drives) into an empty slot, and it would appear, able to be mounted just fine, something like a USB drive would act?
    – IQAndreas
    Sep 2, 2015 at 7:18
  • 1
    The disks can't be presented to the OS unless they are in Virtual Drives. That's all.
    – ewwhite
    Sep 2, 2015 at 7:26
-2

If you can change drives or move them around with just your fingers and no tools, then it supports hotswap. If it's manufactured after about 2006, it supports hotswap. If it uses electrical utility power instead of coal, then it supports hotswap. Get back to work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .