df not recognizing partition being resized? [duplicate]
up vote
1
down vote
favorite
This question already has an answer here:
How do I resize partitions and filesystems on them?
1 answer
changing the partition of a linux
1 answer
I've got Ubuntu 18.04 Server in Virtual Box, and once I've ran out of 10 GB of allocated space on virtual disk, I've increased the size of the virtual disk to 17 GB and resized the root partition with parted
's resizepart
command (and done so while partition is in use, and yes I know it's bad practice, but it's a virtual machine for development, all code committed to github and I've a clone of the machine just in case).
Everything seems to have worked: lsblk
and udisksctl
properly report the new size, but df
is still stuck at reporting the old 10 GB and 100% usage (even after reboot). Why is it so and what can I do about this odd df
's behavior ?
ubuntu virtualbox disk-usage parted
marked as duplicate by Stephen Kitt, Jeff Schaller, JigglyNaga, schily, elbarna 17 hours ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
up vote
1
down vote
favorite
This question already has an answer here:
How do I resize partitions and filesystems on them?
1 answer
changing the partition of a linux
1 answer
I've got Ubuntu 18.04 Server in Virtual Box, and once I've ran out of 10 GB of allocated space on virtual disk, I've increased the size of the virtual disk to 17 GB and resized the root partition with parted
's resizepart
command (and done so while partition is in use, and yes I know it's bad practice, but it's a virtual machine for development, all code committed to github and I've a clone of the machine just in case).
Everything seems to have worked: lsblk
and udisksctl
properly report the new size, but df
is still stuck at reporting the old 10 GB and 100% usage (even after reboot). Why is it so and what can I do about this odd df
's behavior ?
ubuntu virtualbox disk-usage parted
marked as duplicate by Stephen Kitt, Jeff Schaller, JigglyNaga, schily, elbarna 17 hours ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
umount then mount the partition.
– Ipor Sircer
yesterday
@IporSircer It's/
partition. I don't recall it's possible to unmount/
while system is running. But I rebooted it once already, shouldn't that have had an effect ?
– Sergiy Kolodyazhnyy
yesterday
@StephenKitt Wrong duplicate. I already used that link to resize. I'm asking whydf
is still reporting the old size even though all other tools report new size
– Sergiy Kolodyazhnyy
yesterday
@StephenKitt OK, makes sense. Well, post it as a proper answer then.
– Sergiy Kolodyazhnyy
yesterday
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
This question already has an answer here:
How do I resize partitions and filesystems on them?
1 answer
changing the partition of a linux
1 answer
I've got Ubuntu 18.04 Server in Virtual Box, and once I've ran out of 10 GB of allocated space on virtual disk, I've increased the size of the virtual disk to 17 GB and resized the root partition with parted
's resizepart
command (and done so while partition is in use, and yes I know it's bad practice, but it's a virtual machine for development, all code committed to github and I've a clone of the machine just in case).
Everything seems to have worked: lsblk
and udisksctl
properly report the new size, but df
is still stuck at reporting the old 10 GB and 100% usage (even after reboot). Why is it so and what can I do about this odd df
's behavior ?
ubuntu virtualbox disk-usage parted
This question already has an answer here:
How do I resize partitions and filesystems on them?
1 answer
changing the partition of a linux
1 answer
I've got Ubuntu 18.04 Server in Virtual Box, and once I've ran out of 10 GB of allocated space on virtual disk, I've increased the size of the virtual disk to 17 GB and resized the root partition with parted
's resizepart
command (and done so while partition is in use, and yes I know it's bad practice, but it's a virtual machine for development, all code committed to github and I've a clone of the machine just in case).
Everything seems to have worked: lsblk
and udisksctl
properly report the new size, but df
is still stuck at reporting the old 10 GB and 100% usage (even after reboot). Why is it so and what can I do about this odd df
's behavior ?
This question already has an answer here:
How do I resize partitions and filesystems on them?
1 answer
changing the partition of a linux
1 answer
ubuntu virtualbox disk-usage parted
ubuntu virtualbox disk-usage parted
asked yesterday
Sergiy Kolodyazhnyy
8,03712051
8,03712051
marked as duplicate by Stephen Kitt, Jeff Schaller, JigglyNaga, schily, elbarna 17 hours ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Stephen Kitt, Jeff Schaller, JigglyNaga, schily, elbarna 17 hours ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
umount then mount the partition.
– Ipor Sircer
yesterday
@IporSircer It's/
partition. I don't recall it's possible to unmount/
while system is running. But I rebooted it once already, shouldn't that have had an effect ?
– Sergiy Kolodyazhnyy
yesterday
@StephenKitt Wrong duplicate. I already used that link to resize. I'm asking whydf
is still reporting the old size even though all other tools report new size
– Sergiy Kolodyazhnyy
yesterday
@StephenKitt OK, makes sense. Well, post it as a proper answer then.
– Sergiy Kolodyazhnyy
yesterday
add a comment |
umount then mount the partition.
– Ipor Sircer
yesterday
@IporSircer It's/
partition. I don't recall it's possible to unmount/
while system is running. But I rebooted it once already, shouldn't that have had an effect ?
– Sergiy Kolodyazhnyy
yesterday
@StephenKitt Wrong duplicate. I already used that link to resize. I'm asking whydf
is still reporting the old size even though all other tools report new size
– Sergiy Kolodyazhnyy
yesterday
@StephenKitt OK, makes sense. Well, post it as a proper answer then.
– Sergiy Kolodyazhnyy
yesterday
umount then mount the partition.
– Ipor Sircer
yesterday
umount then mount the partition.
– Ipor Sircer
yesterday
@IporSircer It's
/
partition. I don't recall it's possible to unmount /
while system is running. But I rebooted it once already, shouldn't that have had an effect ?– Sergiy Kolodyazhnyy
yesterday
@IporSircer It's
/
partition. I don't recall it's possible to unmount /
while system is running. But I rebooted it once already, shouldn't that have had an effect ?– Sergiy Kolodyazhnyy
yesterday
@StephenKitt Wrong duplicate. I already used that link to resize. I'm asking why
df
is still reporting the old size even though all other tools report new size– Sergiy Kolodyazhnyy
yesterday
@StephenKitt Wrong duplicate. I already used that link to resize. I'm asking why
df
is still reporting the old size even though all other tools report new size– Sergiy Kolodyazhnyy
yesterday
@StephenKitt OK, makes sense. Well, post it as a proper answer then.
– Sergiy Kolodyazhnyy
yesterday
@StephenKitt OK, makes sense. Well, post it as a proper answer then.
– Sergiy Kolodyazhnyy
yesterday
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
There’s probably a more specific duplicate somewhere, but I can’t find it.
The reason df
isn’t showing any extra space is that it measure the free space inside the file system; it doesn’t care about partitions, logical volumes etc. So far, you’ve resized the disk and the partition; you also need to resize the file system:
sudo resize2fs /dev/sda1
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
There’s probably a more specific duplicate somewhere, but I can’t find it.
The reason df
isn’t showing any extra space is that it measure the free space inside the file system; it doesn’t care about partitions, logical volumes etc. So far, you’ve resized the disk and the partition; you also need to resize the file system:
sudo resize2fs /dev/sda1
add a comment |
up vote
2
down vote
accepted
There’s probably a more specific duplicate somewhere, but I can’t find it.
The reason df
isn’t showing any extra space is that it measure the free space inside the file system; it doesn’t care about partitions, logical volumes etc. So far, you’ve resized the disk and the partition; you also need to resize the file system:
sudo resize2fs /dev/sda1
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
There’s probably a more specific duplicate somewhere, but I can’t find it.
The reason df
isn’t showing any extra space is that it measure the free space inside the file system; it doesn’t care about partitions, logical volumes etc. So far, you’ve resized the disk and the partition; you also need to resize the file system:
sudo resize2fs /dev/sda1
There’s probably a more specific duplicate somewhere, but I can’t find it.
The reason df
isn’t showing any extra space is that it measure the free space inside the file system; it doesn’t care about partitions, logical volumes etc. So far, you’ve resized the disk and the partition; you also need to resize the file system:
sudo resize2fs /dev/sda1
answered yesterday
Stephen Kitt
156k23342414
156k23342414
add a comment |
add a comment |
umount then mount the partition.
– Ipor Sircer
yesterday
@IporSircer It's
/
partition. I don't recall it's possible to unmount/
while system is running. But I rebooted it once already, shouldn't that have had an effect ?– Sergiy Kolodyazhnyy
yesterday
@StephenKitt Wrong duplicate. I already used that link to resize. I'm asking why
df
is still reporting the old size even though all other tools report new size– Sergiy Kolodyazhnyy
yesterday
@StephenKitt OK, makes sense. Well, post it as a proper answer then.
– Sergiy Kolodyazhnyy
yesterday