Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: migrating disks (from mounts to disklabels
Date: Fri, 19 Nov 2010 18:07:10
Message-Id: 201011191948.56340.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Re: migrating disks (from mounts to disklabels by nunojsilva@ist.utl.pt (Nuno J. Silva)
1 Apparently, though unproven, at 17:55 on Friday 19 November 2010, Nuno J.
2 Silva did opine thusly:
3
4 > Alan McKinnon <alan.mckinnon@×××××.com> writes:
5 > > Apparently, though unproven, at 23:59 on Wednesday 17 November 2010,
6 > > James did
7 > >
8 > > opine thusly:
9 > >> Hello,
10 > >>
11 > >> I have a ~250 gig sata disk I want to migrate to a 2T
12 > >> Sata disk. This is simple, but, I have a few caveats.
13 >
14 > [...]
15 >
16 > > Now just rsync everything in /mnt/sda* to the right place in /mnt/sdb
17 >
18 > Some weeks ago, I did this kind of migration. I ended up using good ol'
19 > tar - after lots of research, it was the only way I found to be sure
20 > hard links would still be linked in the new filesystem.
21 >
22 > IIRC, rsync does not deal with hard links, or am I mistaken?
23
24
25 man rsync;
26
27 -H, --hard-links preserve hard links
28
29 --
30 alan dot mckinnon at gmail dot com