LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Best Partitioning Scheme? (https://www.linuxquestions.org/questions/slackware-14/best-partitioning-scheme-37778/)

rivang 12-09-2002 06:34 PM

Best Partitioning Scheme?
 
I am looking to set up a Slackware box with Apache, PHP and MySQL. Along with qMail to provide email for a couple domains.

What is the best partitioning scheme for doing this?

My current layout is:

/boot 300MB hda1
/root 1000MB hda2
/swap 240MB hda3
/usr 1000MB hda5
/var 1000MB hda6
/opt 1000MB hda7
/home 1900MB hda8

This is just a test system... will have a 40GB and a 20GB hard drive on production box.

What about Inode density on each of these partitions?
1/4096
1/2048
1/1024?

I understand you might want to use a lower Inode setting if you are going to have alot of small files, which might be the case for qMail.

So which partitions might need a smaller Inode density?

Any suggestions are welcome... especially from others who might be running Apache, PHP, MySQL and qMail on a Slackware box.

Thanks...

danimaldaisy 12-10-2002 12:27 AM

set up in this order
/boot 100meg
then set up a swap twice that of youre ram
how much hd space do you have left? (write that down)
delete swap and make a / root to the size that you wrote down now make a swap using the remaining space on harddrive.

must be in this order to work though
/boot
/
swap
that is the most basic setup i can think of.
use the 40 gig for storage or what ever you like.
thats just my opinion though.

supenguin 12-10-2002 01:41 PM

The answer is really: it depends. There are two main configurations I use.

1. For a desktop/workstation environment, I have:
/boot (50 megs)
swap (twice my RAM or 512 Meg, whichever is smaller)
/ (root partition - 3 to 5 gigs depending on space)
/home - whatever is left

This would also be a good setup for a file server.

2. Production server setup
Your initial suggestion is actually pretty close to what I usually see recommended for a server. You'll want to drop /opt unless you plan on installing any add-on packages in there. Also, you really should have a /tmp partition on a server. Otherwise, if something tries to write a ton of stuff to /tmp, your root partition will fill up and cause all kinds of problems. Oh yeah, and /boot has no reason to be over 50 megs.

On the inode density, its not usually something I mess with. The default has never seemed to cause any problems.

Tinkster 12-10-2002 02:33 PM

Heh ...

another question that might start a holy war :}

My personal setup on my notebook is
(was ... *makes the cross-symbol with his hand)

Code:

/boot        32MB
/          9000MB
/home      2000MB
/usr/local 4500MB

or similar percentages for other boxes ... ;}

Cheers,
Tink

Bluesuperman 12-10-2002 09:34 PM

I don't understand the /boot partition. I have been using slack for a few years now and always use:

first x number of MB for swap. whatever twice my RAM is. Right now my first partition is 500MB (256MB RAM). I make swap my first part because the first sectors of the HDD are supposed to be accessed the fasted.

I then create the / (root) partition. I have never created a /boot partition. Why would one create a /boot part.. ?

supenguin 12-11-2002 08:48 AM

/boot was originally made to overcome a limitation of LILO. In the past, it could only boot to the first 1024 cylinders of your hard drive, so could make a tiny partition at the beginning of the drive, and throw your kernel in there to avoid the problem. This problem has been firxed for a while now, but I still use /boot. There are a couple reasons:

mount /boot read-only (except during kernel upgrades) and you don't have to worry about anything messing with the kernel.

I don't feel like repartitioning all my boxes. If I have to do a clean install I might consider it.

rivang 01-18-2003 10:35 PM

So /boot partition is not necessary?

And for my scheme it might be a good idea to do away with /opt and replace it with a 1GB /tmp?

Eventually I am working toward building a server that will use Apache, PHP, MySQL, DJBDNS, qMail and either PureFTP or ProFTP. I also want to test some of the weblog apps like PHPNuke.

So what would be a good partition scheme for this purpose?

Like maybe

/root 5GB
swap 128MB
/tmp 1GB
/usr 4GB
/var 3GB
/home 10GB+

My workstation is a Dell 4100 1GHZ with 80GB hard drive... my server is one I built myself... an Athlon XP 1.8GHZ with a 40GB and a 20GB hard drive.

Should swap be created first and then root?

Thanks...

LSD 01-18-2003 11:04 PM

