You are not logged in.

#1 2012-06-18 02:46:28

alculquicondor
Member
Registered: 2011-06-05
Posts: 29
Website

Problem recognizing resized root partition

Hello, everybody:
Recently I moved and resized my root and home partitions with Gparted using a liveCD. Everything went good, but ArchLinux doesn't recognize the new size of my root partition (the home partition have no troubles).

This is the output from parted:

# parted -l
Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Numero  Inicio  Fin     Tamaño  Typo      Sistema de ficheros  Banderas
 1      1049kB  10,7GB  10,7GB  primary   fat32                diag
 2      10,7GB  12,9GB  2147MB  primary   linux-swap(v1)
 3      12,9GB  33,3GB  20,4GB  primary                        arranque
 4      33,9GB  500GB   466GB   extended
 5      33,9GB  65,4GB  31,6GB  logical   ext4
 6      65,4GB  76,0GB  10,6GB  logical   ext4
 7      118GB   500GB   382GB   logical   ext4

Wich is correct for both the root (5) and home (6) partitions. However, this is the output from df:

# df -lh
S.ficheros     Tamaño Usados  Disp Uso% Montado en
rootfs            19G       16G       2,3G  88%   /
dev               1,9G        0          1,9G   0%    /dev
run               1,9G        636K    1,9G   1%    /run
/dev/sda5     19G        16G      2,3G  88%    /
shm              1,9G      432K     1,9G   1%     /dev/shm
/dev/sda6        9,9G    3,2G      6,3G  34%   /home
/dev/sda7        356G   131G     208G  39%  /home/alculquicondor/.data

As you can see, the home partition is ok, but not the root partition. I remember that when i restarted ArchLinux for the first time after the resize, there was a message saying that the cached first block and the real first block of the home partition where different, so it performed a new read. But that doesn't happened with the root partition. Have you ever experienced something like this? What can I do? Is there anyway to force this 'read' for the root partition?

Thanks in advance.

Offline

#2 2012-06-18 04:27:56

mynis01
Member
Registered: 2011-04-29
Posts: 72

Re: Problem recognizing resized root partition

I'm not sure I understand what the issue is. Is your /etc/fstab set to use UUIDs, and did those UUIDs maybe change when you resized things?

Offline

#3 2012-06-19 02:18:10

alculquicondor
Member
Registered: 2011-06-05
Posts: 29
Website

Re: Problem recognizing resized root partition

If that would the case, the system could not start. The problem is that i resized (and also moved) the root partition from 20GB to 30GB. However, ArchLinux didn't recognize that new size and keeps assuming its size is 20GB, as the df command shows. But that's not true, as shown by parted and gparted. Did i explain it better now? How can i fix that?

Offline

Board footer

Powered by FluxBB