About
Community
Bad Ideas
Drugs
Ego
Erotica
Fringe
Society
Technology
register | bbs | search | rss | faq | about
meet up | add to del.icio.us | digg it
Go Back   Community > Technology > Everything *NIX
Register FAQ Members List Calendar Today's Posts

Everything *NIX This is a general forum about all forms of *nix. Post your ideas and thoughts on this wonderful OS family. Talk about your personal favorite flavor of *nix and why you think it's so much better than the others. Anything pertaining to *nix and *nix administration should be posted here.

Reply
 
Thread Tools Display Modes
  #1   Add MrSparkle to your ignore list  
Old 2008-08-17, 16:49
MrSparkle MrSparkle is offline
Regular
 
Default Partitioning drives for FreeBSD install

Last time I tried to install FreeBSD I noticed by default it proposes you make about 5 different partitions like /home/, /usr/ and all that bullshit. I usually just make 1 partition for my linux installs so I'm not used to all that /home/, /usr/ partition bullshit but I decided to let it go ahead and make those partitions and it wiped out my windows partition for some reason.

I don't care because it left the linux partition intact which was SDA1, Windows was SDA2 but I know I specified that BSD partition SDA4 so I have no idea why it reformatted SDA2.

Anyway I was wondering if all those different subpartitions are necessary for installing BSD or can you just install it onto 1 partition like I do with linux?
Reply With Quote
  #2   Add Kamisama to your ignore list  
Old 2008-08-17, 17:48
Kamisama Kamisama is offline
Regular
 
Member since 2004
Default Re: Partitioning drives for FreeBSD install

1 partition is all you need.
I prefer to allow these to exist:

/ (root director)
/home
/usr
/var
/tmp

/home is typically under 4.7 GB in order to back it all up to a DVD
/usr is about 6GB+ to install programs in
/var is about 4GB+ to download programs
/tmp is about 3GB+ for whatever misc. crap i might be playing with and needs that much

If anything, have the root and the home (two partitions).
/
/home

It's really nice to be able to backup /home onto a DVD.
Reply With Quote
  #3   Add Prometheum to your ignore list  
Old 2008-08-17, 20:41
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: Partitioning drives for FreeBSD install

You can install it onto one partition, but FreeBSD is much more enterprise-oriented, hence the recommendation. You can use it as a desktop, sure, but not as easily, and it doesn't get really cool or have any different features from Gnu/Linux until you start having enough hard drives to play with zfs/gmirror/gpool, or have tons of jails, or have "NEAR LINEAR SMP CAPABILITIES" or all of that.

BSD partitioning is slightly different than everything else. You choose a slice, and then make partitions within that slice. The slice is recognized as a single partition by most other things.
Reply With Quote
  #4   Add zeusy to your ignore list  
Old 2008-08-18, 07:43
zeusy zeusy is offline
Regular
 
Default Re: Partitioning drives for FreeBSD install

Quote:
Originally Posted by Kamisama View Post
1 partition is all you need.
I prefer to allow these to exist:

/ (root director)
/home
/usr
/var
/tmp

/home is typically under 4.7 GB in order to back it all up to a DVD
/usr is about 6GB+ to install programs in
/var is about 4GB+ to download programs
/tmp is about 3GB+ for whatever misc. crap i might be playing with and needs that much

If anything, have the root and the home (two partitions).
/
/home

It's really nice to be able to backup /home onto a DVD.
You do know /home is just a symlink to /usr/home in FreeBSD?
Why not simply set quotas on whoever is using the system rather than using two different *partition* for the same parent directory?


Also 6Gb is way too much for /usr.
And why in the world would you need 4Gb for /var, there is not even a single executable in /var, only logs, backups, runs, mail, cron and a few other things.

Last edited by zeusy; 2008-08-18 at 07:56. Reason: Typo
Reply With Quote
  #5   Add Prometheum to your ignore list  
Old 2008-08-19, 00:12
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: Partitioning drives for FreeBSD install

Quote:
Originally Posted by zeusy View Post
You do know /home is just a symlink to /usr/home in FreeBSD?
Why not simply set quotas on whoever is using the system rather than using two different *partition* for the same parent directory?


Also 6Gb is way too much for /usr.
And why in the world would you need 4Gb for /var, there is not even a single executable in /var, only logs, backups, runs, mail, cron and a few other things.
Mail is a big reason. Also, www, ftp, and other services have canonical points in /var. Backups alone are a good reason for it to be nice and big.

6GB is way too big for /usr, but a bit on the small side for /usr/local. Keeping in mind that /usr includes /home, the ports tree, and /usr/local, 6BG is fairly small.

Are these partitioning schemes for really small drives or something? 4.7G is a tiny home.
Reply With Quote
  #6   Add zeusy to your ignore list  
Old 2008-08-19, 05:53
zeusy zeusy is offline
Regular
 
Default Re: Partitioning drives for FreeBSD install

Quote:
Originally Posted by Prometheum View Post
Mail is a big reason. Also, www, ftp, and other services have canonical points in /var. Backups alone are a good reason for it to be nice and big.

6GB is way too big for /usr, but a bit on the small side for /usr/local. Keeping in mind that /usr includes /home, the ports tree, and /usr/local, 6BG is fairly small.

Are these partitioning schemes for really small drives or something? 4.7G is a tiny home.
A full FreeBSD install (including source) is around 3Gbs, usually less, try making world/distri and installing everything there is on the 2cds.
I don't have a clue how you could get /usr/ up to 3Gb (excluding home, again), maybe you forget to make clean/distclean once in a while?

It his very unlikely /var will need more than 400MB.
Unless you offer some sort of shell service, such as ssh/rsh.
/var/backups is only group, aliases, and passwd backups, by default.
Yes some people uses /var/ftp and /var/www, nowadays /usr/home is more popular, particularly because of offsite hosting

df -h on my Arch Linux box:
Code:
 

Filesystem            Size   Used  Avail Use% Mounted on

/dev/sda1             9.4G  2.6G  6.8G  28%   /

/dev/sda3             155G  43G 113G  28%   /home

Last edited by zeusy; 2008-08-19 at 05:58. Reason: Typo
Reply With Quote
  #7   Add Prometheum to your ignore list  
Old 2008-08-19, 15:36
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: Partitioning drives for FreeBSD install

Quote:
Originally Posted by zeusy View Post
A full FreeBSD install (including source) is around 3Gbs, usually less, try making world/distri and installing everything there is on the 2cds.
I don't have a clue how you could get /usr/ up to 3Gb (excluding home, again), maybe you forget to make clean/distclean once in a while?

It his very unlikely /var will need more than 400MB.
Unless you offer some sort of shell service, such as ssh/rsh.
/var/backups is only group, aliases, and passwd backups, by default.
Yes some people uses /var/ftp and /var/www, nowadays /usr/home is more popular, particularly because of offsite hosting
/usr has /usr/local. All the programs you install are installed to there. That's also the default http root, ftp root, etc. You should always have a nice big drive for /usr because of that and /home.

And yes, most web hosts have vhosts and get stuff out of your home directory, but nobody on totse is going to be setting up FreeBSD on an ENTERPRISE GRADE platform for purposes like that.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

 
To the best of our knowledge, the text on this page may be freely reproduced and distributed.
 

totse.com certificate signatures
 
 
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
Hot Topics