Changing the media drive after installation

Having any issues installing YAMS? This is the place to ask!
Post Reply
mothravsmechabilbo
Posts: 9
Joined: Fri May 24, 2024 4:34 pm
Virgin Islands (USA)

Changing the media drive after installation

Post 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?

User avatar
rogs
Site Admin
Posts: 154
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Changing the media drive after installation

Post 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.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
mothravsmechabilbo
Posts: 9
Joined: Fri May 24, 2024 4:34 pm
Virgin Islands (USA)

Re: Changing the media drive after installation

Post by mothravsmechabilbo »

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

mothravsmechabilbo
Posts: 9
Joined: Fri May 24, 2024 4:34 pm
Virgin Islands (USA)

Re: Changing the media drive after installation

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

User avatar
rogs
Site Admin
Posts: 154
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Changing the media drive after installation

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

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
mothravsmechabilbo
Posts: 9
Joined: Fri May 24, 2024 4:34 pm
Virgin Islands (USA)

Re: Changing the media drive after installation

Post by mothravsmechabilbo »

Great, thanks!

Post Reply