Hi all,

I currently have a Linux install from an old 256GB SATA SSD that I inherited. It was originally used as a swap drive in another person’s RAID server for about 7 years, then it was given to me, where I put my own Linux install that I have been running for about 5 years.

About a year ago, I acquired a new computer that has an NVMe SSD. It originally ran windows, but I dropped in my SSD with my Linux install, installed grub on the NVMe SSD, and booted to the old SSD.

I am mildly concerned about with this SSD being so old, it could crap out on me eventually. I remember that being a topic of discussion when SSDs first hit the market (i.e. when the one that I am using was made). So I was thinking of wiping the 1TB NVMe SSD that is currently unused in this computer and migrating my install to it. Now, I know I could copy my whole disk with dd, then expand the partition to make use of the space. But I was wondering if I could change the filesystem to something that had snapshots (such as btrfs).

Is it possible to do this, or to change filesystems do I need to create a new Linux install and copy all the files over that I want to keep?

  • Dandroid@dandroid.appOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Thanks for the reply. I’m really dreading migrating files manually, because I use this as my server, so all my stuff would be down for an extended period of time while I migrated. :(

    • socphoenix@midwest.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Is this mostly for fileserving or apps? If you’re using it as a Fileserver share the relevant parts of the ssd while you rsync all of it over to help ease downtime.

      You can also install the nvme through a virtual machine and pass /dev/nvme_whatever to the vm. Then rsync everything over using ssh then reboot the whole machine using the nvme drive for the os (make sure to use UEFI for the vm on kvm).

      For apps kinda the same vm deal leave the ssd up and configure the nvme install as needed then copy whatever data you need over before rebooting.

      It’s more convoluted to do it that way but it will reduce downtime

      • Dandroid@dandroid.appOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        It’s for apps. I have a Lemmy server and then a few discord bots that play music for a music community that my wife is an admin for.

        I honestly might just need to schedule downtime on a day that they don’t have an event on. That’s the main thing that I want up all the time.

        • socphoenix@midwest.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          That is probably the best option since I don’t think lemmy has the ability to work as a cluster unfortunately