Move a partition out from under scp: why does it carry on?

Darren Cook

I was downloading, using scp, a large file from "remote" to "myserver"; it is taking a few hours. It is/was downloading to "~/stuff/". Let's call it "x.tgz".

Then, forgetting about that, a little while later, I noticed disk space was getting low on the /home/ partition. I noticed "~/stuff/" was quite big, so decided to move it from my /home/ partition to my emptier /backup/ partition: cd;mv stuff/ /backup/ Great, reasonable amounts of disk space in all partitions again.

Then I remembered the long-running scp process, slapped my forehead, and went to look at it, expecting an error message. But it is still happily downloading. Eh?

So, is it still being saved to /home/ partition, or the /backup/ partition? I think I can answer that, as it appears disk space is still going down on /home/ but not /backup/ But, what will happen when it finally completes? Will I have a partial /backup/x.tgz and a full ~/stuff/x.tgz? Or the first half in /backup/x.tgz and the second half in ~/stuff/x.tgz ?

More importantly: have I messed it up, and I should kill scp, and start again?

Jacob Minshall

It looks like some/most/all of "x.tgz" was loaded into ram for the scp'ing. I would suggest though killing the process and running it again. Though it would be interesting to see if it really worked, you could wait it out or even run a parallel scp and when the original one is done run a md5sum x.tgz on both the remote and the host. If the hex outputs match up then they are the same.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Why does `difftime` carry label attribute from other variable in R?

Signed Overflow - Why carry in and carry out of MSB should match?

Move input with focus out from under fixed header or fixed footer

carry out firebase authentication from a service class?

Why does the br tag not move the text under the title?

Why does the NEG instruction interfere with the Carry Flag?

Why does line 4 only print out "B move"?

Why does this absolute ul move out of its parent?

Why does DELETE FROM ... FROM ... not error out?

Why does scp seem to be failing?

Move Data from Partition to Partition on Same Drive

How does Kotlin know how to carry out the plus operator

Why is my DataContext getting switched out from under me for a binding?

Why does the boot partition under a BIOS-GPT configuration need to be 1007KiB?

Why does this object not move?

Why does my structure element carry padding bytes?

Why are Fedora partitions not listed under the extended partition?

Why does a unquoted wildcard work remotely with scp?

Why does scp not show true upload speed?

Why does table style move out when rendering rows through vue component

This SwiftUI animation should only fade out. Why does it move to the right?

Move data from regular partition to lvm

Move tmp folder from '/' partition to mounted partition (/mnt)

How to move completely the ProgramData folder from one partition in to another partition?

SCP command running under Jenkins pipeline does not connect

Why does sign-out from Leaderboard result in an application crash?

Why move task does not move symlinks?

Move ScrollView under the RecyclerView does not work

How does `scp` differ from `rsync`?