Thread View: comp.os.linux.setup
6 messages
6 total messages
Started by Edward COFFEY
Thu, 22 Apr 1999 00:00
HDD Partitions
Author: Edward COFFEY
Date: Thu, 22 Apr 1999 00:00
Date: Thu, 22 Apr 1999 00:00
6 lines
1043 bytes
1043 bytes
I have recently started to explore Linux and I want to know how my drive should be partitioned. It is only a small free area, 800meg or so. What is really wrong with having just a great big partition at / followed by the swap partition? Also, where do applications traditionally go? eg. where should I put the GIMP in my tree?
Re: HDD Partitions
Author: Andrew Wedding
Date: Thu, 22 Apr 1999 00:00
Date: Thu, 22 Apr 1999 00:00
90 lines
4823 bytes
4823 bytes
Edward,
There is nothing wrong with one big partition, as other users have said.
However there are some issues that do arise when thinking of installing a
new "system".
I have copied a (large) section from
http://www.infocom.cqu.edu.au/Units/aut99/85321/Resources/Print_Resources/Te
xtbook/chap10/index.html
this is part of my systems administration course that I am studying....
I hope that this helps some....
Why would you bother partitioning a disk and using different partitions for
different directories?
The reasons are numerous and include:
Separation Issues
Different directory branches should be kept on different physical partitions
for reasons including:
Certain directories will contain data that will only need to be read, others
will need to be both read and written. It is possible (and good practice) to
mount these partitions restricting such operations.
Directories including /tmp and /var/spool can fill up with files very
quickly, especially if a process becomes unstable or the system is purposely
flooded with email. This can cause problems. For example, let us assume that
the /tmp directory is on the same partition as the /home directory. If the
/tmp directory causes the partition to be filled no user will be able to
write to their /home directory, there is no space. If /tmp and /home are on
separate partitions the filling of the /tmp partition will not influence the
/home directories.
The logical division of system software, local software and home directories
all lend themselves to separate partitions
Backup Issues
These include:
Separating directories like /usr/local onto separate partitions makes the
process of an OS upgrade easier - the new OS version can be installed over
all partition except the partition that the /usr/local system exists on.
Once installation is complete the /usr/local partition can be re-attached.
The actual size of the partition can make it easier to perform backups - it
isn't as easy to backup a single 2.1 Gig partition as it is to backup four
500 Meg partitions. This does depend on the backup medium you are using.
Some medium will handle a 2.1 Gb partition quite easily.
Performance Issues
By spreading the file system over several partitions and devices, the IO
load is spread around. It is then possible to have multiple seek operations
occurring simultaneously - this will improve the speed of the system.
While splitting the directory hierarchy over multiple partitions does
address the above issues, it isn't always that simple. A classic example of
this is a system that contained its Web programs and data in the /var/spool
directory. Obviously the correct location for this type of program is the
/usr branch - probably somewhere off the /usr/local system. The reason for
this strange location? ALL the other partitions on the system were full or
nearly full
- this was the only place left to install the software! And the moral of
the story is? When partitions are created for different branches of the
file hierarchy, the future needs of the system must be considered - and even
then, you won't always be able to adhere to what is "the technically
correct" location to place software.
--
Kind Regards,
*************************************
Andrew Wedding
Final year BIT student
Central Queensland University
http://users.bigpond.com/awedding
*************************************
Edward COFFEY <ecoffey@ecr.mu.oz.au> wrote in message
news:371E8F4F.BB8516F1@ecr.mu.oz.au...
> I have recently started to explore Linux and I want to know how my drive
> should be partitioned.
> It is only a small free area, 800meg or so. What is really wrong with
> having just a great big partition at / followed by the swap partition?
> Also, where do applications traditionally go? eg. where should I put
> the GIMP in my tree?
>
Re: HDD Partitions
Author: Mark Tranchant
Date: Thu, 22 Apr 1999 00:00
Date: Thu, 22 Apr 1999 00:00
26 lines
1576 bytes
1576 bytes
150MB is unnecessarily large for / with a separate /usr partition. I have 100MB (and plenty of disk space) and am only using 38MB of it. I've symlinked /var/texfonts to /usr, but that's about it. Mark. James Mandy wrote: > > 800Mb eh? > > 75Mb Swap > 150MB / root > the rest in /usr > > I have "swap, / , /usr, /home, /var/log, /www, /squid, /public" but you dont > have the space just swap , root and /usr is fine. > > Cheers, James > > > I have recently started to explore Linux and I want to know how my drive > > should be partitioned. > > It is only a small free area, 800meg or so. What is really wrong with > > having just a great big partition at / followed by the swap partition? > > Also, where do applications traditionally go? eg. where should I put > > the GIMP in my tree? > >
Re: HDD Partitions
Author: Regit Young
Date: Thu, 22 Apr 1999 00:00
Date: Thu, 22 Apr 1999 00:00
15 lines
1248 bytes
1248 bytes
Edward COFFEY wrote: > I have recently started to explore Linux and I want to know how my drive > should be partitioned. > It is only a small free area, 800meg or so. What is really wrong with > having just a great big partition at / followed by the swap partition? Nothing .... just a matter of fitting into recovery plan. > > Also, where do applications traditionally go? eg. where should I put > the GIMP in my tree? /usr/local via source. Some package managers will take /usr as top level directory.
Re: HDD Partitions
Author: James Mandy
Date: Thu, 22 Apr 1999 00:00
Date: Thu, 22 Apr 1999 00:00
18 lines
1446 bytes
1446 bytes
800Mb eh? 75Mb Swap 150MB / root the rest in /usr I have "swap, / , /usr, /home, /var/log, /www, /squid, /public" but you dont have the space just swap , root and /usr is fine. Cheers, James > I have recently started to explore Linux and I want to know how my drive > should be partitioned. > It is only a small free area, 800meg or so. What is really wrong with > having just a great big partition at / followed by the swap partition? > Also, where do applications traditionally go? eg. where should I put > the GIMP in my tree? >
Re: HDD Partitions
Author: Philip Zabukosek ANDERSON
Date: Thu, 22 Apr 1999 00:00
Date: Thu, 22 Apr 1999 00:00
22 lines
1305 bytes
1305 bytes
"James Mandy" <jamesm@space.net.au> writes: >800Mb eh? >75Mb Swap >150MB / root >the rest in /usr >I have "swap, / , /usr, /home, /var/log, /www, /squid, /public" but you dont >have the space just swap , root and /usr is fine. >Cheers, James >> I have recently started to explore Linux and I want to know how my drive >> should be partitioned. >> It is only a small free area, 800meg or so. What is really wrong with >> having just a great big partition at / followed by the swap partition? >> Also, where do applications traditionally go? eg. where should I put >> the GIMP in my tree? >> I have 10 in /boot
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads