LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-26-2007, 01:13 PM   #1
Nighthawk4
Member
 
Registered: Jan 2005
Location: UK
Distribution: PCLinuxOS
Posts: 37

Rep: Reputation: 15
Changing partition sizes


I hope this is an appropriate place to ask this.

When I installed Linux, I chose to use 30Gb for / and 30Gb for /home.

Unfortunately, this has proven to be a mistake. My /home partition is seriously full and / is only about 5%.

Is there any way to resize these partitions without reinstalling completely or screwing up the whole system - which would lead to a reinstallation anyway?

Can this be done please?


I use PCLinuxOS 2007 on an Asus A6Km laptop, with an 80Gb hard disk.
 
Old 08-26-2007, 03:54 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
If you formatted your partition using ReiserFS, you theoretically could ("resize_reiserfs" command), but I never tried it out. Don't know about other filesystems.
 
Old 08-26-2007, 07:10 PM   #3
theapodan
LQ Newbie
 
Registered: Jun 2002
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Cool Interested as well.

What filesystem do you use?
Check here to see what gparted and associated file system specific tools support:
http://gparted.sourceforge.net/features.php

You'd have to shrink one and grow the other.

I am interested in this sort of question as well. I have a 12 GB /, formatted as jfs, and find that I need more space.

On the other hand, if i could just expand the existing partition, I have space available. I was wondering if I could resize the partition using parted and then do a remount,resize to expand the jfs file system, but I do not know whether data corruption would result or if I'd have to mount / using a livecd to do the resize, or whether I could do it logged in as root in a multiuser environment.


Any ideas, people of earth?
 
Old 08-27-2007, 07:12 AM   #4
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
theapodan, by the way I have jfs too on my notebook - I decided to use that one after a small test showed that the CPU usage was the smallest one when dealing with files on a JFS partition compared to others (XFS, Reiser, ext, etc...).
But when I had to decide what kind of filesystem to use for another PC, I did a small test and saw that actually ReiserFS is quite good especially at dealing with small files (e.g. source code), so I went for it and I am still happy with it. Now that I know this I would reformat my notebook using ReiserFS. On the other side I really don't like Ext2 & 3. Have a look here at point 2b.
Why did you choose JFS?
 
Old 08-27-2007, 08:47 AM   #5
Nighthawk4
Member
 
Registered: Jan 2005
Location: UK
Distribution: PCLinuxOS
Posts: 37

Original Poster
Rep: Reputation: 15
My filesystem is ext2 - on PCLinuxOS.
 
Old 08-27-2007, 11:02 AM   #6
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
you should definitely go at least to ext3
 
Old 08-27-2007, 10:17 PM   #7
theapodan
LQ Newbie
 
Registered: Jun 2002
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Wink Jfs

I used jfs because I saw some synthetic benchmarks that showed it with the best performance/cpu utilization ratio. I have seen evidence to the contrary, but it seems to work fine, so I haven't worried about it. File I/O is not a real big deal for me.

I also think IBM makes good stuff. We used an AIX cluster in college and it was always reliable and fast, so I figured I'd use jfs for historical reasons too.

And also, EVERYONE uses reiserfs or ext3. I have to be different.
 
Old 08-27-2007, 11:09 PM   #8
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Rep: Reputation: 31
if you don't have any file on your home so i guess you just should format your hdd and re-partitionate like this: 6GB for "/" and the rest to "/home". But how much memory do you have? you need to make a swap partition with at least 512 MB if you have less than 1 GB RAM. On my computer i got 1 GB of DDR2 and a swap partition of 2GB (it's unnecessary so much but as i got plenty of space on my HDD it's not a waste).


cheers
 
Old 08-28-2007, 07:44 AM   #9
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
hehe, yeah theapodan, your last reason was as well something I thought about. But unluckily in my case the result wasn't great. Especially when I want to install some new program (I use Gentoo with "portage" as package manager which currently has 35000 tiny files in its file-database), checking for dependencies on JFS takes 20 times longer (a few minutes) than on ReiserFS, if it's the first check and the data is not yet cached in RAM.
 
  


Reply



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
Changing partition sizes, especially swap eric_marsh Linux - General 7 01-14-2007 08:33 PM
Partition sizes gardenair Linux - Newbie 1 11-10-2005 08:40 AM
changing block sizes on mount djgerbavore Slackware 2 05-30-2005 09:12 PM
Font sizes keep changing tumbelo SUSE / openSUSE 0 04-18-2005 06:00 AM
Changing partition sizes SchwarzeFeen Linux - General 3 01-05-2004 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration