Mailinglist Archive: opensuse (3232 mails)

< Previous Next >
Re: [SLE] HDD Upgrade
  • From: Pete Connolly <pete.connolly@xxxxxxxxxxxxxx>
  • Date: Tue, 1 Aug 2006 21:06:30 +0000 (UTC)
  • Message-id: <200608012206.24334.pete.connolly@xxxxxxxxxxxxxx>
On Tuesday 01 August 2006 19:10, Ken Schneider wrote:
> On Tue, 2006-08-01 at 09:53 -0600, Darryl Gregorash wrote:
> > On 01/08/06 09:45, Darryl Gregorash wrote:
> > >logout all users
> > >login as root
> > >mv /home /oldhome
> > >make /etc/fstab entry for /home
> > >mount /home
> > >move contents of /oldhome to /home
> > >delete /oldhome and contents (rm -R /oldhome, IIRC)
> >
> > Oops, to preserve permissions, links, etc more easily, "move contents of
> > /oldhome to /home" should be:
> >
> > cp --preserve /oldhome/* /home
>
> rsync -ar works a treat and preserves owner/modes.
>

Hi Ken

Yep, that's what I used frequently when preparing to move from my old 80Gb to
the new 250Gb drive. Worked a treat and was intelligent enough not to synch
every file every time. Took a bit of time on the initial synch, then I could
take my time and, when comfortable with the contents of the new disk, do a
final switchover.

Pretty painless.

Cheers

Pete

< Previous Next >