Re: file system on 9.0

2011-11-20 Thread Jerry McAllister
On Sun, Nov 20, 2011 at 11:25:35AM +, Thomas Mueller wrote:

> from darc...@gmail.com (Denise H. G.):
> 
> > I strongly advise that /usr and /usr/local reside on different
> > partitions. Furthermore, If you plan to run a desktop environment, your
> > /usr/local should be big enough, say 8G - 10G, to hold all stuff you
> > built from the ports. And putting /var on a separate partitiion is a
> > good idea, I think.
>  
> 
> I don't like to put /var on a separate partition because of the danger 
> of running short of space.  I had nervous moments when running 
> freebsd-update on the older computer and seeing the used part of /var grow.

For that very reason, I put /var on a separate partition.   Stuff being
written to /var is most likely to over run stuff and trash a / partition.

jerry





> 
> I don't really see a need to put /usr/local on a separate partition, though 
> conceivably you could build applications with both FreeBSD ports and NetBSD 
> pkgsrc, but keep these separate.  NetBSD pkgsrc has been ported to other 
> (quasi-)Unixes including FreeBSD.  Default directory corresponding to 
> FreeBSD's /usr/local is /usr/pkg .
> 
> I think I like FreeBSD ports better than NetBSD pkgsrc, the latter which I 
> used only with NetBSD.
> 
> I originally installed FreeBSD 9.0-BETA1 using bsdinstall on the USB stick, 
> including the ports.
> 
> There was a conflict when I ran "portsnap fetch update", that didn't work.  I 
> had to run "portsnap fetch" and "portsnap extract", scrapping the ports tree 
> from bsdinstall in favor of the fresh ports tree.  So now I know best to not 
> install ports tree from bsdinstall; this would presumably apply for 
> sysinstall too.
> 
> Tom
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: file system on 9.0

2011-11-20 Thread Denise H. G.

On 2011/11/20 at 19:25, "Thomas Mueller"  wrote:
> 
> from darc...@gmail.com (Denise H. G.):
>> I strongly advise that /usr and /usr/local reside on different
>> partitions. Furthermore, If you plan to run a desktop environment,
>> your /usr/local should be big enough, say 8G - 10G, to hold all
>> stuff you built from the ports. And putting /var on a separate
>> partitiion is a good idea, I think.
>  
>> You can find detailed information on how to lay out and size your
>> partitions in tuning(7) either locally or online.
> 
> The one directory I really want to put on a separate partition is
> /home . That way, you can fully rebuild/redo your system and keep user
> data.
> 

Yes. I always put /home on a separate partition. Actually, my /home is
on a ZFS partition which is of more scalability and easier snapshots.

> I don't like to put /var on a separate partition because of the danger
> of running short of space. I had nervous moments when running
> freebsd-update on the older computer and seeing the used part of /var
> grow.

I always size /var to 2G or 3G, which is typical for me. I seldom run
freebsd-update, but upgrade from sources instead. I only encountered
problems with Xorg that crashed filling up /var with core dumps...

> 
> I don't really see a need to put /usr/local on a separate partition,
> though conceivably you could build applications with both FreeBSD
> ports and NetBSD pkgsrc, but keep these separate. NetBSD pkgsrc has
> been ported to other (quasi-)Unixes including FreeBSD. Default
> directory corresponding to FreeBSD's /usr/local is /usr/pkg .
> 

It is long before I started thinking of joining /usr and /usr/local into
one partition. However, my current installation dates back to FreeBSD 6
or 7. Many things changed exept the filesystem layout.

> I think I like FreeBSD ports better than NetBSD pkgsrc, the latter
> which I used only with NetBSD.
> 
> I originally installed FreeBSD 9.0-BETA1 using bsdinstall on the USB
> stick, including the ports.
> 
> There was a conflict when I ran "portsnap fetch update", that didn't
> work. I had to run "portsnap fetch" and "portsnap extract", scrapping
> the ports tree from bsdinstall in favor of the fresh ports tree. So
> now I know best to not install ports tree from bsdinstall; this would
> presumably apply for sysinstall too.

I guess 'portsnap fetch update' is run only after the ports tree is
there. For a fresh install of the ports tree, 'portsnap fetch extract'
is the correct way. For me, I only pull the ports tree with 'portsnap'.
That way, I can complete a fresh install of FreeBSD in less than 20
minutes.

> 
> Tom
> 
> 
> 



-- 
If you've got them by the balls,
their hearts and minds will follow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: file system on 9.0

