Mailinglist Archive: opensuse (3232 mails)
| < Previous | Next > |
Re: [SLE] HDD Upgrade
- From: Darryl Gregorash <raven@xxxxxxxxxxxxx>
- Date: Tue, 1 Aug 2006 15:53:18 +0000 (UTC)
- Message-id: <44CF78EA.5060900@xxxxxxxxxxxxx>
On 01/08/06 09:45, Darryl Gregorash wrote:
>On 01/08/06 06:46, Brian Blater (BBList) wrote:
>
>>>>>On Mon, Jul 31, 2006 at 7:36 PM, in message
>>>>>
>>>>>
>><9CABE881-FDF7-4A5B-98D9-EB7BEABC7AB8@xxxxxxx>, <suse_gasjr4wd@xxxxxxx> wrote:
>>
>>
>>>Or, better yet leave the 40 GB the boot disk and make the 80 GB home.
>>>Having the 80 for home will free up space on the 40 for the other
>>>partitions, but the home partitions usually take up the most space
>>>as that is where all your "stuff" is.
>>>
>>>
>>>
>>I think I will give this a shot and put the 40G back as the main drive and mount /home to the 80G. Since I've never done this before, let me know if these are the correct steps:
>>1. copy -a or tar /home to /oldhome.
>>2. partition new drive
>>3. mkdir /home on new drive
>>4. mount new drive and move the old /oldhome files to /home
>>5. modify /etc/fstab to include /dev/hdxx /home reiserfs acl,user_xattr 1 3
>>
>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
>On 01/08/06 06:46, Brian Blater (BBList) wrote:
>
>>>>>On Mon, Jul 31, 2006 at 7:36 PM, in message
>>>>>
>>>>>
>><9CABE881-FDF7-4A5B-98D9-EB7BEABC7AB8@xxxxxxx>, <suse_gasjr4wd@xxxxxxx> wrote:
>>
>>
>>>Or, better yet leave the 40 GB the boot disk and make the 80 GB home.
>>>Having the 80 for home will free up space on the 40 for the other
>>>partitions, but the home partitions usually take up the most space
>>>as that is where all your "stuff" is.
>>>
>>>
>>>
>>I think I will give this a shot and put the 40G back as the main drive and mount /home to the 80G. Since I've never done this before, let me know if these are the correct steps:
>>1. copy -a or tar /home to /oldhome.
>>2. partition new drive
>>3. mkdir /home on new drive
>>4. mount new drive and move the old /oldhome files to /home
>>5. modify /etc/fstab to include /dev/hdxx /home reiserfs acl,user_xattr 1 3
>>
>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
| < Previous | Next > |