[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Merging /home partition into / partition
- From: Stefan Wold <s wold wineasy se>
- To: <redhat-install-list redhat com>
- Subject: Re: Merging /home partition into / partition
- Date: Thu, 22 Mar 2001 16:33:11 +0100 (CET)
First make a new temporary dir "mkdir /newhome" for example. Then mount
your new drive harddrive to /newhome. Then to be sure you really get the
right permissions, first change dir to your old home (/home) then issue
this command: "tar -cpf - *|(cd /newhome; tar -xvf -)" Then check that all
files and permissions where transfered to /newhome from /home. After that
change the mountpoint for /dev/sdb1 in your /etc/fstab file so it now
points on /home instead of /dev/sda4. Either you reboot or manually do the
mounting so you get sdb1 to /home.
Sincerely
Stefan Wold Vxl: +46 8 56311000 Wineasy AB
Staff, Sysadmin UNIX Fax: +46 8 56311010 AGA / Dalénum, Hus 113, 3TR
Mob: +46 701 880093 181 70 Lindingö
Tel: +46 8 56311093 Sweden
On Thu, 22 Mar 2001, Anurag Jalan wrote:
> Hi all,
>
> On my server's 1st hard drive I have 3 non-swap partions
>
> / sda ( 63 % used )
> /boot ( 6 % used )
> /home sda4 ( 73 % used )
>
> I want to move my /home to a new HD /dev/sdb
> I partitioned /dev/sdb into a single partition /dev/sdb1
> Mounted /mnt/disk2/home on /dev/sdb1 in fstab
> did a cp -a /home/* /mnt/disk2/home/
>
> At this point i am getting stuck :(
> /home contains all my SAMBA and Apache directories .
> I want to merge the present /home partition with / .
> I tried to rm -r /home and create a link :
> ln -s /mnt/disk2/home /home , but Linux says, that /home is
> not a file or directory .. what should I do ?
>
> Regards
> Anurag
>
>
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]