1b1b2 How much hdd-space does FreeBSD need? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old October 24th, 2010, 10:58
Radek Radek is offline
Junior Member
 
Join Date: Oct 2010
Location: /home/Radek
Posts: 44
Thanks: 13
Thanked 0 Times in 0 Posts
Default How much hdd-space does FreeBSD need?

Hi everybody,

I'm not sure if I'm right but I think that FreeBSD requires much more space on the disk then Linux.
I'm considering to try to use FreeBSD on my laptop but I have a 64 GB SS-HDD there so I'm not sure if it does make any sense.

So my question is: how much space would need PC-BSD with KDE, OpenOffice, Eclipse ... so I mean just normal desktop environment?

Regards,
Radek
Reply With Quote
  #2  
Old October 24th, 2010, 12:13
da1 da1 is offline
Member
 
Join Date: Sep 2009
Location: Berlin,DE
Posts: 659
Thanks: 24
Thanked 48 Times in 44 Posts
Default

It depends on how you install the application (pkgs or ports), if you keep the ports tree on disk or not and other things but I would say a max of 10G's.

Personally, I have a 8.1 amd64 + kde/OO/opera/other stuff on a T400 with the ports/distfiles on disk and it takes 8G's. On the other hand, I am dualbooting Fedora 13 x64 with the same stuff in it but only uses ~6G's. The reason is because I used the ports tree for all applications. I'm sure that if I would use the pkg's, the occupied diskspace would be smaller.
Reply With Quote
The Following User Says Thank You to da1 For This Useful Post:
Radek (October 24th, 2010)
  #3  
Old October 24th, 2010, 12:35
Radek Radek is offline
Junior Member
 
Join Date: Oct 2010
Location: /home/Radek
Posts: 44
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Thanks for your answer.
I think I will try first with an other HDD to check if my whole hardware is supported and all Apps are working
Reply With Quote
  #4  
Old October 24th, 2010, 19:36
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,141
Thanks: 43
Thanked 703 Times in 579 Posts
Default

Quote:
Originally Posted by Radek View Post
I'm not sure if I'm right but I think that FreeBSD requires much more space on the disk then Linux. I'm considering to try to use FreeBSD on my laptop but I have a 64 GB SS-HDD there so I'm not sure if it does make any sense.
FreeBSD itself (just the OS, no ports tree, no source tree, no Xorg, no gui apps, etc) installs into less than 2 GB of disk (closer to 1 GB). It's the apps you install on top that take up all the disk space, and the source/object tree for compiling the OS, and the ports tree for installing/compiling apps.

You can minimise disk churn and extend the life of the SSD by sticking to binary packages (pkg_add) and binary OS update (freebsd-update).

Quote:
So my question is: how much space would need PC-BSD with KDE, OpenOffice, Eclipse ... so I mean just normal desktop environment?
Well, which is it? Do you want to know about FreeBSD or PC-BSD? The default installs are *very* different. One installs just the base FreeBSD OS, the other installs FreeBSD + Xorg + KDE + a bunch of other stuff. One installs in 1-2 GB, the other into about 10 GB.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5  
Old October 24th, 2010, 20:27
vermaden's Avatar
vermaden vermaden is offline
Giant Locked
 
Join Date: Nov 2008
Location: pl_PL.lodz
Posts: 2,193
Thanks: 59
Thanked 633 Times in 349 Posts
Default

Quote:
Originally Posted by Radek View Post
Hi everybody,

I'm not sure if I'm right but I think that FreeBSD requires much more space on the disk then Linux.
I'm considering to try to use FreeBSD on my laptop but I have a 64 GB SS-HDD there so I'm not sure if it does make any sense.

So my question is: how much space would need PC-BSD with KDE, OpenOffice, Eclipse ... so I mean just normal desktop environment?
The FreeBSD itself requires about 230 MB for base system + man pages + kernel (without debug symbols), all other stuff depends on its size, XFCE will take less space then KDE, but more the Openbox.

If You came from Linux world, then these 'thinkgs' (KDE/XFCE/OpenOffice.org/Eclipse) will take the same amount of space as in Linux.
__________________
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
http://vermaden.blogspot.com
Reply With Quote
The Following User Says Thank You to vermaden For This Useful Post:
Radek (October 26th, 2010)
  #6  
Old October 24th, 2010, 20:45
shitson's Avatar
shitson shitson is offline
Member
 
Join Date: Aug 2010
Location: Australia, Wollongong
Posts: 180
Thanks: 11
Thanked 32 Times in 26 Posts
Default

Have a look at the handbook article. No operating system I know of will use all 64GB of your SSD for an install. The largest I've heard about is Windows Vista/7 with 15GB installs but still that's only a fraction of your total disk size.
__________________
"Virtually everything worth doing has a learning curve associated with it", anomie.

Last edited by DutchDaemon; October 25th, 2010 at 01:24. Reason: It's "I", not "i".
Reply With Quote
The Following User Says Thank You to shitson For This Useful Post:
Radek (October 26th, 2010)
  #7  
Old October 25th, 2010, 03:03
Terry_Kennedy's Avatar
Terry_Kennedy Terry_Kennedy is offline
Member
 
Join Date: Apr 2010
Location: New York City
Posts: 409
Thanks: 5
Thanked 73 Times in 65 Posts
Default

Quote:
Originally Posted by Radek View Post
I'm considering to try to use FreeBSD on my laptop but I have a 64 GB SS-HDD there so I'm not sure if it does make any sense.

So my question is: how much space would need PC-BSD with KDE, OpenOffice, Eclipse ... so I mean just normal desktop environment?
I'm running FreeBSD on a busy server (web for 10 or so domains, plus lots of email) on a box with mirrored 32GB drives:
Code:
(0:6) gate:~> df -h
Filesystem            Size    Used   Avail Capacity  Mounted on
/dev/mirror/gm0s1a    496M    367M     89M    80%    /
/dev/mirror/gm0s1d     15G     12G    1.9G    87%    /var
/dev/mirror/gm0s1e    3.9G    8.0K    3.6G     0%    /var/crash
/dev/mirror/gm0s1f    3.9G    3.2G    385M    89%    /usr
/dev/mirror/gm0s1g    3.9G     20K    3.6G     0%    /tmp
/dev/mirror/gm0s1h    3.3G    1.1G    1.9G    37%    /sysprog
That's a full install (saying "install everything" in the setup menu) with 670 ports currently installed.

Any disk usage difference between FreeBSD and Linux with identical applications installed is going to be from choices taken during the installation process - installing system / utility / etc. sources, installing the ports collection, etc.

FreeBSD and Linux on the same architecture (i386, for example) are going to take about the same amount of space for applications and data, since they're compiled with similar versions of the same compiler (gcc).

As a simple example:
Code:
(0:9) gate:/tmp# ls -l /usr/local/bin/bash
-rwxr-xr-x  1 root  wheel  672336 Jun  5 07:40 /usr/local/bin/bash*
(0:10) gate:/tmp# file /usr/local/bin/bash/usr/local/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 6.4 
(604100), dynamically linked (uses shared libs), FreeBSD-style, stripped
(0:11) gate:/tmp# ls -l /usr/compat/linux/bin/bash
-rwxr-xr-x  1 root  wheel  680824 Oct  1  2009 /usr/compat/linux/bin/bash*
(0:12) gate:/tmp# file /usr/compat/linux/bin/bash
/usr/compat/linux/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), for GNU/Linux 2.2.5, dynamically linked (uses shared 
libs), stripped

Last edited by DutchDaemon; October 25th, 2010 at 15:09.
Reply With Quote
The Following User Says Thank You to Terry_Kennedy For This Useful Post:
Radek (October 26th, 2010)
  #8  
Old October 25th, 2010, 03:23
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

Without swap, 6G is probably enough, but you have to keep a close eye on stuff.
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает
Reply With Quote
  #9  
Old October 25th, 2010, 08:45
Radek Radek is offline
Junior Member
 
Join Date: Oct 2010
Location: /home/Radek
Posts: 44
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Ok, so I should clarify what I meant.
Correct me if I'm wrong but it seems for me that every installed application, like for example Firefox, creates own copy of the root within the Programs directory and duplicates lot of files that already exist in the system. So I thought sooner or later the amount of used disk space will grown much faster than under Linux.

Or am I wrong?

Please be polite with me guys, I just trying to consider if this is good idea to use FreeBSD or either PC-BSD as the main operating system.

Until now there are some "pros", I found that this system is incredible fast and powerful, and "contras", I cannot get some hardware to work (built-in webcam,USB-Headset, special keys like the volume control, touchpad).

Thanks for the input
Reply With Quote
  #10  
Old October 25th, 2010, 18:23
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

Quote:
Originally Posted by Radek View Post
Ok, so I should clarify what I meant.
Correct me if I'm wrong but it seems for me that every installed application, like for example Firefox, creates own copy of the root within the Programs directory and duplicates lot of files that already exist in the system. So I thought sooner or later the amount of used disk space will grown much faster than under Linux.

Or am I wrong?
I think you're talking about the difference between static- and dynamic-linking. http://en.wikipedia.org/wiki/Static_build

A dynamically-linked build for firefox isn't going to be hugely different, size-wise on either FreeBSD or Linux. (Well, maybe. The .deb for firefox 3.6 on i386 ubuntu is about 12M, and the .tbz for FreeBSD 8 i386 is about 18M, so there's that, but I don't know what the installed sizes are, so there's also that.)
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает
Reply With Quote
The Following User Says Thank You to fronclynne For This Useful Post:
Radek (October 26th, 2010)
  #11  
Old October 25th, 2010, 19:12
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Quote:
Originally Posted by Radek View Post
Ok, so I should clarify what I meant.
Correct me if I'm wrong but it seems for me that every installed application, like for example Firefox, creates own copy of the root within the Programs directory and duplicates lot of files that already exist in the system. So I thought sooner or later the amount of used disk space will grown much faster than under Linux.
I'm a little confused about what you mean here. What Programs directory?

As for space requirements, some parts take up some space. But not everybody may use it. You can for instance build everything from source. This will obviously take up space (extracting sources, compiler outputs, etc). However if you install pre-build packages that space isn't needed.

