You are not logged in.

#1 2011-02-05 01:22:40

aluser
Member
Registered: 2011-01-16
Posts: 119

[SOLVED]Extend file partition limit

Hello everyone,
I've  come to realize that the sda3 ( the /  mount point) is way too small, and so that's why  I have resized my home partition which was taking all the space. Now that I have about 40 gigs of 'unallocated space' I can't seem to extend the sda3 file system. I've used gparted succesfully to shrink the home partition but nothing else. The bar or handles can only be dragged to a certain extent with a maximum amount of 7.53 GiB which is what I have now. How can extend it and make use of that unallocated space? I'm only allowed to extend the home filesystem and nothing else.

here is some info about the partitions with gparted

/dev/sda1 ext2 101.94MiB boot
/dev/sda2 linux-swap 258.86 swap
/dev/sda3 ext4 7.33 GiB /
/dev/sda4 ext4 195.31 GiB home
unallocated unallocated 28.23 MiB --- ---
unallocated unallocated 29.81 GiB --- ---

some extra info

archuser@archws ~ % df -h                                                        
Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  204K  9.9M   2% /dev
/dev/sda3             7.3G  6.0G  898M  88% /
shm                  1004M  1.2M 1003M   1% /dev/shm
/dev/sda1              99M   16M   79M  17% /boot
/dev/sda4             193G   18G  166G  10% /home

Last edited by aluser (2011-02-12 19:06:40)

Offline

#2 2011-02-05 07:41:35

skodabenz
Banned
From: Tamilnadu, India
Registered: 2010-04-11
Posts: 382

Re: [SOLVED]Extend file partition limit

Can you post you fdisk output, it seems like you have reached the 4 primary partitions in the MBR limit.


My new forum user/nick name is "the.ridikulus.rat" .

Offline

#3 2011-02-05 07:46:52

skodabenz
Banned
From: Tamilnadu, India
Registered: 2010-04-11
Posts: 382

Re: [SOLVED]Extend file partition limit

Ok seems like the 'unallocated space' is not between /dev/sda3 and /dev/sda4. Only the unallocated space 'following' a partition, can be added to that partition, in this case that unallocated space can be added to /dev/sda4 alone.

To add the space to /dev/sda2, move /dev/sda4 to the end of the disk using resize/move option in gparted. For this run gparted from a live system like parted magic or system rescue cd, not from within archlinux.

You should get an output like

/dev/sda1 ext2 101.94MiB boot
/dev/sda2 linux-swap 258.86 swap
/dev/sda3 ext4 7.33 GiB /
unallocated unallocated 28.23 MiB --- ---
unallocated unallocated 29.81 GiB --- ---
/dev/sda4 ext4 195.31 GiB home

and then make extend /dev/sda3.


My new forum user/nick name is "the.ridikulus.rat" .

Offline

#4 2011-02-05 21:56:00

aluser
Member
Registered: 2011-01-16
Posts: 119

Re: [SOLVED]Extend file partition limit

Nice work. It took a while again to move but it was worth it, it worked. thanks

Offline

#5 2011-02-08 01:42:18

kalcho
Member
From: Belgrade, Serbia
Registered: 2011-02-01
Posts: 11

Re: [SOLVED]Extend file partition limit

Mark it solved. Next time I suggest you make logical volumes. It's easier managing partitions;)

Offline

Board footer

Powered by FluxBB