Re: FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread Charles Ulrich

Vince Hoffman said:
> Other than what you have already mentioned then no not realy. By the way
> I (and i think it suggests in the handbook to) keep my kernel config in a
> subdirectory of my home directory and just symlink it to
> /usr/src/i386/conf as i have been know to blow away the entire /usr/src
> directory occasionaly.

That is a great idea, of course, until you accidently blow away your home
directory like I did recently. :P There are two files now that I always keep
squirreled away somewhere safe: XF86Config the the kernel config.

I'm thinking of putting my configuration files (and perhaps home directory)
into subversion at some point in the distant future for additional protection
and safe-keeping.

-- 
Charles Ulrich
System Administrator
Ideal Solution - http://www.idealso.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread jon
>I'm planning on making two partions for data found on /usr:
>Does this stretegy sound at all intelligent?

Yes, it sounds like a good plan for all the reasons you stated.

>I'm planning on making /usr 4G, and /usr2 6G.  Does that sound sane?

I'm running 5.2.1 with X, apache, samba, and 162 ports installed and
df is reporting usage at 2.5 gig including the usr/src directory.  It
sounds like under your configuration a 4G /usr will result in a little
less than 50% usage, which is reasonable to allow growth although it
could be argued that /usr could be decreased a bit.  My current src
tree is weighing in at 375MB.  My ports directory is coming in at 351MB.
So 6G for the src disk sounds like a lot.  But disk space is cheap so
if you've got it, go for it.

J
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread Vince Hoffman


On Wed, 18 Aug 2004, Vince Hoffman wrote:

>
>
> On Wed, 18 Aug 2004, Terry wrote:
>
> > I'm planning on making two partions for data found on /usr:
> >
> > /usr2   which holds ports, src, and obj; and
> > /usrwhich holds everything else.
> >
> > the /usr2 directories would be symlinked to /usr.
> >
> > The reason I want to do this is because I have a different backup strategy
> > for the contents of /usr vs. /usr2.  (I.e., if there's a disk failure, I
> > can get up-and-running fast without restoring (a recent) /usr2, and can
> > fully rebuild /usr2 with cvsup + make).
> >
> > One directory I wasn't sure about was /usr/src.  How important is it to
> > back up?  The only crucial thing in /usr/src that comes to mind is my
> > kernel conf (in /usr/src/sys/i386/conf/).  I'm planning on either keeping
> > that directory on /usr or scripting it to be copied periodically so that
> > it's regularly backed up.
> >
> > Is there anything else in /usr/src I should concern myself with?  (I
> > recall having had to download custom source patches for certain
> > semi-supported devices, and sometimes these would be good to back up more
> > frequently.  However, a cvsup of /usr/src would stomp over those
> > customizations anyway (or might render them unneeded), so I think those
> > should be backed up in a different manner than via a dump of /usr/src.
> > Does that make sense?)
>
> Other than what you have already mentioned then no not realy. By the way
> I (and i think it suggests in the handbook to) keep my kernel config in a
> subdirectory of my home directory and just symlink it to
> /usr/src/i386/conf as i have been know to blow away the entire /usr/src
> directory occasionaly.

Sorry tired and distracted, I meant yes it does make sense. (answered your
question as i had somehow rephrased it in my head)

>
> >
> >
> > Does this stretegy sound at all intelligent?  Is there anything else I
> > should consider?
> >
> >
> > Notes:
> > - my /home is on its own partition (not on /usr) for its own backup schedule
> > - I'm using dump/restore for backups
> > - This is a FreeBSD 5.2.1 system
> > - I'm planning on making /usr 4G, and /usr2 6G.  Does that sound sane?
> > (I'm making /usr2 larger than I initially planned, but having recently
> > built /usr/ports/java/jdk14 which requires 1.7G of working space alone,
> > this size seems reasonable.)
> > - For now, these partitions will be on the same physical ATA drive.
> > - This machine will be a general-purpose server (mail, web, samba, shell,
> > etc.) -- i.e., not an X workstation
> >
> >
> > I know partitioning schemes have been covered many times over and that the
> > ideal setup depends on individual needs.  However, my searches haven't
> > revealed any specific information for my objectives, so hopefully this
> > question isn't redundant.
> >
> >
> > --
> > terry
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread Vince Hoffman


On Wed, 18 Aug 2004, Terry wrote:

> I'm planning on making two partions for data found on /usr:
>
> /usr2   which holds ports, src, and obj; and
> /usrwhich holds everything else.
>
> the /usr2 directories would be symlinked to /usr.
>
> The reason I want to do this is because I have a different backup strategy
> for the contents of /usr vs. /usr2.  (I.e., if there's a disk failure, I
> can get up-and-running fast without restoring (a recent) /usr2, and can
> fully rebuild /usr2 with cvsup + make).
>
> One directory I wasn't sure about was /usr/src.  How important is it to
> back up?  The only crucial thing in /usr/src that comes to mind is my
> kernel conf (in /usr/src/sys/i386/conf/).  I'm planning on either keeping
> that directory on /usr or scripting it to be copied periodically so that
> it's regularly backed up.
>
> Is there anything else in /usr/src I should concern myself with?  (I
> recall having had to download custom source patches for certain
> semi-supported devices, and sometimes these would be good to back up more
> frequently.  However, a cvsup of /usr/src would stomp over those
> customizations anyway (or might render them unneeded), so I think those
> should be backed up in a different manner than via a dump of /usr/src.
> Does that make sense?)

Other than what you have already mentioned then no not realy. By the way
I (and i think it suggests in the handbook to) keep my kernel config in a
subdirectory of my home directory and just symlink it to
/usr/src/i386/conf as i have been know to blow away the entire /usr/src
directory occasionaly.

>
>
> Does this stretegy sound at all intelligent?  Is there anything else I
> should consider?
>
>
> Notes:
> - my /home is on its own partition (not on /usr) for its own backup schedule
> - I'm using dump/restore for backups
> - This is a FreeBSD 5.2.1 system
> - I'm planning on making /usr 4G, and /usr2 6G.  Does that sound sane?
> (I'm making /usr2 larger than I initially planned, but having recently
> built /usr/ports/java/jdk14 which requires 1.7G of working space alone,
> this size seems reasonable.)
> - For now, these partitions will be on the same physical ATA drive.
> - This machine will be a general-purpose server (mail, web, samba, shell,
> etc.) -- i.e., not an X workstation
>
>
> I know partitioning schemes have been covered many times over and that the
> ideal setup depends on individual needs.  However, my searches haven't
> revealed any specific information for my objectives, so hopefully this
> question isn't redundant.
>
>
> --
> terry
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread Terry
I'm planning on making two partions for data found on /usr:

/usr2   which holds ports, src, and obj; and
/usrwhich holds everything else.

the /usr2 directories would be symlinked to /usr.

The reason I want to do this is because I have a different backup strategy
for the contents of /usr vs. /usr2.  (I.e., if there's a disk failure, I
can get up-and-running fast without restoring (a recent) /usr2, and can
fully rebuild /usr2 with cvsup + make).

One directory I wasn't sure about was /usr/src.  How important is it to
back up?  The only crucial thing in /usr/src that comes to mind is my
kernel conf (in /usr/src/sys/i386/conf/).  I'm planning on either keeping
that directory on /usr or scripting it to be copied periodically so that
it's regularly backed up.

Is there anything else in /usr/src I should concern myself with?  (I
recall having had to download custom source patches for certain
semi-supported devices, and sometimes these would be good to back up more
frequently.  However, a cvsup of /usr/src would stomp over those
customizations anyway (or might render them unneeded), so I think those
should be backed up in a different manner than via a dump of /usr/src. 
Does that make sense?)


Does this stretegy sound at all intelligent?  Is there anything else I
should consider?


Notes:
- my /home is on its own partition (not on /usr) for its own backup schedule
- I'm using dump/restore for backups
- This is a FreeBSD 5.2.1 system
- I'm planning on making /usr 4G, and /usr2 6G.  Does that sound sane? 
(I'm making /usr2 larger than I initially planned, but having recently
built /usr/ports/java/jdk14 which requires 1.7G of working space alone,
this size seems reasonable.)
- For now, these partitions will be on the same physical ATA drive.
- This machine will be a general-purpose server (mail, web, samba, shell,
etc.) -- i.e., not an X workstation


I know partitioning schemes have been covered many times over and that the
ideal setup depends on individual needs.  However, my searches haven't
revealed any specific information for my objectives, so hopefully this
question isn't redundant.


--
terry
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"