Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #168539

Re: Advice sought re HDD --> SSD migration

From Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups linux.debian.user
Subject Re: Advice sought re HDD --> SSD migration
Date 2016-06-04 21:00 +0200
Message-ID <rGoXD-4Gb-3@gated-at.bofh.it> (permalink)
References <rGhMu-8gX-9@gated-at.bofh.it> <rGj1U-Jt-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 'dd' will at best get you a 500GB disk on your new 900G SSD.

Not at all.  You can easily use the remaining space afterwards.

As for me, I indeed wouldn't use `dd` in your case.  Because instead,
I'd move to LVM.  I.e. setup an LVM volume group on your new disk, and
create logical volumes for / and /home (and maybe /boot as well since
Grub can now boot off of LVM, but I tend to keep my /boot partition
outside of LVM).

Then use `cp -a` (or `rsync`) to copy stuff from your old disk to the
new.  You can definitely do that while the system is up and running (no
need to boot with some other live image.  I've done that many times and
never had a problem), tho you probably do want to try and make sure that
it's sufficiently idle.  If you want to use `dd`, then indeed you should
make sure the source partition is not mounted (or is mounted read-only),
otherwise you could end up with a new filesystem that's too corrupted.


        Stefan

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Advice sought re HDD --> SSD migration Mark Fletcher <mark27q1@gmail.com> - 2016-06-04 13:20 +0200
  Re: Advice sought re HDD --> SSD migration Dan Purgert <dan@djph.net> - 2016-06-04 14:40 +0200
    Re: Advice sought re HDD --> SSD migration Stefan Monnier <monnier@iro.umontreal.ca> - 2016-06-04 21:00 +0200
  Re: Advice sought re HDD --> SSD migration David Christensen <dpchrist@holgerdanske.com> - 2016-06-04 22:40 +0200
    Re: Advice sought re HDD --> SSD migration Mark Fletcher <mark27q1@gmail.com> - 2016-06-05 13:50 +0200
      Re: Advice sought re HDD --> SSD migration Felix Miata <mrmazda@earthlink.net> - 2016-06-05 14:40 +0200
        Re: Advice sought re HDD --> SSD migration Mark Fletcher <mark27q1@gmail.com> - 2016-06-05 15:20 +0200
          Re: Advice sought re HDD --> SSD migration <tomas@tuxteam.de> - 2016-06-05 15:50 +0200
        Re: Advice sought re HDD --> SSD migration David Wright <deblis@lionunicorn.co.uk> - 2016-06-05 16:10 +0200
          Re: Advice sought re HDD --> SSD migration Mark Fletcher <mark27q1@gmail.com> - 2016-06-05 17:00 +0200
      Re: Advice sought re HDD --> SSD migration David Christensen <dpchrist@holgerdanske.com> - 2016-06-06 00:30 +0200
        Re: Advice sought re HDD --> SSD migration Mark Fletcher <mark27q1@gmail.com> - 2016-06-09 16:20 +0200
          Re: Advice sought re HDD --> SSD migration David Wright <deblis@lionunicorn.co.uk> - 2016-06-09 20:40 +0200
          Re: Advice sought re HDD --> SSD migration Jonathan Dowland <jmtd@debian.org> - 2016-06-10 12:20 +0200
            Re: Advice sought re HDD --> SSD migration Mark Fletcher <mark27q1@gmail.com> - 2016-06-10 16:30 +0200
  Re: Advice sought re HDD --> SSD migration Jonathan Dowland <jmtd@debian.org> - 2016-06-10 12:30 +0200

csiph-web