2011-11-20 Thread Thomas Mueller
from darc...@gmail.com (Denise H. G.):

> I strongly advise that /usr and /usr/local reside on different
> partitions. Furthermore, If you plan to run a desktop environment, your
> /usr/local should be big enough, say 8G - 10G, to hold all stuff you
> built from the ports. And putting /var on a separate partitiion is a
> good idea, I think.
 
> You can find detailed information on how to lay out and size your
> partitions in tuning(7) either locally or online.

The one directory I really want to put on a separate partition is /home .
That way, you can fully rebuild/redo your system and keep user data.

I don't like to put /var on a separate partition because of the danger of 
running short of space.
I had nervous moments when running freebsd-update on the older computer and 
seeing the used part of /var grow.

I don't really see a need to put /usr/local on a separate partition, though 
conceivably you could build applications with both FreeBSD ports and NetBSD 
pkgsrc, but keep these separate.  NetBSD pkgsrc has been ported to other 
(quasi-)Unixes including FreeBSD.  Default directory corresponding to FreeBSD's 
/usr/local is /usr/pkg .

I think I like FreeBSD ports better than NetBSD pkgsrc, the latter which I used 
only with NetBSD.

I originally installed FreeBSD 9.0-BETA1 using bsdinstall on the USB stick, 
including the ports.

There was a conflict when I ran "portsnap fetch update", that didn't work.  I 
had to run "portsnap fetch" and "portsnap extract", scrapping the ports tree 
from bsdinstall in favor of the fresh ports tree.  So now I know best to not 
install ports tree from bsdinstall; this would presumably apply for sysinstall 
too.

Tom

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: file system on 9.0

2011-11-19 Thread Denise H. G.

On 2011/11/19 at 23:03, ajtiM  wrote:
> 
> On Saturday 19 November 2011 06:29:40 Denise H. G. wrote:
>> On 2011/11/19 at 20:09, ajtiM  wrote:
>> > Hi!
>> > One more question before I start installing FreeBSD 9.0 RC-2.
>> > Now we have a new bsdinstall and as I red and if I understood correct
>> > there is also SU journaling file sistem. I will switch to the GPT
>> > partion. If I want to have SU-j file system is it enough that I just
>> > choose this option and voila?
>> 
>> Yes. I think so. 'options UFS_GJOURNAL' is present in GENERIC kernel
>> config. If you use GENERIC kernel, it is there.
>> 
>> > And another question is about ports. There is an option "ports tree"
>> > which is marked default. It is okay that I use this later with portsnap?
>> 
>> Sure. portsnap is designed to work with the ports tree.
> Thank you and one more, please...
> 
> Partitioning: if I choose guided than I got:
> freebsd-boot
> freebsd-ufs /
> freebsd-swap
> 
> If I press "enter" on freebsd-ufs / than I got options to make moe 
> partitions. 
> Is it okay that I make /, /var, /tmp and /usr as I have now.

I strongly advise that /usr and /usr/local reside on different
partitions. Furthermore, If you plan to run a desktop environment, your
/usr/local should be big enough, say 8G - 10G, to hold all stuff you
built from the ports. And putting /var on a separate partitiion is a
good idea, I think.

You can find detailed information on how to lay out and size your
partitions in tuning(7) either locally or online.

> 
> Thank you very much for the help.
> 
> 
> Mitja
>  

Regards.

-- 
If you've got them by the balls,
their hearts and minds will follow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: file system on 9.0

2011-11-19 Thread Denise H. G.

On 2011/11/19 at 21:18, RW  wrote:
> 
> On Sat, 19 Nov 2011 20:29:40 +0800
> Denise H. G. wrote:
> 
>> 
>> On 2011/11/19 at 20:09, ajtiM  wrote:
>> > 
>> > Hi!
>> > One more question before I start installing FreeBSD 9.0 RC-2.
>> > Now we have a new bsdinstall and as I red and if I understood
>> > correct there is also SU journaling file sistem. I will switch to
>> > the GPT partion. If I want to have SU-j file system is it enough
>> > that I just choose this option and voila?
>> 
>> Yes. I think so. 'options UFS_GJOURNAL' is present in GENERIC kernel
>> config. If you use GENERIC kernel, it is there.
> 
> UFS_GJOURNAL is for gjournal not soft-update journalling. 
> 
> A file system doesn't actually need to be created with either
> soft-updates or soft-update journalling- it's something that can be
> turned of and on. And yes enabling it in the installer should be
> sufficient.
> 