Code:
dice@williscorto:~>df -h
Filesystem            Size    Used   Avail Capacity  Mounted on
/dev/ad4s2a           496M    131M    325M    29%    /
devfs                 1.0K    1.0K      0B   100%    /dev
/dev/ad4s2e           5.8G    167M    5.2G     3%    /tmp
/dev/ad4s2d           989M    122M    788M    13%    /var
/dev/ad4s2f           5.8G    2.0G    3.4G    37%    /usr
procfs                4.0K    4.0K      0B   100%    /proc
linprocfs             4.0K    4.0K      0B   100%    /usr/compat/linux/proc
/dev/ufs/cortohome     71G     19G     46G    29%    /usr/home
molly:/usr/ports      3.9G    478M    3.1G    13%    /usr/ports
molly:/usr/src        989M    521M    389M    57%    /usr/src
molly:/usr/obj        2.4G    1.6G    675M    70%    /usr/obj
molly:/storage        1.8T    1.5T    170G    90%    /storage
/usr/ contains gnome2-lite, XFCE and a few applications I use. As you can see I have split off /usr/home/, for obvious reasons.

/usr/ports/ contains the ports tree. Nothing else. Distfiles, packages and work directories are stored somewhere else.

/usr/src/ and /usr/obj/ are needed when doing a source update of the base OS. If you use freebsd-update these aren't needed (some ports require the source tree to build though).
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
Radek (October 26th, 2010)
  #12  
Old October 25th, 2010, 20:31
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Location: 127.0.0.1
Posts: 557
Thanks: 51
Thanked 36 Times in 33 Posts
Default

Quote:
Originally Posted by Radek View Post
Hi everybody,

I'm not sure if I'm right but I think that FreeBSD requires much more space on the disk then Linux.
I'm considering to try to use FreeBSD on my laptop but I have a 64 GB SS-HDD there so I'm not sure if it does make any sense.

So my question is: how much space would need PC-BSD with KDE, OpenOffice, Eclipse ... so I mean just normal desktop environment?

Regards,
Radek
Just to give you some numbers: I'm using FreeBSD 8.1 on a Asus EEE 900a (Atom) with a 8G SSD together with Firefox, Fluxbox, Xorg, Mutt and some other applications and I have arround 4G left.
__________________
What was the goal of the Linux community--to replace Windows? One can imagine higher aspirations., Bill Joy
Reply With Quote
The Following User Says Thank You to oliverh For This Useful Post:
Radek (October 26th, 2010)
  #13  
Old October 25th, 2010, 22:46
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,141
Thanks: 43
Thanked 703 Times in 579 Posts
Default

In theory, using PBIs on PC-BSD for large apps like OpenOffice.org, Firefox, KDE, etc will "waste" disk space by duplicating libraries that could be shared. However, you gain a lot of convenience for that "wasted" disk space. And the actual amount of disk space "wasted" isn't all that noticable. We're talking a few 100s of MB, not 10s of GB.

For someone just starting out with FreeBSD, it's probably best to go with PC-BSD. The installer is easier to use, the GUI and desktop environment are pre-configured, a bunch of useful apps are pre-installed, and you can install other apps via a nice, easy, point-n-click interface.

Once you get used to PC-BSD, then you can try a re-install with FreeBSD and do it all manually.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
The Following User Says Thank You to phoenix For This Useful Post:
Radek (October 26th, 2010)
  #14  
Old October 26th, 2010, 08:29
Radek Radek is offline
Junior Member
 
Join Date: Oct 2010
Location: /home/Radek
Posts: 44
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by phoenix View Post
to PC-BSD, then you can try a re-install with FreeBSD and do it all manually.
Great Idea

At the moment I have installed PC-BSD on my second HDD and trying to get everything to work. I found the solution for the touchpad scrolling issue already. But I cannot get my built-in webcam. It's being recognized and the device appears as /dev/video0 but skype don't see it and VLC cannot access it.

Also the USB Headset doesn't work. Similar issue as with the webcam, the device is in the system but in mixer is not there.

I tried to use suspend and hibernate once but I cannot wake-up after. But I didn't look at it closer so maybe it's something simple.

But I keep searching for solution

I like the way a lot of things in FreeBSD are working, especially that a lot of things are easy to configure manually. Linux is trying to configure lots of things automatically and if it doesn't work (and this happens very often) you have no chance to fix it.

Last edited by DutchDaemon; October 26th, 2010 at 15:39.
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
How to mount FreeBSD HDD in Windows XP Jonne General 7 May 4th, 2010 07:18
[Solved] FreeBSD 8 drive free space issue Bink System Hardware 0 January 4th, 2010 08:52
Can i move hdd with FreeBSD to new PC Jabali Installing & Upgrading 10 November 14th, 2009 13:38
How much space for full FreeBSD install? devildog Installing & Upgrading 6 August 25th, 2009 13:45
Can't mount USB HDD (FreeBSD 7.2) Thoht Peripheral Hardware 6 August 20th, 2009 17:40


All times are GMT +1. The time now is 06:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0