Jump to content

Looking for a way to cold swap SSDs with a device

kursain

I'm working on a project in which we need a way to swap between 2 SSDs that connect to a PC using a single SATA port. The reason why we need this specific functionality is that the PCs we're working with only work using a designated SATA port and will only boot from a given port.

 

We're currently swapping the drives by hand and reconnecting SATA cables but we'd eventually want to connect this electronically so we can control the swapping remotely. Ideally, we would only need to run 1 SATA power and data cable out of this "enclosure" and be able to swap between the drives, essentially a "relay" but for the SATA connections.

 

I tried looking around for products but can't seem to find anything that would suit these requirements. I do have experience with single-board microcontrollers so I should be able to find a way to make a physical-swapping device (eg. button selectors) into a cloud-accessible one, if need be. If anyone can point me to the right place to look, or tell me if this is even technically feasible, that would be great! Thank you!

Link to comment
Share on other sites

Link to post
Share on other sites

This seems very unnecessary, if the bios is weird and wont let you boot from other volumes you could see if a Multiboot loader like GRUB or Clover suite your needs. Both are pieces of software that handle which operating system on which drive is initialized.

 

Clover is much easier to set up:

(https://github.com/CloverHackyColor/CloverBootloader)

You could install clover on the sata port that the computer will boot to and then place the other operating systems on separate drives (even connected to a pcie sata expansion card). Then whenever you start the machine clover will let you chose which system to use. (ofc you could set it to automatically boot one and all sorts of neat stuff)

 

Making a physical switch is going to be very difficult since there are so many factors to designing cables. I do know though from experience that in industrial settings people really really dont like adding new software lol. If I had to create some sort of switch it'd definatly be as simple possible. some small solid state relays might be ok. You really only need to switch 4 wires in the data cable (pins 2, 3, 5, and 6 afaik) since the rest are ground.  It'd probably be best to design a custom pcb for the switch in order to prevent any possible loss in data integrity from inconsistent wirelengths or something. I'm no electrical engineer, just a software nerd and occasional hardware tinkerer so this could all be wildly wrong but maybe it can get you going in the right direction.

 

Heres a resource I found that might be useful: https://www.delkin.com/blog/sata-serial-ata/

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, kursain said:

We're currently swapping the drives by hand and reconnecting SATA cables but we'd eventually want to connect this electronically so we can control the swapping remotely. Ideally, we would only need to run 1 SATA power and data cable out of this "enclosure" and be able to swap between the drives, essentially a "relay" but for the SATA connections.

Fyi sata has like 20 or so plug cycles and the cable will degrade and break same with the port. So euhh stop doing that now.

 

Can't you just dual boot from a drive? Should be possible basically just boot into a bootloader and select the os needed.

Link to comment
Share on other sites

Link to post
Share on other sites

On 2/15/2024 at 4:40 PM, jaslion said:

Fyi sata has like 20 or so plug cycles and the cable will degrade and break same with the port. So euhh stop doing that now.

 

Can't you just dual boot from a drive? Should be possible basically just boot into a bootloader and select the os needed.

 

so after 20 plug in/out cycles............the SATA connector on the SSD will no longer work ??😟

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, worstalentscout said:

 

so after 20 plug in/out cycles............the SATA connector on the SSD will no longer work ??😟

It will start to be damaged and eventually fail

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

For now use short data SATA extension, to not plug it and unplug, all the time from drives.
Just remember to use the shortest one you can find (signal integrity), and do buy spares.

 

I do not know of a DATA sata SWITCH, there are sata splitters, that do work similar, but they required SATA controller, to support SATA host mode. 

But, if you only want it to work in Serial ATA Port Selector mode with one drive, then it's possible, that it could work, but that only maybe (I can't guarantee it, as it's just so rare case, that I don't know anything about it). I do know that they have that mode, but I do not know, if the SATA host mode is required, for the Selector mode to work.
Maybe it isn't, and it would just work.

   
 
 
 
