Date: Wed, 27 Mar 2002 11:43:44 -0500 From: Bob Johnson <bob@eng.ufl.edu> To: pruiter@indigored.com Cc: questions@freebsd.org Subject: Re: /usr/home on separate disk? Message-ID: <3CA1F6C0.990F6949@eng.ufl.edu>
next in thread | raw e-mail | index | archive | help
> > Date: Tue, 26 Mar 2002 01:22:49 -0500 > From: "P.B. Ruiter" <pruiter@indigored.com> > Subject: /usr/home on separate disk? > > Hi, > I just installed a new freebsd box with two ide drives. As I intend to use > this as dedicated file/print/samba server on a mixed small office network, I > thought it a good idea to dedicate one drive to /usr/home. I installed > 4.5-Release as such with default settings for drive 0 and a single slice > /usr/home on drive 1 (and swap on both). > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 128990 31748 86924 27% / > /dev/ad0s1f 257998 4 237356 0% /tmp > /dev/ad0s1g 9044900 786382 7534926 9% /usr > /dev/ad1s1e 19099614 20 17571626 0% /usr/home > /dev/ad0s1e 257998 738 236622 0% /var > > > I realize there is already a /usr/home under /usr. How do I get rid of this > and point it to my /usr/home on ad1s1e? I tried rmdir /home within /usr - > this only gave me a busy reply. Please help... > It is already there. /usr/home IS /dev/ad1s1e. When you mount a partition at a point in the filesystem, it appears at that point. I.E. when you mount /dev/ad1s1e at /usr/home, everything in that partition will appear under /usr/home (in your case, it was automatically mounted at boot time). If you installed FreeBSD first, and then added /dev/ad1s1e to the existing system later, there will be a /usr/home on /dev/ad0s1g that you can not access when /dev/ad1s1e is mounted. No big deal, if it is empty it only takes up a couple of sectors of disk space. If you had ad1 in place when you installed FreeBSD, and told the installer to create ad1s1e and mount it as /usr/home as part of the install process, then you don't even have to worry about that. Based on your description of what you did, I think you have nothing to worry about. > Pieter > - Bob 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?3CA1F6C0.990F6949>