I currently have a 9.5Gb /usr, 8Gb / and a 1.6Gb /home on /dev/hda's 1,5 and 6 respectively. The reason for /usr and / being back to front is because hda1 used to be my Windows drive and since /usr is the fastest growing part of my system (due to an overflowing /usr/src directory) it got first dibs on the free space. At 1.6Gb, /home is way too small but it was all I could really spare at the time I created it.

If I were reinstalling I'd forego the seperate /usr and / partitions (the only reason I have them seperate now is that it would have taken a lot of partition massaging to unify hda1 and hda5 after Windows was removed and I didn't really want to reinstall Slack again, not when I was so close to finally getting GNOME built and after I'd just reinstalled because of stupidity on my part) but still maintain a /home partition but this time making it larger because I have more space to work with.

If nothing else, it's a good idea to have at least /home mounted on a seperate partition. Knowing you're stuff will be safe in between OS reinstalls makes things a lot easier.

edit: Forgot to mention theres also a swap partition (I don't have enough RAM to go without one yet!) in there, that's on hda7 and is ~197Mb in size.

flashingcurser 01-20-2003 08:52 AM

Many many ways to do this--my formula is like this:


/boot 512 mb
/swap x2 ram
/ 3gig mininmum for slackware (8.1 will fit in 2.2 full install i believe)
/home the rest of drive (I generally save and uncompress everything in here and ln -s to other places when I can)



:)

Darin 01-20-2003 10:37 AM