Spoiler
CPU : Intel 14gen i7-14700K
COOLER :  Thermalright Peerless Assassin 120 White + thermaltake toughfan 12 white + Thermal Grizzly - CPU Contact Frame Intel 13./14. +  Coollaboratory Liquid Ultra
GPU : MSI RTX 2070 Armor @GPU 2050MHz Mem 8200MHz -> USB C 10Gb/s cable 2m -> Unitek 4x USB HUB 10 Gb/s (Y-HB08003)
MOBO : MSI MEG Z690 UNIFY
RAM :  Corsair VENGEANCE DDR5 RAM 64 GB (2 x 32 GB) 6400 MHz CL32 (CMK64GX5M2B6400C32)
SSD : Intel Optane 905P 960GB U.2 (OS) + 2 x WD SN850X 4TB + 2 x PNY CS3140 2TB + ASM2824 PCIe switch -> 4 x Plextor M8PeG 1TB + flexiDOCK MB014SP-B -> Crucial MX500 2TB + GoodRam Iridium PRO 960GB + Samsung 850 Pro 512GB
HDD : WD White 18TB WD180EDFZ + SATA port multiplier adp6st0-j05 (JMB575) ->  WD Gold 8TB WD8002FRYZ + WD Gold 4TB WD4002FYYZ + WD Red PRO 4TB WD4001FFSX + WD Green 2TB WD20EARS
EXTERNAL
HDD/SSD : 
XT-XINTE LM906 (JMS583) -> Plextor M8PeG 1TB + WD My Passport slim 1TB + LaCie Porsche Design Mobile Drive 1TB USB-C + Zalman ZM-VE350 -> Goodram IRDM PRO 240GB
PSU :  Super Flower leadex platinum 750 W biały -> Bitfenix alchemy extensions białe/białe + AsiaHorse 16AWG White 
UPS :  CyberPower CP1500EPFCLCD -> Brennenstuhl primera-line 8 -> Brennenstuhl primera-line 10
LCD :  LG 32UD59-B + LG flatron IPS236 -> Silverstone SST-ARM11BC
CASE :  Fractal R5 Biały + Lian Li BZ-H06A srebrny + 6 x Thermaltake toughfan 14 white + Thermalright TL-B8W
SPEAKERS :  Aune S6 Pro -> Topping PA3-B -> Polk S20e black -> Monoprice stand 16250
HEADPHONES :  TOSLINK 2m -> Aune S6 Pro -> 2 x Monoprice Premier 1.8m 16AWG 3-pin XLR -> Monoprice Monolith THX AAA 887 -> 4-pin XLR na 2 x 3.5mm 16 cores OCC 2m Cable -> HiFiMAN Edition XS -> sheepskin pads + 4-pin XLR na 2 x 2.5mm ABLET silver 2m  Cable -> Monoprice Monolith M1060 + Brainwavz HM100 -> Brainwavz sheepskin oval pads + Wooden double Ɪ Stand + Audio-Technica ATH-MSR7BK -> sheepskin pads + Multibrackets MB1893 + Sennheiser Momentum 3 +  Philips Fidelio X2HR/00 + JBL J88 White
MIC :  Tonor TC30 -> Mozos SB38
KEYBOARD : Corsair STRAFE RGB Cherry MX Silent (EU) + Glorious PC Gaming Race Stealth Slim - Full Size Black + PQI MyLockey
MOUSE :  Logitech MX ERGO + 2 x Logitech MX Performance + Logitech G Pro wireless + Logitech G Pro Gaming -> Hotline Games 2.0 Plus + Corsair MM500 3xl + Corsair MM300 Extended + Razer goliathus control
CONTROLLERS :  Microsoft xbox series x controller pc (1VA-00002) -> brainwavz audio Controller Holder UGC2 + Microsoft xbox 360 wireless black + Ravcore Javelin
NET :  Intel x520-DA2 -> 2 x FTLX8571D3BCV-IT + 2 x ASUS ZenWiFi Pro XT12
NAS :  Qnap TS-932X-2G -> Noctua NF-P14s redux 1200 PWM -> Kingston 16GB 2400Mhz CL14 (HX424S14IB/16) -> 9 x Crucial MX500 2TB ->  2 x FTLX8571D3BCV-IT -> 2 x Digitus (DK-HD2533-05/3)
Link to comment
Share on other sites

Link to post
Share on other sites

I'm with everyone here on this process being tedious and destructive but due to the nature of the PCs I'm working with, they're quite locked down and there isn't much room to work around the BIOS settings they come with. To go into a bit more detail -- each drive contains a bootloader and software that are intertwined with the hardware and is very difficult, if not impossible, to configure in such a way that the PC + other hardware would play nicely with a modified drive that is partitioned. I can't into the specifics of the contents of the drives as there's some legal grey area surrounding copyright that I'd like to keep on the downlow.

 

I'll definitely get some extensions in the meantime while we find a solution for this problem, thank you for the heads up on the rated plug cycles.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×