You are not logged in.
Hi all,
I recently resized my arch root partition, growing it from 17GB to 55GB (ish). To do this i used the parted utility from the arch live installer to delete an old partition in front of my root and expand the aforementioned root partition, so the data didn't need to be shifted in the process. All seems to be in order when i boot up my arch system, but then i fire up the parted and df utilities and these are the outputs
$ df -BM
Filesystem 1M-blocks Used Available Use% Mounted on
dev 3668M 0M 3668M 0% /dev
run 3713M 2M 3712M 1% /run
/dev/sda7 17515M 14535M 2069M 88% /
tmpfs 3713M 40M 3673M 2% /dev/shm
tmpfs 3713M 0M 3713M 0% /sys/fs/cgroup
tmpfs 3713M 1M 3713M 1% /tmp
/dev/loop1 89M 89M 0M 100% /var/lib/snapd/snap/core/6964
/dev/loop2 36M 36M 0M 100% /var/lib/snapd/snap/gtk-common-themes/1198
/dev/sda1 256M 34M 223M 14% /efi
tmpfs 743M 1M 743M 1% /run/user/1000
# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
Model: blah blah
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
...
7 172GB 228GB 55.7GB ext4 Arch
...
This of course causes problems with day to day usage of the system.
Thanks in advance for your help
Last edited by GlitchedCode (2019-05-25 21:41:52)
Wryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
my very cool dwm build
Offline
Have you fsck'ed it? Worse comes to worse, restore your backup after re-partitioning it. You did backup the data before attempting a resize, no?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Resizing the partition is only the first step. You now need to resize the filesystem to use all of the available space.
Offline
Should have thought about that, thanks for the suggestions. I was able to solve this issue by using resize2fs.
Last edited by GlitchedCode (2019-05-25 21:42:11)
Wryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
my very cool dwm build
Offline