This seperate partition for /boot thing is new for you Slackware guys (weren't old kernels in root / dir) but Redhat has had it for a while mainly to keep the kernel down below the 1024 cyllinder mark for old LILO versions which doesn't apply to Slackware 8.1. I do like the supenguin's idea though of mounting /boot read only so nothing can change your kernel image.

Anyhow, Redhat says 5-10MB (meg not gig) for /boot, all it will ever hold is kernel images, symlinks and small text files. 10MB is room for 8 or 9 kernels plus whatever else and at the most I've had 5 kernels under Redhat but 3 tops in Slackware; Unless your doing kernel development and build new kernels daily... Some of the sizes at 512MB, 50MB are overkill and just waste hdd space. Sorry if it sounds like a flame of those with big /boot partitions but 10MB is fine, no more than 40MB max.

If your new to linux and playing with slack do one giant root then a swap and you can repartition when (not if) you decide to reinstall which will give you an idea how much space you use in each dir. (try "du -hs /*" to see how much space you use after installing.)

swap is a point of contention too, in olden days swap was reccomended 2-3x RAM but we can get massive cheap RAM. So again I defer to supenguin's choice "swap twice my RAM or 512 Meg, whichever is smaller." If you had 512RAM and 512SWAP that's a giant amount for linux that you wouldn't use unless you ran a major website while playing UT under wine and surfing with an oversized web cache. Older versions of linux had a max of roughly 130MB for swap and this is also ample for most systems. (open everything you can think of and then type vmstat)

My current scheme:
/ 1.5gig
/usr 3.4 gig
/home 10 gig
swap 131 megs
but I use my system different than you and I think my judgement was off when picking this.

/var I'd go seperate for log files; on a web/mail server on the net you could fill a drive with log files if you come under attack or something goes haywire and a seperate /var keeps the root partition from filling up when this happens, maybe 1 gig tops, probably 500megs is ample (my personal web server/firewall has 32meg in /var.)

/tmp maybe seperate too, similar to /var though don't overkill because it will be mostly empty unless something breaks, maybe 500meg to 1 gig tops (my server has 1.1megs in /tmp right now, mostly X/KDE stuff.)

/opt I have no idea, I think apache uses opt for web site space but you can change that to /home if you have few users taking space

/home is for users and you can move your http root and ftp root here too so put whatever is left here.

/usr or /usr/local this is supposed to be seperate to make it easier to do upgrades to new versions of your distro but it's kind of a preference thing and if your server is running live you won't be doing a distro upgrade but probably package upgrades or installing tarballs.

/ is sort of a what's left thing, between / and /usr you need about 3 gig to install everything in slack and have breathing room, if you do a seperate /usr and /home then 1gig is probably fine, if you don't seperate /usr then 3-5gig is good.

Also if you have multiple HDDs and one is faster put swap and / there so the system can get at it's binaries quickly and swap quickly. Put web space etc on the slow drive since most of your web hits if your site is busy will be cache hits and if it's slow then your internet pipe will be the bottleneck not hdd speed.

danimaldaisy 01-20-2003 07:16 PM

the only reason I used 100 meg for a boot partition is that that is what the default is for redhat 8.0. No big deal i just went with that. Still trying to keep it simple I used the rest of the drive for the root partition carefully leaving my self enough space for a swap partition. I run Websites on my box so ram is a big Deal here. I have 384 meg of ram and a swap of yes you guessed it 768meg. When running websites under apache they reccomend that you have enough ram so that you never have to use you're swap space. For example I fire up my server and everything is running ok. someone accesses my website. It takes a little bit to load, but if someone else visits that site than it is already stored it ram and loads immediately. After the server is up for two days the available ram goes from 230meg to about 50 meg. Why because linux indexes the drive to keep the performance of accessing the harddrive up, also i have search engines scanning my sites all the time, and if i have to work on the server that takes up ram, I mean it gets cached. I'm not saying that it is important and I don't really have problems, but i have the peace of mind knowing that the websites that i host always load fast, Having a really quick harddrive helps also. If you can afford a 15,000 rpm scsi than get it, as a matter of fact get two and mirror them. If you are on a budget like me get 2 maxtor udma 133 drives and mirror them. My experience for a budget server is getting at least a pentium II 350. A pentum I with my experience is way too slow. or at least a amdk62 500 or above. But the pentium will run cool to the touch. at least a udma 66 drive maxtor seems to be the fastest from my benchmarks compared to other drives, but if you have a udma100 or faster drive than this doesnt matter. the siig udma133 interface card works perfectly under redhat 7.3 and 8.0 and with a maxtor udma133 drive linux will scream. with this setup you will only need 128 meg of ram but if you wan't more go ahead it won't hurt. my personal setup goes like this........
biostar socket 370 motherboard model #M6VCF says Vega on the box.
cheap pc133 ram 384meg would like 768
celeron 800
smc $10.00 network card. This is the fastest card i have ever seen
the only thing faster is a d-link 1000tx network card, this card will blow the doors off any 10/100 card even running in 100tx mode
siig udma133 interface card with a 60gig maxtor udma133 drive
ati 8meg agp card so i can watch divx movies and dvds if i wanted
(I Love Computers Can't you tell!)
teac 1.44 floppy drive. I love these drives but I love for them to work also thats why i always get one of these babys
My preference is lite-on for a cdrom dvd or cdr drive cheap and extremely dependable, get it at pc club in fact if you want dependable parts that always work buy it there.
my server screams.
i wonder if theres a noticable difference between a celeron 800 and a 1ghz pIII which is the max this board will support.
anyways thats my input. this is a completely stable setup.
by the way the motherboard has the latest bios abd the cards are agp slot 1 ethernet slot 2 and siig udma card slot 3.

This is just my input and a suggestion don't flame me on it and I'm not an intel only guy I use an athlon xp proccessor on my workstation. 7vrxp gigabyte mobo 256meg ddr333 ram and stiped maxtors. works wonderfull in linux but as far as performance it seems to be just slightly faster that my celeron setup under linux only.

webengr 01-21-2003 04:46 PM

One distro (forgot the name) actually umount'ed the /boot partition after boot, for that extra measure of safety.

As to formulae for partitioning... there isn't one. What I recommend is this:

1) List the various types of data you will host (mail, database, multimedia, user home dirs, etc)

2) Rank the relative importance of each type of data, and take into consideration whether you will have a backup strategy for each

3) Estimate the volume of each type of data

4) Estimate the volume of application logging you will have (sendmail logs, Apache logs, etc) and consider whether these are important to you. You may want to keep /var/log on its own partition.

5) Estimate how much swap space you REALLY need. We've all heard the "2x RAM" estimate, but this dates back to 32M machines -- I have 512M on my workstation, and I hardly ever swap out more that 20M (and that's only when running a LOT of heavy duty processes, which is something most "servers" probably won't experience).

Now you may be in a position to start determining what needs to be kept on its own partition, and how big each partition should be.

As to inode size, that depends on the file system you choose... for example, I think that inode is meaningless in a reiserfs, but it is important if you use ext2/3fs. At any rate, you probably want to use a journaling fs.

