8
submitted 11 months ago* (last edited 11 months ago) by rambos@lemm.ee to c/selfhosted@lemmy.world

[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!

you are viewing a single comment's thread
view the rest of the comments
[-] rambos@lemm.ee 1 points 11 months ago

My data SSD is 2TB and my new HDD is 12TB. I guess cloning will make 2TB partition on new HDD and then I have to extend it to 12TB? Did I understand that correctly? Do I need to use live OS or can I do it on running Debian OS? Do I have to change paths in my docker-compose after that? Please check another comment how I defined volumes, there might be a better way.

[-] C_M@feddit.nl 1 points 11 months ago

Sorry I wanted bit to fast. Clonezilla will clone disk including huid (which can mess things up is you keep both in the pc). But then you can boot clonezilla, clone disk (has a flag -k1 for resizing partitions), remove the old disk, and should work without changing anything else. If you want to change the settings anyway, there are more options like DD. For clonezilla instructions, see https://clonezilla.org/fine-print-live-doc.php?path=./clonezilla-live/doc/03_Disk_to_disk_clone/00-prepare-clonezilla-live.doc#00-prepare-clonezilla-live.doc

[-] rambos@lemm.ee 1 points 11 months ago

Awesome thank you

[-] rambos@lemm.ee 1 points 11 months ago

Mate this was awesome recommendation. Using -k1 made exact same disk but with more storage 😉

It took 1h55m for 1.5 TB od files from 2TB disk to new 12TB

Nothing changed, I just replaced disk and viola server is up and running

this post was submitted on 22 Nov 2023
8 points (78.6% liked)

Selfhosted

39677 readers
1003 users here now

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!

founded 1 year ago
MODERATORS