Date: Sun, 14 Jan 2007 02:55:34 +0300 From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org> To: "Daniel A." <ldrada@gmail.com> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: Put /usr on a different drive Message-ID: <cb5206420701131555o6931e0d1ha4138d71c98f2a46@mail.gmail.com> In-Reply-To: <5ceb5d550701131508t2922edccw5c4ff5c769012aa7@mail.gmail.com> References: <5ceb5d550701131508t2922edccw5c4ff5c769012aa7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/14/07, Daniel A. <ldrada@gmail.com> wrote: > Hi, > I'm wondering if someone could point me in the right direction of > moving the entire /usr partition to a second hard disk, given that I > am on an existing (newly installed) install of FreeBSD. First, you need to copy all the stuff over. You can use dump(8)/restore(8), or mount /usr read-only, new /usr read-write (under a temporary mount point like /mnt) and use tar(1), cpio(1L), or cp(1). Then it's just a matter of unmounting /usr and mounting your new device under this mount point. Don't forget to edit the fstab(5) entry. > Also, is it possible to specify something like this during the > installation itself? Just partition your second drive and define any mount point on any of it's partitions - everything will be fine.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420701131555o6931e0d1ha4138d71c98f2a46>