Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 14:42:37 -0500 (CDT)
From:      Mike Meyer <mwm@mired.org>
To:        Jim Thario <jim@thario.com>
Cc:        questions@freebsd.org
Subject:   Re: Moving partitions
Message-ID:  <14814.11053.612588.948322@guru.mired.org>
In-Reply-To: <67616234@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Thario writes:
> I have a 686 running FreeBSD 4.x with a 4 gigabyte hard disk. I'm going
> to add a 15 gigabyte disk to the machine and split the space on this
> disk between /var and /usr/home. Once the drive is installed,
> partitioned, formatted, ready and willing - is there anything special I
> need to consider when copying the directories and files over?
> 
> Here is my process: mount the new /var parition as /newvar, for
> instance, and do a "cp -Rp" to copy everything over from /var to the
> /newvar partition. I will do the copy in single-user mode for extra
> safety. Next, I would add the entries into /etc/fstab for the new
> partition and restart the system. If that works, I will do the same for
> /usr/home.
> Am I missing anything?

Yes - you'll hose hard links.

> Is there a better or safer way to move this stuff?

Check the FAQ <URL:
http://www.freebsd.org/FAQ/admin.html#dmin.html#AEN2922 >.

	<mike



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14814.11053.612588.948322>