LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 03-10-2005, 12:25 PM   #1
Mr_Munkey
Member
 
Registered: Sep 2004
Distribution: Slackware Current
Posts: 33

Rep: Reputation: 15
Combining EXT3 Partitions


Is it possible to combine two EXT3 partitions in Linux? I need to combine my /home partition with my /var partition.

Thanks.
 
Old 03-11-2005, 08:55 PM   #2
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
I may be totally wrong but I would say no.

Partitions cannot be joined. However...

If you have the spare space on of the partitions, you could copy one to the other (or even create a new partition somewhere else ) and just change your fstab file in /etc to point to new layout of your drives.
 
Old 03-11-2005, 09:35 PM   #3
nonzero
Member
 
Registered: Feb 2005
Distribution: Debian FC4 LFS Slackware
Posts: 174

Rep: Reputation: 31
There are several ways you might go about this depending on your level of anxiety in doing this. The first question though is; In the Linux filesystem hierarchy, /var and /home are supposed to be apart. Do you have another drive you'd like to install? Would you like to make /var OR /home bigger?
I have not had great sucess with the only partition utility I know of for Linux, 'parted'. The interface is quite hard (for me) to understand, though it is supposed to be quite powerful. If you had access to the Windows tools 'Boot Commander' or 'Partition Magic' they could be helpful. The ext3 file system is ext2 with a journal, and the above utilities understand ext2 filesystems. If you had a CD-burner, you could back up your /home and /var partitions (in case you had databases or a web server running) and repartiton from a boot CD. If you had enough space on another partition (/usr) you could backup the files to a directory structure there, boot from a CD and repartition. In any case I have given you generalities and not knowing what your specific needs are that's about all I can do.
Just remember if you want to keep things, backup before you do ANYTHING!

nz
 
Old 03-14-2005, 08:19 AM   #4
Mr_Munkey
Member
 
Registered: Sep 2004
Distribution: Slackware Current
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks for all the info. What was happening was we were running out of space in our /home partition (used for apache and PHP). Originally the /var partition was really big for the databases, but we've since moved the databases onto their own server, so the /var partition is just big without the need We've decided to just get additional drives to cover it and use symbolic links.

Thanks again
 
Old 03-14-2005, 09:23 AM   #5
bullium
Member
 
Registered: Aug 2003
Location: Ohio
Distribution: Ubuntu 12.04, Mint 13, RHES 5.5, RHES 6
Posts: 146

Rep: Reputation: 17
You might want to try QTparted it is a graphical front end for parted. Just a thought.
 
  


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
Resizing ext3 partitions! alur3n Linux - General 3 10-03-2005 07:29 PM
Does XP Choke on ext3 Partitions? philipogletree Linux - Hardware 4 08-13-2005 01:04 AM
How to resize ext3 partitions? VincentB Linux - General 1 05-26-2005 11:56 AM
combining linux partitions wolfe2554 Linux - Software 3 04-19-2004 07:10 PM
Can I have some partitions be ext2 and some be ext3? WorldBuilder Linux - General 7 05-09-2003 03:49 PM


All times are GMT -5. The time now is 09:07 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