[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: flop.gif (2.11 MB, 317x363)
2.11 MB
2.11 MB GIF
Can you simply unplug a SSD (unmounted) from a running system and swap it out for another or do you really have to turn off the thing first?
>>
Talking about SATA of course
>>
>>103255177
>>103255184
not sure, you still have power on the drive and I'd be uncomfortable just unplugging it while my system is running (even if it's not mounted)
>>
you can, ideally you should be using a hotswap bay or esata enclosure though, as those are electrically designed for it. i've personally never had issues swapping them even with regular internal connectors
>>
>>103255284
Regular connectors are also designed for this purpose. Unless you are pulling a connector at an inhuman speed, the length difference ensures that data lines will disconnect first, providing enough time to cut power with FETs
>>
>>103255177
SATA hot swap is 100% a thing, OP
>>
On Linux, all you have to do is
echo 1 > /sys/block/sdX/device/delete

And it's safe to unplug.
I need to run
echo "- - -" > /sys/class/scsi_host/hostN/scan

for newly plugged in disk to be detected on my system, though.
I do this for my laptop, I swap out CD reader which I rarely use with my HDD which is in most of the time, never had problems.
>>
>>103255254
>>103255329
None of this is relevant if you unmount and unpower the disk properly before unplugging.
>>
>>103255177
SATA supports hot-swap but I think it usually needs to be enabled in the BIOS and defaults to off, though I don't know what this actually does beyond marking the device for removable so the OS knows it can expect it to go bye-bye at any point. Also make sure to unmount the drive you're removing from the OS first, to make sure the FS doesn't get corrupted.
>>
>>103255518
>if you unpower the disk properly before unplugging.
yes that is exactly my point - I just don't know how to power off a SATA device while the system is running because I never had a reason to check how to do that
>>
>>103255661
You don't have to do that, just take the drive out.
>>
>>103255620
What's FS ffs?
>>
>>103255702
File system you dingus
>>
>>103255177
There should be a BIOS hotplug setting for each port on any decent motherboard, in the integrated devices/SATA controller section.

On winderps the disk will appear in the removable devices tray icon like any USB drive

On Linux either eject from desktop environment or unmount and hdparm -Y
>>
>>103255702
file system, you stupid fucking faggot
>>
if its no big deal then why do so few people make use of sata's hotswapping capabilities?
why even use usb externals if you can just use faster normal sata ssds externally?
>>
>>103256585
don't ask me, i use a hotswap bay
>>
>>103256626
sexy
>>
>>103255661
I literally posted how.
>>103255685
kill yourself moron
>>
Yes I do it all the time. Plug/unplug power before data.
>>
>>103258316
Fuck I mean plug in the power first and unplug the power last. Or some drives don't initialize properly.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.