• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Off Topic General Discussion Changing HDD on server

     
    • 0 Vote(s) - 0 Average

    Changing HDD on server

    I will be upgrading my server HDD and need help
    troothdotcom
    Offline

    Junior Member

    Posts: 43
    Threads: 22
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #1
    2023-06-29, 05:05 PM
    I will be upgrading my servers HDD from a 2 TB to a 8 TB drive and I have quite a few questions I was hoping you guys could help me with. First I'm running my server on a very old laptop so I can only access one USB drive at a time so I'll have to replace my current HHD completely. I am running Ubuntu server OS and I'm hoping to mount the new drive to the existing mount location of the old HHD so I don't have to change all the Library settings. Second I'd hate to start over with the 2 TB of content I already have. Generating the BIF files and all the other necessary stuff takes forever what's the best way to copy all the necessary information to the new drive so it passes all the same permissions and files to the new drive? 

    After writing all that I'm wondering if I'm better off just biting the bullet and starting off with all fresh installs? Thanks in advance.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-06-29, 05:32 PM
    So the hard drive that contains the OS, and the jellyfin install, is NOT being replaced, correct? Just the hard drive with your library?

    Stop the jellyfin service
    Mount the new HDD in the same location
    Migrate your library (cp -Rp, the -p preserves the permissions)
    Start Jellyfin

    As long as Jellyfin isn't running and your media is in the same location, the upgrade should be transparent.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    1
    Tim
    Offline

    Community Moderator

    Posts: 49
    Threads: 1
    Joined: 2023 Jun
    Reputation: 3
    #3
    2023-06-30, 04:30 PM
    Here is the man page on the copy command that @TheDreadPirate described. I agree with him that this is a good method. Try to keep it simple.
    Not your average hoarder.

    Storage: 8x18TB RAIDz2 + 2x16TB Mirror + 512GB NVMe OS drive
    CPU: Ryzen 1700
    Cooler: Scythe Fuma 2
    Motherboard: Gigabyte AORUS B450 PRO
    RAM: DDR4; 2x8GB + 2x16GB
    Host-in-the-Shell
    Offline

    Member

    Posts: 166
    Threads: 10
    Joined: 2023 Jun
    Reputation: 14
    #4
    2023-07-11, 12:53 PM (This post was last modified: 2023-07-11, 12:55 PM by Host-in-the-Shell. Edited 3 times in total.)
    Personally, I would consider using Clonezilla. Recently I had to clone my server from a laptop to a dedicated computer I built, and the disk cloning was simply flawless. All I had to do was assign the old IP to the new pc and change the name of the network interface; every single one of my services were preserved intact and required no manual intervention: jellyfin, cockpit, qbittorrent-nox, pi-hole... same for any system configuration and data.

    The only caveat is that you'll have to make a bootable Clonezilla Live media and use it in your pc with the old HDD to clone it, as it needs the disks to be unmounted and not in use before they are cloned. Of course, you can create one with any bootable device such as a USB stick. If you have an Arch installation media laying around, it comes with Clonezilla already installed in it. There's extensive documentation available on almost everything you can do.
    Server specs => OS: Debian 12 | GPU: Arc A380 | CPU: Ryzen 5 5600X | 64GB RAM | 56TB
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode