LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to increase /home directory size (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-increase-home-directory-size-788716/)

vin08rag 02-12-2010 01:11 PM

how to increase /home directory size
 
Hi i am using redhat linux 4 .I want to increase the /home directory size. How can I do that.I have copied all the files into another directory. Please help thanks in advance

repo 02-12-2010 01:13 PM

Do you mean the partition ?

vin08rag 02-12-2010 01:16 PM

yes. i am trying to install oracle 11g and it is not getting installing and says that the space is not enough.so i want to increase the /home directory size .right now it is 4gb

repo 02-12-2010 01:19 PM

If it's a partition, you can use gparted to decrease the / partition, and resize the /home
Please post the output from
Code:

df -h

vin08rag 02-12-2010 01:23 PM

when i typed df -h i got 3 mount points

file system size used mounted on
/dev/sda2 50g 17g /
/dev/sda1 494M 14m /boot

none 594m 0 /dev/shm..

i think no partition is made with /home ..i am sorry i am new to linux..plz help

repo 02-12-2010 01:34 PM

Quote:

/dev/sda2 50g 17g /
Seems to me there is enough space.
You have 33 GB free.

When are you getting this error?

madhanoct 03-02-2010 01:39 AM

how to increase /home directory

roy_lt_69 03-02-2010 04:19 AM

Do you have some sort of disk quota on your user id?
If this is the case then talk to your administrator.

Otherwise, the easiest way is to create/find an unused partition and mount it under /home. You will first need to backup the existing content of /home to this new partition before mounting it to /home! You will also need to update /etc/fstab.


Hope this helps.


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