Need to move parition

Matthew Carpenter matt
Mon May 17 11:33:33 PDT 2004


You can do anything you want.  Your best bet would be to move (copy if you
like backup) the contents of /home to /usr/home (which will be a directory
/home on sda2).  Then, umount /home and delete the /home directory from
the root partition.  The final part is to create a softlink to make it
LOOK like /home sits at /home.  type the following command at this point:
ln -s /usr/home /home

That will create the link and /home will be available as long as /usr is
mounted.

On Tue, 18 Jun 2002 20:16:07 -0500
"Brett I. Holcomb" <bholcomb at R777cableone.net> wrote:

> I'm running Caldera 3.1 WS with three scsi drives.  One drive (sdb) is 
> going bad.  I moved /var from /dev/sdb4 to /var on my root partition 
> (/dev/sda1) and that worked - except cups doesn't print anymore but I'll
> 
> fix that later.
> 
> I have /home on /dev/sdb3 and need to move it somewhere else.  It won't
> fit on any partition but /dev/sda2 which is currently mounted as /usr.  
>  I 
> went to the SxS and the man pages.  Is there anyway I can copy /home to
> say /usr/home and then mount it as /home?  I tried various forms of
> mount and can't make it work.  I don't have spare partitions on this
> system to use either.  I just need to keep it running until I can get my
> RH 7.3 system delivered and installed.
> 
> My swap partition is also on the bad drive but I don't have anywhere to 
> move it.
> 
> Thanks.
> 
> -- 
> Brett I. Holcomb
> bholcomb at R777cableone.net
> AKA Grunt <><
> Registered Linux User #188143
> Remove R777 to email
> _______________________________________________
> Linux-users mailing list -
> http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the
> above URL.



More information about the Linux-users mailing list