LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   partition problem (https://www.linuxquestions.org/questions/linux-newbie-8/partition-problem-802332/)

ganfun 04-16-2010 01:44 AM

partition problem
 
HI

I have installed linux ubuntu server 9.10 on my machine during the installation process i choose the manual partition and made 3 partition

Linux system on 1stdrive with 20GB space.

Then i created another 50GB partition,

Then another partition of 10GB for storing temp etc.

Now how do i tell the linux o/s to use the 10GB to use for teh swap file and temp files.

How do i check the space in this partition

I have installed webmin on this server.

linuxlover.chaitanya 04-16-2010 02:03 AM

You need different partition for swap. You can not create swap on the partition that is formatted as Linux partition. You will need to create swap on the partition

http://www.redhat.com/docs/manuals/l...ap-adding.html

will tell you how to create a swap partition manually.

And to use the partition as temp, you will need to mount the partition on /temp for it to be used as temp.

linuxlover.chaitanya 04-16-2010 02:03 AM

Edit: OOPS double post.

salasi 04-16-2010 10:32 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3937260)
You need different partition for swap...
http://www.redhat.com/docs/manuals/l...ap-adding.html

You will note from the reference quoted that you could create a swap file instead. I'm not sure that it really desirable except in the singular case that you have a running system in which you have some investment in the way of time and testing and you want to extend its life somewhat, withoput major changes to an existing partition system, but it is possible.

The quoted reference is a rather old, and its reference to swap files being in some way generally undesirable probably does not apply any more, but still, swap partitions are more widely used and therefore more extensively tested.


All times are GMT -5. The time now is 04:22 AM.