rivang 01-22-2003 10:25 PM

Thanks for info... good info there...

I have already chosen ReiserFS for my file system.

headturner 01-23-2003 04:26 AM

Greetings All: This is to Daren...... I have been wondering about the /boot partition stuff for some time. Your post answered a question that has been bothering me for a while.
I have a small collection of Toshiba T200 Pen-tablets that have a propriatory harddrive of 80 meg with a PCMCIA type 3 slot for an ATA HD which I have several of. I am wanting to install a distro of linux but was having trouble getting around the small main (non-replacable) drive. Assuming your info is straight all I need to do is use my boot floppys to start the install via my PCMCIA CD drive in the other PCMCIA slot, partition the Main drive with /boot of about 10 meg use the other 70 meg as swap, install a kernel that will run my PCMCIA HD with it identified as / (root) (2gig)
As these machines have 36 meg of RAM it will be a light weight system by todays standards, but what else is new, in 486s that is??!?!?!?!?!?!?!

rivang 04-16-2003 11:56 AM

Anyone out there running Apache, PHP, MySQL and qMail have any other suggestions about partitioning for a server?

danimaldaisy 04-16-2003 06:25 PM

That all depends on what you have and how much money you wan't to spend.
Do you wan't to just work with what you have?
to at least give you an answer
start with a large capacity drive and follow the partitioning scheme as we discussed.
for example if you have a 80 gig drive and install redhat 8.0 with all of the packages, 100 meg fotr the boot partition and lets say 512 me for swap asuming you are using 256 meg of ram you should have a little more that 74 gig left plenty of roo to do whatever you want.

if you have the extra money get 2 identical drives and set 1 up with this scheme.
when you are done mirror it then let it install.(setup of course)
look around. 80 gig maxtors go for around $95 and up.
but size is up to you.
the reason i leave root for the remainder of the drive is because i have all that drive space to work with. if i start partitioning everything off than i hose myself because i run out of room later on.
besides i'm not running a corporation out of my house anyway.
my setup includes a 10 gig partitioned as i mentioned and also a 30 gig drive mounted as /usr/public for a file server and ftp. I'll need a bigger drive soon as you can never have to much drive space. hope that helps and as always someone else will come along and put there 2 cents in.

rivang 04-16-2003 10:17 PM

I do some web design on the side so rather than hand off my clients to someone else for hosting... I want to build a server capable of hosting websites using Apache, PHP, MySQL, DJBDNS, ProFTP and qMail.

I have built a box to start with... it has the following specs...

Athlon XP 1800
Shuttle AK31v3 motherboard
256MB DDR PC2100
Diamond Stealth 3D (old I know but should do fine for Fluxbox)
Quantum 40 GB drive
Western Digital 20GB drive
3com NIC

I want to start with adequate partitions to handle a moderately busy Apache, PHP, MySQL, DJBDNS, ProFTP and qMail server. I will split some of these tasks off to other boxes as my hosting venture grows.

Slackware is my distro of choice... cause it ROCKS...

I wish I would have known more about Linux back in 1998. If I had, I would have used Linux instead of Netware 5 to build an ISP. Netware worked very well but I could have certainly saved some $ using Linux.

danimaldaisy 04-17-2003 12:11 AM

ok now we are getting somewhere.
what needs to be determined here is what kind of bandwidth you have.
Is it way up there or average.
for example i host a few websites my self

