Page 1 of 1

Changing the media drive after installation

Posted: Fri May 24, 2024 4:45 pm
by mothravsmechabilbo

Hello! I am working on getting all the pieces together for my media server and am planning to use yams for it. However, there is one thing I haven't been able to find much info for in the excellent documentation.

Here's my situation: Currently I have access to a 14tb Raid 1 media drive setup which I know will be good for me for about 1-1.5 years. After that point, I'm sure I'm going to upgrade to a much larger media drive, probably rackmount RAID 6. (I would do it now, but I don't have the space in my current home.)

The way I would do this on the software side is to simply "replace" the current external-drive 14tb RAID 1 setup with a new drive at the exact same mount point (I'll be using macOS, so this mount point would be represented by drive and directory names). Ideally, this has the result of the OS seeing my media drive as being the exact same as before, just much larger in size.

When using yams, what would be the best way to approach this hypothetical plan? Should I just wipe the slate clean and reinstall yams from square one, or would I be able to keep all my configurations of the *arrs and just have Jellyfin do a rescan of the expanded media drive?


Re: Changing the media drive after installation

Posted: Fri May 24, 2024 4:57 pm
by rogs

Hey @mothravsmechabilbo!

I would backup and restore the configurations, move all the media to the new location and re-scan with Jellyfin. You can follow this steps to backup and restore your configurations

https://yams.media/advanced/backups/

Cheers!

Roger.


Re: Changing the media drive after installation

Posted: Fri May 24, 2024 5:03 pm
by mothravsmechabilbo

Oh, amazing. I didn't see this, thanks!


Re: Changing the media drive after installation

Posted: Fri May 24, 2024 5:11 pm
by mothravsmechabilbo

Hey @rogs, I just wanted to make sure I have a grasp on the steps after reading the config backup/restoration article:

  1. Copy all media from Media Drive A to Temp Drive
  2. Unmount Media Drive A
  3. Stop YAMS
  4. Create a backup of the configuration via the provided steps
  5. Restore a backup of the configuration via the provided steps, which includes restarting YAMS at the end of the steps.
  6. Mount Media Drive B at the same mount point that Media Drive A was originally at
  7. Copy all media from Temp Drive to Media Drive B
  8. Rescan media directory with Jellyfin

Let me know what you think!


Re: Changing the media drive after installation

Posted: Fri May 24, 2024 5:13 pm
by rogs

That should work! In point 5, I would restart YAMS right after step 7 instead, but either way should work :mrgreen:

Good luck!


Re: Changing the media drive after installation

Posted: Fri May 24, 2024 5:21 pm
by mothravsmechabilbo

Great, thanks!