You are not logged in.

#1 2007-09-14 00:17:09

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

increase size of /home partition help please

Hi,
I have a 250 GB hdd and want to increase the size of the home partition by about another 50 GB. How do I do this without any risk to my install or data?
As you can see it's a sata drive and Arch has been running wonderfully on it for the last 6 months. It's a keeper and I would hate to lose it.
Here are my partitions: (I rounded the figures from the decimal points)
sda1      ext3       /boot       643MB
sda2      extended   67GB
sda5                 swap          4GB
sda6      reiserfs        /            7GB
sda7      reiserfs        /home       55GB
Unallocated   164GB

Thanks:)


bebop lives

Offline

#2 2007-09-14 00:27:12

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: increase size of /home partition help please

It seems that reiserfs supports online resizing, so just use gparted. You should backup your data before proceeding though, as usual.

Offline

#3 2007-09-14 08:08:54

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: increase size of /home partition help please

use the gparted live cd! works great! used it several times to resize my hard drives!

http://gparted.sourceforge.net/livecd.php

mfg iggy


sorry for my bad english smile

Offline

#4 2007-09-14 10:52:32

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

Re: increase size of /home partition help please

Thanks guys,
I got the Gparted live cd but the mouse freezes after a couple of minutes and stops me from doing anything.
How about the version in applications/system tools in Arch?
Do I have to unmount the /home partition before I can do anything with it?
I'm just a bit nervous that's all.
Will it resize it by grabbing part of the "unallocated" partition?
Thanks. I have a core2 duo system with nvidia if that makes any difference?


bebop lives

Offline

#5 2007-09-14 11:36:06

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: increase size of /home partition help please

With resizing there's always a risk of loss.

Take a look at why you need the space. It might be safer to just use another partition. For example, put documents on one, music and movies on the other, and have it mounted into your home dir.

James

Offline

#6 2007-09-14 12:04:47

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

Re: increase size of /home partition help please

That idea appeals to me Iphitus,
Would it be too much to ask you to go into more detail on how you would do that?
I just want to increase my storage space.
Thanks


bebop lives

Offline

#7 2007-09-14 13:13:28

dschrute
Member
From: NJ, USA
Registered: 2007-04-09
Posts: 183

Re: increase size of /home partition help please

Assuming you don't need /home to use both the existing 55G and the 164G unallocated, you could also rename the existing /home, create a new/bigger /home, and copy everything over :

umount /home
mkdir /home.old
mount /dev/sda7 /home.old
make new-big partition for new /home - mkfs.reiser, whatever...
mount /dev/sdaX /home
cp -Rp /home.old/* /home

You can the unmount /home.old and delete the partition to free up that 55G, or do whatever else you need with it.  I did the same thing on my Slackware box a couple years back, to move /home from hda to hdb, and it worked just fine.

Last edited by dschrute (2007-09-14 18:06:22)

Offline

#8 2007-09-15 12:41:18

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

Re: increase size of /home partition help please

Thanks ,
I'm working on it. I appreciate your time.
Regards


bebop lives

Offline

Board footer

Powered by FluxBB