LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 10-11-2006, 03:34 AM   #1
v1nc3nt
Member
 
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, 03:56 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
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. :}


Cheers,
Tink
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 05:28 AM
My /home partition shows up as unpartitioned space! purplecow Linux - Hardware 2 07-06-2004 05:20 PM
I want to increase my Linux partition.Should I take space from a Windows partition? PrinceBalak Linux - General 1 06-25-2004 05:44 PM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 10:19 PM
How to increase SWAP partition space ? sureshsaragadam Linux - Newbie 23 10-01-2003 09:24 AM


All times are GMT -5. The time now is 11:16 PM.

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