Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-11-2006, 04:34 AM   #1
Registered: Feb 2006
Location: East London ,South Africa
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
Talking increase space on /home partition

I have a machine witthe following partitions:

[root@backup filesaves]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb2 10080520 5442488 4125964 57% /
/dev/hdb1 101089 9324 86546 10% /boot
/dev/hdb3 5036316 305628 4474856 7% /home
none 111472 0 111472 0% /dev/shm
/dev/hdb5 4032092 296420 3530848 8% /var

how would i remove the /var and /dev/shm partitions and add that space to /home (if that is even possible)
Old 10-11-2006, 04:56 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,047
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
Check what order the partitions are in, if there's a partition
between home and var this won't work (not without some other disk
to temporarily store data).

/dev/shm is NOT a partition, leave it alone

As for the other(s): it's possible; but you'll have to back-up
the content of /home and /var to / (somewhere), unmount /home and
/var (ideally you do this all from a live or rescue CD),

Delete the partitions; recreate one big partition; give it a file-
system; adjust fstab in your /etc (change /home partition, remove
/var line). Mount home. Restore /var from backup, restore /home.
Reboot. :}



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to increase the size of home partition srnerkar1 Linux - Software 1 12-05-2005 06:28 AM
My /home partition shows up as unpartitioned space! purplecow Linux - Hardware 2 07-06-2004 06:20 PM
I want to increase my Linux partition.Should I take space from a Windows partition? PrinceBalak Linux - General 1 06-25-2004 06:44 PM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 11:19 PM
How to increase SWAP partition space ? sureshsaragadam Linux - Newbie 23 10-01-2003 10:24 AM

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration