Re: Migrate OS to smaller drive?



On 2010-04-11 08:11, Clive McBarton wrote:

Sjoerd Hardeman wrote:
mount the new device (mount -odev /dev/newdevice), and do a
rsync -ax / /media/newdevice.

What exactly is the advantage of this approach over "cp -a" or "mv"?

I would have suggested mv. It has the useful property that you can
easily spot aborted transfers by the fact that the original device is
not empty afterwards.

One note is that I've had issues where symlinks remain pointing to the old drive. (That was a long time ago, though, and maybe I did something wrong.)

tar might also work, given the appropriate flags.

--
Dissent is patriotic, remember?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4BC1E301.8020105@xxxxxxx



Relevant Pages

  • Re: Migrate OS to smaller drive?
    ... It has the useful property that you can ... easily spot aborted transfers by the fact that the original device is ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: why does resolv.conf change?
    ... On 2010-03-18 17:45, James Zuelow wrote: ... On 2010-03-18 16:14, Clive McBarton wrote: ... nameserver xx.yy.zz.aa ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: why does resolv.conf change?
    ... On 2010-03-18 16:14, Clive McBarton wrote: ... nameserver xx.yy.zz.aa ... Obsession with "preserving cultural heritage" is a racist impediment ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: /boot partition changes when it should not
    ... On 2010-03-10 18:58, Clive McBarton wrote: ... I used that and found out that the last mount & last write time are ... Ron Johnson, Jr. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Single root filesystem evilness decreasing in 2010? (on workstations)
    ... On Sun, 28 Feb 2010, Clive McBarton wrote: ... With improvements in disk capacity outstripping improvements in disk i/o by a significant margin 1:2 would mean that the system would be effectively unusable from thrashing long before you had used half of the allocated swap. ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)