[SOLVED] 12 TB disk finally arrived, I used clonezilla. Using advanced settings and -k1 (everything else left as default) made exact disk with more storage. I just replaced disks, powered on and everything is up and running! Ty all ❤️

Hello selfhosters,

I’m running home server DIY PC with *arr stack in docker containers and its working surprisingly well. The problem I have is not enough storage for my needs so I ordered a new HDD.

At the moment I have OS (Debian) and some (config) volumes on one SSD while media library is on another SSD. I’d like to move only media library from old to a new HDD and stop using the old one.

What is the best way to move all files (including hard links?) to a new drive? Can I just copy files with same folder structure and then modify my docker-compose.yaml to point to a new HDD? Is backup and restore of *arr apps necessary? Is there any way to grab all torrent files from qbittorrent (or another way of backup?

Folder structure I have now:

System SSD:

  • SSD1/config/sonarr
  • SSD1/config/radarr
  • SSD1/config/qbittorrent

Data SSD:

  • SSD2/data/media/tv
  • SSD2/data/media/movies
  • SSD2/data/torrent/tv
  • SSD2/data/torrent/movies

THX!

lemmyvore
link
fedilink
English
121Y

rsync -avxH will copy the files between drives.

You can simply mount the new drive in the same place as the old one after the copy, that way you don’t have to change any paths.

@rambos@lemm.ee
creator
link
fedilink
English
11Y

Ill look into rsync, thx.

About not changing paths, does it apply to my case? This is how I defined docker volumes:

    volumes:
      - /home/config/radarr:/config
      - /srv/dev-disk-by-uuid-4cfcd2b7-507b-4e3e-abd3-7b9c87d8ce64/data2000/data:/data
lemmyvore
link
fedilink
English
21Y

Well considering you made the mount point so specific to the drive you might as well change it. 😊 In the future consider something named after the directory’s function rather than physical support, such as /srv/docker/radarr/data. That way you can swap drives at /srv/docker and keep everything the same.

@rambos@lemm.ee
creator
link
fedilink
English
11Y

Yeah I felt like it wasnt the best. I did that path in OMV following some guide a while ago.

Thx!

Create a 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.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 370 users / day
  • 584 users / week
  • 1.25K users / month
  • 3.86K users / 6 months
  • 1 subscriber
  • 3.73K Posts
  • 75.4K Comments
  • Modlog