Mailinglist Archive: opensuse (3232 mails)
| < Previous | Next > |
Re: [SLE] HDD Upgrade
- From: Darryl Gregorash <raven@xxxxxxxxxxxxx>
- Date: Tue, 1 Aug 2006 17:09:24 +0000 (UTC)
- Message-id: <44CF8AAF.1000406@xxxxxxxxxxxxx>
On 01/08/06 10:53, jdd sur free wrote:
> <snip>
>
>> mv /home /oldhome (rename, wont use more disk room)
>
> mkdir /home as mounting point
Doh!
>
> > mount /home /your new disk partition (hdb1?)
>
>> make /etc/fstab entry for /home (5. modify /etc/fstab to include
>> /dev/hdxx /home reiserfs
> acl,user_xattr 1 3)
If the fstab entry is made first, then you only need "mount /home", no
need to type anything else.
>
>> move contents of /oldhome to /home
> mv wont do across disks AKAIK. cp -a or tar instead
Probably cp -a is best, at least IMO (which also makes a correction to
my correction -- I forgot to specify a recursive copy).
>
> return to init 3 or 5 (your usual one)
>
> test and retest the move, where there soft links in /home?
cp --preserve, or perhaps cp --preserve=all, will copy soft links as links.
> <snip>
>
>> mv /home /oldhome (rename, wont use more disk room)
>
> mkdir /home as mounting point
Doh!
>
> > mount /home /your new disk partition (hdb1?)
>
>> make /etc/fstab entry for /home (5. modify /etc/fstab to include
>> /dev/hdxx /home reiserfs
> acl,user_xattr 1 3)
If the fstab entry is made first, then you only need "mount /home", no
need to type anything else.
>
>> move contents of /oldhome to /home
> mv wont do across disks AKAIK. cp -a or tar instead
Probably cp -a is best, at least IMO (which also makes a correction to
my correction -- I forgot to specify a recursive copy).
>
> return to init 3 or 5 (your usual one)
>
> test and retest the move, where there soft links in /home?
cp --preserve, or perhaps cp --preserve=all, will copy soft links as links.
| < Previous | Next > |