celeron 366 fanless heatsink (peace of mind here knowing the cpu fan won't fail)
128meg of ram
10 gig harddrive
built on spare parts
mpower connection with 3 meg upstream.
no problems and can't tell the difference from this compared to the duron 1.3 i used to run.
serves ftp connections.
check out www.ikwote.com and rbsautomotive.com for examples

also my buddy runs a p1 233 with 128meg of ram at www.vicshouse.com
and also has a public ftp server all with a 160k upspeed.

So far my point is that you have more than enough computing power.
you are looking good

Haven't mess with slackware but obviously it comes with apache anyway.
be aware that the apache.org website doesn't tell you everything and since you wan't to host multiple sites with 1 ip address it won't be easy.
I can get you started just let me know where you start pulling you're hair out and let me know. you need to be familiar with dns to acomplish this. i remember a year ago i did not understand whet dns did now i know exactly what it does. you should have no problems.

Me since i'm cheap as far as maintaining a service am going to upgrade to the mini-itx via m6000 motherboard with a fanless 600 mhz cpu ddr udma 133 all the goodies
read about it here
http://www.viavpsd.com/product/epia_...therboardId=81
and see it here
http://www.newegg.com/app/Showimage....180-027-02.JPG
and it take about 60-70 watts to run the whole computer which if the monitor is in sleep mode it will cost almost nothing to operate.
i went all out building a performance server and realised that You don't need such a rediculous machine. you will soon realize that by experimenting. i just like the idea of a fanless cpu because i don't have to worry about the whole thing going up in smoke.
anyway let me know.

By the way for dns you wan't to stick with the bind config utility, for ftp go with vsftpd it is really easy to manage, sql ? do you mean ssl using certificates for a secure website? if you only plan on having 1 ip than you won't be able to do this since you are running multiple websites on 1 IP and apache doesn't support that yet. for each secure website you will need an additional ip address and a nic card for that address.(get's expensive) alot of hosting companies out there don't even offer a secure website for sql or ssl anyway.

I'm trying to get qmail installed and it's driving me nuts and as far as disk quota that is another thing driving me nuts as i wan't to limit the size of each ftp account and i can't. but i'll figure it out.

rivang 04-17-2003 08:48 AM

Well this is the Internet service provider, which was a full service ISP with Internet access, web hosting, email and FTP.

www.hawksnet.net

They sold their Internet customer base to another local ISP and transitioned to just web hosting.

Like I said, I built HawksNet on Netware 5.0/5.1 from the ground up. I still use Netware 5.1 as the NOS and Netscape Enterprise Webserver for Netware for the web server.

Enterprise Web Server provides several ways to host multiple websites on one server...

1. You can add secondary IP addresses that are bound to the same NIC... these are called hardware virtual servers.

2. You can use software virtual servers by adding config statements in the obj.conf... one of the main config files for Enterprise... by adding multiple document roots.

ie:
<Client urlhost="yourdomain.com">
NameTrans fn="document-root" root="vol1:/host/client"
</Client>
<Client urlhost="*.yourdomain.com">
NameTrans fn="document-root" root="vol1:/host/client"
</Client>

I am looking at replacing HawksNet's Netware server with a Linux box in the future... but just testing and trying to learn how to setup a Linux server capable of performing the needed tasks.

So by what you said about Apache, there is no support for any type of virtual hosts... where you can host multiple websites on one IP address?

So when you setup Apache, it is usually for one website?

danimaldaisy 04-17-2003 04:57 PM

no it supports all of that! with the exeption that if you decide to host multiple sites on 1 ip the ssl for secure websites must be disabled. And i know the lines that must be commented out in apache.
i work with apache 2.x and not 1.3 because for the life of me i could not get 1.3 to work but had success with ver. 2.x.
so if slackware comes with that distro you should be fine.
I got everything running in redhat 8.0 though and i'm hoping the same utilities are at least installed in slackware so that you can use that distro and still get the job done.

vamp 05-18-2003 11:11 AM

rviang,

How did you manage to partition your drive into so many partitions?

/boot 300MB hda1
/root 1000MB hda2
/swap 240MB hda3
/usr 1000MB hda5
/var 1000MB hda6
/opt 1000MB hda7
/home 1900MB hda8

I thought you can only create up to 4 partitions on any drive!


Thx!

fancypiper 05-18-2003 11:31 AM

You can have 4 primarypartitions, or 3 primary and one extended partition which contains several logical partitions.

doublefailure 05-18-2003 11:32 AM

mine..

Filesystem Size Used Avail Use% Mounted on
/dev/hda8 2.8G 2.0G 713M 75% /
/dev/hda10 10G 6.9G 3.0G 69% /usr/local
/dev/hda6 23M 5.4M 16M 25% /boot
/dev/hda9 3.8G 3.1G 584M 85% /home
/dev/hda5 1.9G 827M 1.1G 42% /mnt/windows

vamp 05-18-2003 12:36 PM

fancypiper,

