Hey guys I recently purchased a 14tb ironwolf pro to replace my current 4tb hard drive that is used for my media server. I have tried to copy my media folder across in an SSH session but it got to about 20% and then I had a broken pipe. I have just set it off to copy again but I’m wondering if this will happen again? Is there a set time out on SSH sessions? Could there be an easier way to get this 4tb of data across to my new hard drive? I don’t have access to my hard drive over SMB because the 4tb drive is having some issues in OMV. I also don’t have a Linux desktop where I can read and copy over in ext4 format. Any assistance would be greatly appreciated

You are viewing a single thread.
View all comments
1 point

Two suggestions

  1. After connecting via ssh, run ‘screen’ (sudo apt install -y screen)

That will create a virtual session. If your ssh connection breaks, that virtual session still exists.

https://linuxize.com/post/how-to-use-linux-screen/

  1. Use some sort of copy command that can deal with restarting a partial copy

    rsync -av /mnt/4tb/* /mnt/14tb/

permalink
report
reply
1 point

Dude awesome reply thank you! I’ll wait for this session to break and give screen a crack and then rsync if screen doesn’t get the job done.

permalink
report
parent
reply
1 point

Learn rsync, it is your only friend for these sorts of jobs. :-)

permalink
report
parent
reply
1 point

That is becoming more and more evident. It seems like an excellent solution.

permalink
report
parent
reply
1 point

tmux is a very good alternative to screen, if you come across that.

permalink
report
parent
reply

Self-Hosted Main

!main@selfhosted.forum

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

For Example

  • Service: Dropbox - Alternative: Nextcloud
  • Service: Google Reader - Alternative: Tiny Tiny RSS
  • Service: Blogger - Alternative: WordPress

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

Community stats

  • 1

    Monthly active users

  • 1.8K

    Posts

  • 11K

    Comments

Community moderators