You are not logged in.

#1 2013-02-20 01:02:12

lokut
Member
From: Atlanta
Registered: 2013-02-20
Posts: 2

Partition resize not recognized

Hello everyone,
Because I use only one partition for everything, I recently resized my root partition to make it bigger. I used a spare LiveCD with GParted to resize, and when I logged back into Arch, I found that parted shows a 50GB partition of my root, while df shows a my root partition mounted as a 3GB partition.

"df" ouput

Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda7        3582112 3387596     12552 100% /
dev              1717904       0   1717904   0% /dev
run              1720604    1888   1718716   1% /run
tmpfs            1720604       0   1720604   0% /dev/shm
tmpfs            1720604       0   1720604   0% /sys/fs/cgroup
tmpfs            1720604      24   1720580   1% /tmp

"du -h / --max-depth=1"

4.0K	/iso
20M	/boot
1.6M	/bin
12K	/srv
7.7M	/sbin
0	/dev
4.0K	/tmp
16K	/lost+found
0	/sys
12K	/mnt
1.4G	/usr
9.3M	/etc
1.9M	/run
928M	/home
du: cannot access '/proc/1585/task/1585/fd/4': No such file or directory
du: cannot access '/proc/1585/task/1585/fdinfo/4': No such file or directory
du: cannot access '/proc/1585/fd/4': No such file or directory
du: cannot access '/proc/1585/fdinfo/4': No such file or directory
0	/proc
4.0K	/opt
499M	/root
341M	/var
3.2G	/

"parted" printout

Model: ATA ST500LT012-9WS14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system  Name  Flags
 1      1049kB  420MB  419MB   ntfs         Ba    hidden
 2      420MB   693MB  273MB   fat32        EF    boot
 3      693MB   827MB  134MB                Mi    msftres
 4      827MB   423GB  422GB   ntfs         Ba
 7      423GB   473GB  50.0GB  ext4
 5      473GB   500GB  27.2GB  ntfs

Thanks for any help

Offline

#2 2013-02-20 03:23:39

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Partition resize not recognized

Did you expand the file-system after you expanded the partition?


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#3 2013-02-20 12:38:45

lokut
Member
From: Atlanta
Registered: 2013-02-20
Posts: 2

Re: Partition resize not recognized

Thanks I didn't realize that resizing a  partition also required resizing the filesystem.

Thanks for your help

Offline

Board footer

Powered by FluxBB