DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd November 2009
Talvikuutamo Talvikuutamo is offline
New User
 
Join Date: Nov 2009
Posts: 4
Thanked 0 Times in 0 Posts
Default Paritioning 250GB + 320GB harddrives for FreeBSD

Hello,

I have two harddrives, 250GB which I use for OS's and software, and 320GB which I use for music, documents, pictures etc. I want to use FreeBSD as my main OS and its file system as my main file system (except for a 100GB partition in NTFS for Windows 7).

I will use the first 100GB on my OS & software harddrive (the 250GB one) for Windows 7 (NTFS file system) and all of its software and games.

So, I will have about 130GB on the OS harddrive (the 250GB one) for FreeBSD. and I will have whole of the 320GB harddrive for my personal files, which I will format in FreeBSD file system.

If somebody can help me with suggestions for planning this partitioning, then please let me know.

Thanks.
Reply With Quote
  #2   (View Single Post)  
Old 22nd November 2009
gkontos's Avatar
gkontos gkontos is offline
Real Name: George
Port Guard
 
Join Date: May 2008
Location: Greece
Posts: 41
Thanked 2 Times in 2 Posts
Default

I use GAG for partitioning although I have never tested with Windows 7 (Vista most recent). In your case I would first install Windows and then GAG.
Always backup first

George
__________________
...when you have excluded the impossible, whatever remains, however improbable, must be the truth.
Reply With Quote
  #3   (View Single Post)  
Old 22nd November 2009
Talvikuutamo Talvikuutamo is offline
New User
 
Join Date: Nov 2009
Posts: 4
Thanked 0 Times in 0 Posts
Default

thanks but, I wasn't asking for a boot manager, but, I was asking for suggestions about the partitioning scheme.
Reply With Quote
  #4   (View Single Post)  
Old 23rd November 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,051
Thanked 198 Times in 156 Posts
Default

A very generic scheme is something along the lines of:

Code:
/       1GB
swap    2GB (2GB is almost always more than enough).
/var    8GB
/usr    4-16GB
/home   Whatever is left ...
For the second disk I would just create one big partition and mount that as /data or something ...

It really depends on what you do. 8GB for /var/ may be serious overkill, but I like to keep logfiles for some time and I also use it for other stuff like ccache.
But do remember you cannot change the sizes once you're done, so it's better to oversize your partitions then to undersize.

As for /usr, for a normal (server) install 4GB should be more than enough, for a desktop up to 16GB ... This partition will contain all installed packages, so this really depends on how many and which apps you install...

You may also want to create separate partitions for email, /usr/src, and the likes, in part it's a matter of personal preference and taste, although multiple partitions (Or rather, filesystems) the two main advantages are:
o Contain fragmentation -- / will almost never get written to, /var will get written to a lot. Having both on a separate partition decreases overall fragmentation
o May be easier for backups if you use a partition for mail, mysql.

The obvious downside of more partitions is that your system will be less flexible ...

Oh, and for the sake of example, here's my fileserver at home:
Code:
[~]% df -h
Filesystem           Size    Used   Avail Capacity  Mounted on
/dev/ad1s1a          1.9G    221M    1.6G    12%    /
devfs                1.0K    1.0K      0B   100%    /dev
/dev/ad1s1d           23G    721M     21G     3%    /var
/dev/ad1s1e           15G    1.6G     13G    11%    /usr
/dev/ad1s1f           28G    212M     25G     1%    /home
/dev/mirror/datad    451G    318G     97G    77%    /data
/dev/ad0s1d          361G    189G    143G    57%    /data2
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 23rd November 2009
Talvikuutamo Talvikuutamo is offline
New User
 
Join Date: Nov 2009
Posts: 4
Thanked 0 Times in 0 Posts
Default

Thank you Carpetsmoker! This is really good, I will do it as once as FreeBSD 8.0 stable is released.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
freebsd 7 installation partition size for 250gb harddrive ijk FreeBSD Installation and Upgrading 17 20th October 2008 07:50 PM


All times are GMT. The time now is 12:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick