Announcement

Collapse
No announcement yet.

Linux and migrating from HDD to SSD...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux and migrating from HDD to SSD...

    Alright...here's what I want to do.

    I have an Ubuntu Linux box here at my house. I want to upgrade it, because right now it's painfully slow.

    I have been considering moving from HDD to SSD, but I don't want to lose any of my data or programs on my primary HDD.

    Is there a (safe) way to set up my machine to use a SSD, and basically "copy over" all my data to the SSD?

    I know that'll speed things up some, but I'm also going to upgrade the CPU, motherboard, and RAM.
    Skilled programmers aren't cheap. Cheap programmers aren't skilled.

  • #2
    As I understand it, an SSD shouldn't be any different to a HDD in terms of configuration or usage so you should be able to use whatever systems you're already used to to copy everything across.

    My MBP has a 500GB SSD and I've never treated it any differently, nor has it appeared to work differently. I know that behind the scenes there's clever algorithms that work to ensure the same areas of the drive don't get "worn out" by distributing data writes, but it's all handled behind the curtains.
    This was one of those times where my mouth says "have a nice day" but my brain says "go step on a Lego". - RegisterAce
    I can't make something magically appear to fulfill all your hopes and dreams. Believe me, if I could I'd be the first person I'd help. - Trixie

    Comment


    • #3
      Well, you could theoretically just Ghost the old drive over (assuming it's smaller than the new drive) buuuut: while you can just move your data over, with any OS, when changing your boot device, your best bet really is to reinstall your OS on the new drive, reinstall your programs, and then copy over whatever else you need.
      "For a musician, the SNES sound engine is like using Crayola Crayons. Nobuo Uematsu used Crayola Crayons to paint the Sistine Chapel." - Jeremy Jahns (re: "Dancing Mad")
      "The difference between an amateur and a master is that the master has failed way more times." - JoCat
      "Thinking is difficult, therefore let the herd pronounce judgment!" ~ Carl Jung
      "There's burning bridges, and then there's the lake just to fill it with gasoline." - Wiccy, reddit
      "Retail is a cruel master, and could very well be the most educational time of many people's lives, in its own twisted way." - me
      "Love keeps her in the air when she oughta fall down...tell you she's hurtin' 'fore she keens...makes her a home." - Capt. Malcolm Reynolds, "Serenity" (2005)
      Acts of Gord – Read it, Learn it, Love it!
      "Our psychic powers only work if the customer has a mind to read." - me

      Comment


      • #4
        Quoth EricKei View Post
        Well, you could theoretically just Ghost the old drive over (assuming it's smaller than the new drive) buuuut: while you can just move your data over, with any OS, when changing your boot device, your best bet really is to reinstall your OS on the new drive, reinstall your programs, and then copy over whatever else you need.
        That's a LOT of data and programs, though. I only have a 500GB primary drive on that machine (I believe), and I was thinking about buying a 1TB SSD.

        I'd like to make it as painless as possible.
        Skilled programmers aren't cheap. Cheap programmers aren't skilled.

        Comment


        • #5
          I thought we talked about this.

          Yup: http://www.customerssuck.com/board/s...16#post1371316

          And it's still applicable.

          Find a mirroring/ghosting program
          create the mirror image (preferably on a removable media)
          format the new drive to the proper File Allocation Table
          load the mirror on the new drive
          confirm the mirrored drive works
          scrub or retain the original.
          I AM the evil bastard!
          A+ Certified IT Technician

          Comment


          • #6
            Quoth lordlundar View Post
            I thought we talked about this.

            Yup: http://www.customerssuck.com/board/s...16#post1371316

            And it's still applicable.

            Find a mirroring/ghosting program
            create the mirror image (preferably on a removable media)
            format the new drive to the proper File Allocation Table
            load the mirror on the new drive
            confirm the mirrored drive works
            scrub or retain the original.
            Cool. I had completely forgotten that I asked about this before.
            Skilled programmers aren't cheap. Cheap programmers aren't skilled.

            Comment


            • #7
              lundar - question: When ghosting/mirroring a hard drive in the past, it's been my experience that any sectors marked "bad" on the old drive will remain marked as "bad/do not use" on the new one. Is this the case on linux? Also, don't HDDs and SSD's store data in fundamentally different ways? Would this have an impact when mirroring?

              mjr - What lundar said You might wanna consider some housekeeping first (e.g. file/drive integrity checks, de-duping checks, spyware scans, cleaning out temp directories, uninstalling anything you no longer use, old save game folders for stuff you don't play anymore, old video/audio files you don't need, etc) just to reduce the amount of sheer bulk in files that need to be moved over. You can always keep the old drive around as a backup, too.
              "For a musician, the SNES sound engine is like using Crayola Crayons. Nobuo Uematsu used Crayola Crayons to paint the Sistine Chapel." - Jeremy Jahns (re: "Dancing Mad")
              "The difference between an amateur and a master is that the master has failed way more times." - JoCat
              "Thinking is difficult, therefore let the herd pronounce judgment!" ~ Carl Jung
              "There's burning bridges, and then there's the lake just to fill it with gasoline." - Wiccy, reddit
              "Retail is a cruel master, and could very well be the most educational time of many people's lives, in its own twisted way." - me
              "Love keeps her in the air when she oughta fall down...tell you she's hurtin' 'fore she keens...makes her a home." - Capt. Malcolm Reynolds, "Serenity" (2005)
              Acts of Gord – Read it, Learn it, Love it!
              "Our psychic powers only work if the customer has a mind to read." - me

              Comment


              • #8
                Quoth EricKei View Post
                lundar - question: When ghosting/mirroring a hard drive in the past, it's been my experience that any sectors marked "bad" on the old drive will remain marked as "bad/do not use" on the new one. Is this the case on linux? Also, don't HDDs and SSD's store data in fundamentally different ways? Would this have an impact when mirroring?
                For the first question, I'm not sure. I have not dealt with mirroring on Linux myself though reading through the procedure is the same.

                As for the second, the differences are hardware based and largely irrelevant. What needs to be identical is the File Allocation Table format as that is software based and is what determines how the information is stored and retrieved on a software scale. How it's stored on the drive physically is a matter for the control board which interprets access requests and data transmissions between the drive and the system.
                I AM the evil bastard!
                A+ Certified IT Technician

                Comment


                • #9
                  I wouldn't bother with a 1TB SSD. That will get expensive.

                  I have a 126GB SSD that has my OS and apps on it. I then have a pair of 1TB HDDs, mirrored, for /home, where I keep all my data. I use LVM for the mirroring.

                  As you didn't say which distro you are using. Each has it's own quirks.

                  Linux has all the utilities you need to copy the drive. How you do it depends on a number of things. Bare partitions or Logical Volume Management (LVM) Do you want to move to LVM? Do you want to move to something like what I have?

                  Short description:
                  Layout your partitions on the new drive
                  Install boot block
                  Copy file from - to each partition.
                  Swap drives New drive need to be at the same device location as old was. i.e. /dev/sda
                  Boot to new drive.

                  EricKei - Usually not. Block relocation is usually handled at the drive. If you have used all your spare blocks and the file system is now reallocating, then a volume/block level copy will copy the flags. A file level copy won't.
                  Life is too short to not eat popcorn.
                  Save the Ales!
                  Toys for Tots at Rooster's Cafe

                  Comment


                  • #10
                    Quoth csquared View Post
                    I wouldn't bother with a 1TB SSD. That will get expensive.

                    As you didn't say which distro you are using. Each has it's own quirks.

                    Linux has all the utilities you need to copy the drive. How you do it depends on a number of things. Bare partitions or Logical Volume Management (LVM) Do you want to move to LVM? Do you want to move to something like what I have?
                    I'm using Ubuntu, latest Desktop version.

                    All I really want to do is take everything on my HDD and copy it to a SSD, and have it work.

                    Of course, since my Linux computer is so slow right now in its setup, simply upgrading the processor, RAM, and motherboard may make it sufficiently fast for me.
                    Skilled programmers aren't cheap. Cheap programmers aren't skilled.

                    Comment


                    • #11
                      Quoth csquared View Post
                      I wouldn't bother with a 1TB SSD. That will get expensive.
                      Terabyte SSDs are getting relatively cheap. HuevoNuevo has 1TB SSDs starting at $102. If you want them sold through but not by HuevoNuevo, they start at $63.

                      Of course, I don't know how good they are...
                      Skilled programmers aren't cheap. Cheap programmers aren't skilled.

                      Comment


                      • #12
                        Wow. They have come down in price. I paid that for my 126GB SSD a few years ago. I checked NewEgg, and saw the high end brands at under $150 for a 1TB SSD.

                        I withdraw my early statements.

                        I would recommend that you mirror the data to another SSD or make backups every night. SSDs are not as forgiving as HDDs when they fail.
                        Life is too short to not eat popcorn.
                        Save the Ales!
                        Toys for Tots at Rooster's Cafe

                        Comment


                        • #13
                          Quoth csquared View Post
                          I would recommend that you mirror the data to another SSD or make backups every night. SSDs are not as forgiving as HDDs when they fail.
                          Your last sentence here makes me think I should stick with the HDD instead of moving to a SSD -- at least for now.
                          Skilled programmers aren't cheap. Cheap programmers aren't skilled.

                          Comment


                          • #14
                            SSDs are usually pretty stable. They DO eventually ...wear out. The individual memory locations can handle unlimited READs, but only so many WRITEs. Memory locations typically only fail during a write operation, which gets noticed by the drive. As each portion starts failing, the drive will remap to spares as available, then start shrinking in size reported to the system. When a drive starts shrinking, it's time to get the replacement.
                            With traditional HDDs, everything is on a spinning magnetic-coated platter. Any physical defect/damage can start creeping out from that point. Information can be lost from any point, regardless of being used or not.

                            Now as to keeping the SSD healthy, as above, they are great for FAST operations, and can read unlimited times. Most normal operation is just fine. What WILL eat a SSD early is write-heavy operations. Putting virtual memory (swap file, for some of us older hands) on a SSD isn't such a good thing, and defragging an SSD is not needed, period.
                            Traditional HDDs don't really wear out on read/write operations, so putting the virtual memory THERE would be the good thing.

                            Nightly backups... ??? Is this for a major business with critical daily transactions running through it?

                            Comment


                            • #15
                              Quoth lordlundar View Post
                              For the first question, I'm not sure. I have not dealt with mirroring on Linux myself though reading through the procedure is the same.
                              Mkay. Note that I'm talking about a direct "ghost" from one drive to the other -- NOT setting up partitions, OS, etc ahead of time, but a literal, old-fashioned bit-for-bit clone of the drive directly from OldDrive:> to NewDrive:> ... It seems this is not being done here, so *whew* ^_^

                              Quoth csquared View Post
                              Wow. They have come down in price. I paid that for my 126GB SSD a few years ago.
                              Same here. Good to hear they're getting down to reasonable prices.
                              "For a musician, the SNES sound engine is like using Crayola Crayons. Nobuo Uematsu used Crayola Crayons to paint the Sistine Chapel." - Jeremy Jahns (re: "Dancing Mad")
                              "The difference between an amateur and a master is that the master has failed way more times." - JoCat
                              "Thinking is difficult, therefore let the herd pronounce judgment!" ~ Carl Jung
                              "There's burning bridges, and then there's the lake just to fill it with gasoline." - Wiccy, reddit
                              "Retail is a cruel master, and could very well be the most educational time of many people's lives, in its own twisted way." - me
                              "Love keeps her in the air when she oughta fall down...tell you she's hurtin' 'fore she keens...makes her a home." - Capt. Malcolm Reynolds, "Serenity" (2005)
                              Acts of Gord – Read it, Learn it, Love it!
                              "Our psychic powers only work if the customer has a mind to read." - me

                              Comment

                              Working...
                              X