Thanks for clarifying. 

>> > And another question is about ports. There is an option "ports
>> > tree" which is marked default. It is okay that I use this later
>> > with portsnap?
>> 
>> Sure. portsnap is designed to work with the ports tree.
> 
> There's no point in installing the default tree since portsnap has to
> do an initial "extract". In general I'd suggest starting portsnap on an
> empty ports directory just to eliminate any minor cruft.

Yes. the ports tree on the installation CD/DVD is always old and only
takes longer time to install than without them.

>  



-- 
If you've got them by the balls,
their hearts and minds will follow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: file system on 9.0

2011-11-19 Thread ajtiM
On Saturday 19 November 2011 06:29:40 Denise H. G. wrote:
> On 2011/11/19 at 20:09, ajtiM  wrote:
> > Hi!
> > One more question before I start installing FreeBSD 9.0 RC-2.
> > Now we have a new bsdinstall and as I red and if I understood correct
> > there is also SU journaling file sistem. I will switch to the GPT
> > partion. If I want to have SU-j file system is it enough that I just
> > choose this option and voila?
> 
> Yes. I think so. 'options UFS_GJOURNAL' is present in GENERIC kernel
> config. If you use GENERIC kernel, it is there.
> 
> > And another question is about ports. There is an option "ports tree"
> > which is marked default. It is okay that I use this later with portsnap?
> 
> Sure. portsnap is designed to work with the ports tree.
Thank you and one more, please...

Partitioning: if I choose guided than I got:
freebsd-boot
freebsd-ufs /
freebsd-swap

If I press "enter" on freebsd-ufs / than I got options to make moe partitions. 
Is it okay that I make /, /var, /tmp and /usr as I have now.

Thank you very much for the help.


Mitja

http://jpgmag.com/people/lumiwa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: file system on 9.0

2011-11-19 Thread RW
On Sat, 19 Nov 2011 20:29:40 +0800
Denise H. G. wrote:

> 
> On 2011/11/19 at 20:09, ajtiM  wrote:
> > 
> > Hi!
> > One more question before I start installing FreeBSD 9.0 RC-2.
> > Now we have a new bsdinstall and as I red and if I understood
> > correct there is also SU journaling file sistem. I will switch to
> > the GPT partion. If I want to have SU-j file system is it enough
> > that I just choose this option and voila?
> 
> Yes. I think so. 'options UFS_GJOURNAL' is present in GENERIC kernel
> config. If you use GENERIC kernel, it is there.

UFS_GJOURNAL is for gjournal not soft-update journalling. 

A file system doesn't actually need to be created with either
soft-updates or soft-update journalling- it's something that can be
turned of and on. And yes enabling it in the installer should be
sufficient.

> > And another question is about ports. There is an option "ports
> > tree" which is marked default. It is okay that I use this later
> > with portsnap?
> 
> Sure. portsnap is designed to work with the ports tree.

There's no point in installing the default tree since portsnap has to
do an initial "extract". In general I'd suggest starting portsnap on an
empty ports directory just to eliminate any minor cruft.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: file system on 9.0

2011-11-19 Thread Denise H. G.

On 2011/11/19 at 20:09, ajtiM  wrote:
> 
> Hi!
> One more question before I start installing FreeBSD 9.0 RC-2.
> Now we have a new bsdinstall and as I red and if I understood correct there 
> is 
> also SU journaling file sistem. I will switch to the GPT partion. If I want 
> to 
> have SU-j file system is it enough that I just choose this option and voila?

Yes. I think so. 'options UFS_GJOURNAL' is present in GENERIC kernel
config. If you use GENERIC kernel, it is there.

> And another question is about ports. There is an option "ports tree" which is 
> marked default. It is okay that I use this later with portsnap?

Sure. portsnap is designed to work with the ports tree.

> 
> Thanks in advance.
> 
> Mitja
> 
> http://jpgmag.com/people/lumiwa
>  



-- 
If you've got them by the balls,
their hearts and minds will follow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


file system on 9.0

2011-11-19 Thread ajtiM
Hi!

One more question before I start installing FreeBSD 9.0 RC-2.
Now we have a new bsdinstall and as I red and if I understood correct there is 
also SU journaling file sistem. I will switch to the GPT partion. If I want to 
have SU-j file system is it enough that I just choose this option and voila?
And another question is about ports. There is an option "ports tree" which is 
marked default. It is okay that I use this later with portsnap?

Thanks in advance.

Mitja

http://jpgmag.com/people/lumiwa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"