Would it matter which partitions you set as logical? (performance issues/ future upgrading/ expandability/ etc.

I'm guessing you wouldn't want the / and SWAP partitions to be logical...

fancypiper 05-18-2003 01:22 PM

I have only had troubles with the Windows 98 install. Sometimes it can see the extended partition and re-do the partitioning table.

As far as Linux is concerned, the modern kernels are happy with their partitions anywhere, either primary or logical.

If you drop back as far as say Redhat 6.2, that kernel had the 1024 cylinder limit that you may have read about.

# Freeware partitioning software
Look for fips20 on your install CD
Ranish Partition Manager
Tom's Root and Boot Floppy has Linux fdisk
Proper Filesystem Layout

My scheme:
Code:

[phil@uilleann phil]$ su -
Password:
[root@uilleann root]# fdisk /dev/hda -l
 
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
  Device Boot    Start      End    Blocks  Id  System
/dev/hda1  *        1      1217  9772056    c  Win95 FAT32 (LBA)
/dev/hda2          1217      1229    99855  83  Linux
/dev/hda3          1230      1676  3590527+  83  Linux
/dev/hda4          1677      4865  25615642+  5  Extended
/dev/hda5          1677      1742    530113+  82  Linux swap
/dev/hda6          1743      2189  3590496  83  Linux
/dev/hda7          2190      2636  3590496  83  Linux
/dev/hda8          2637      3751  8956206  83  Linux
/dev/hda9          3752      4865  8948173+  83  Linux
[root@uilleann root]#
[phil@uilleann phil]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda6            3.4G  2.6G  620M  82% /
/dev/hda2              95M  11M  79M  12% /boot
/dev/hda8            8.6G  921M  7.7G  11% /home
/dev/hda3            3.5G  1.6G  2.0G  45% /mnt/gentoo
/dev/hda7            3.4G  2.2G  1.1G  69% /mnt/mandrake
/dev/hda1            9.4G  2.6G  6.8G  28% /mnt/winc
none                  251M    0  251M  0% /dev/shm
/dev/hda9            8.6G  943M  7.7G  11% /snd
/dev/hda2              95M  11M  79M  12% /mnt/gentoo/boot
/dev/hda9            8.6G  943M  7.7G  11% /mnt/gentoo/pub
[phil@uilleann phil]$


rivang 05-19-2003 10:24 AM

I have changed my default partitions based on many of the suggestions here.

I am currently using:

/boot 15 - 25MB more than sufficient if you need a /boot. I am not using a /boot at this time.

/ - 2GB - primary
/swap - 128MB - primary
/usr - 4GB - logical
/tmp - 1GB - logical
/var - 1GB - logical
/home - the rest of your space - logical

with this setup and a fresh install of Slackware 9.0... using the command "du -hs /*" my file systems look like:

/bin 6.2M
/boot 2.9M
/dev 293k
/etc 20M
/home 3.1M
/lib 16M
/mnt 2k
/opt 314M
/proc 1k
/root 1.2M
/sbin 6.7M
/tmp 2.4M
/usr 1.5G
/var 19M

fancypiper 05-19-2003 10:46 AM

I don't understand your reasoning for a separate /root partition. Could you explain?
Code:

[phil@uilleann phil]$ su -
Password:
[root@uilleann root]# find $1 -type d | xargs du -sm | sort -g
1      ./.elinks
1      ./.gconf
1      ./.gconf/apps
1      ./.gconf/apps/gnome-terminal
1      ./.gconf/apps/gnome-terminal/profiles
1      ./.gconf/apps/gnome-terminal/profiles/Default
1      ./.gconf/apps/nautilus
1      ./.gconf/apps/nautilus/preferences
1      ./.gconf/apps/panel
1      ./.gconf/apps/panel/profiles
1      ./.gconf/apps/panel/profiles/default
1      ./.gconf/apps/panel/profiles/default/applets
1      ./.gconf/apps/panel/profiles/default/applets/battstat_applet
1      ./.gconf/apps/panel/profiles/default/applets/clock_applet
1      ./.gconf/apps/panel/profiles/default/applets/clock_applet/prefs
1      ./.gconf/apps/panel/profiles/default/applets/mixer_applet
1      ./.gconf/apps/panel/profiles/default/applets/pager_applet
1      ./.gconf/apps/panel/profiles/default/applets/pager_applet/prefs
1      ./.gconf/apps/panel/profiles/default/applets/tasklist_applet
1      ./.gconf/apps/panel/profiles/default/applets/tasklist_applet/prefs
1      ./.gconf/apps/panel/profiles/default/applets/tray_applet
1      ./.gconf/apps/panel/profiles/default/general
1      ./.gconf/apps/panel/profiles/default/objects
1      ./.gconf/apps/panel/profiles/default/objects/email_launcher
1      ./.gconf/apps/panel/profiles/default/objects/help_launcher
1      ./.gconf/apps/panel/profiles/default/objects/main_menu
1      ./.gconf/apps/panel/profiles/default/objects/presentations_launcher
1      ./.gconf/apps/panel/profiles/default/objects/print_launcher
1      ./.gconf/apps/panel/profiles/default/objects/spreadsheet_launcher
1      ./.gconf/apps/panel/profiles/default/objects/terminal_launcher
1      ./.gconf/apps/panel/profiles/default/objects/web_browser_launcher
1      ./.gconf/apps/panel/profiles/default/objects/wordprocessor_launcher
1      ./.gconf/apps/panel/profiles/default/panels
1      ./.gconf/apps/panel/profiles/default/panels/bottom_panel
1      ./.gconfd
1      ./.gconf/desktop
1      ./.gconf/desktop/gnome
1      ./.gconf/desktop/gnome/applications
1      ./.gconf/desktop/gnome/applications/window_manager
1      ./.gconf/desktop/gnome/file_views
1      ./.gnome
1      ./.gnome2
1      ./.gnome2/accels
1      ./.gnome2/panel2.d
1      ./.gnome2/panel2.d/default
1      ./.gnome2/panel2.d/default/launchers
1      ./.gnome2_private
1      ./.gnome2/share
1      ./.gnome2/share/cursor-fonts
1      ./.gnome2/share/fonts
1      ./.gnome/application-info
1      ./.gnome/apps
1      ./.gnome/apps/Multimedia
1      ./.gnome-desktop
1      ./.gnome/gnome-vfs
1      ./.gnome/mime-info
1      ./.gstreamer
1      ./.kde
1      ./.kde/share
1      ./.kde/share/applnk
1      ./.kde/share/applnk/Multimedia
1      ./.kde/share/mimelnk
1      ./.kde/share/mimelnk/application
1      ./.kde/share/mimelnk/audio
1      ./.kde/share/mimelnk/image
1      ./.kde/share/mimelnk/text
1      ./.kde/share/mimelnk/video
1      ./.mc
1      ./.mc/cedit
1      ./.metacity
1      ./.metacity/sessions
1      ./.mozilla/default/3tjl6t5f.slt/chrome
1      ./nano-1.2.1/m4
1      ./.nautilus
1      ./.nautilus/metafiles
1      ./.netscape
1      ./.netscape/plugins
1      ./.realnetworks
1      ./Real/Plugins/ExtResources
1      ./Real/Update_OB/UI
1      ./.synaptic
1      ./.xcdroast
2      ./.mozilla
2      ./.mozilla/default
2      ./.mozilla/default/3tjl6t5f.slt
2      ./.mozilla/default/3tjl6t5f.slt/Cache
2      ./nano-1.2.1/po
2      ./Real/Common
3      ./Real/Codecs
3      ./Real/Update_OB
5      ./nano-1.2.1
5      ./Real/RCAPlugins
8      ./Real/Plugins
18      ./Real
27      .
[root@uilleann root]#


rivang 05-19-2003 10:56 AM

that was a type o... should have just been

/

I edited my post above to correct that.

Azmeen 05-19-2003 11:24 AM

If you need input from a newbie at using linux as a primary desktop OS... however, I do have some experience in hosting...

/boot is quite overrated, it just holds the kernel and small files such as System.map... You rarely need a /boot partition more than 20 megs, unless of course you have about 15 kernel choices to choose when booting.

As for other partitions, since you already know that you will host two sites, maybe you'd like to hard partition /home/site1 and /home/site2. But it will be problematic should they fully use the apportioned space, and need more in the future.

I would suggest the following schema:
/boot ...... about 20 megs
/ ............. all space available after deducting /boot and swap
swap ....... 2.5 * physical ram (I know it sounds Windows-ish, but it's sound advice ;) )

Anyway, good luck with your choices!

p/s: Experts, please give opinions on whether my statement here is suitable or otherwise for a hosting environment. Your input is highly appreciated.


All times are GMT -5. The time now is 03:12 AM.