Root partition size remains same after partition resize with gparted
I had resized my root partition from 30gb to 70gb using gparted. But Ubuntu still shows that I have the same old disk size while gparted shows that I acually have 70gb and that the other 40gb is somehow used. How can I fix this?
Output of 'df -h':
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 30G 16G 13G 55% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 1.9G 8.0K 1.9G 1% /dev
tmpfs 391M 884K 390M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 284K 2.0G 1% /run/shm
none 100M 48K 100M 1% /run/user
/dev/sda6 341G 115G 227G 34% /media/Data
/dev/sdb1 932G 459G 474G 50% /media/sidharth/passport
Output of mount:
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda6 on /media/Data type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfsd-fuse on /run/user/sidharth/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=sidharth)
/dev/sdb1 on /media/sidharth/passport type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
partitioning gparted disk-usage disk-management
add a comment |
I had resized my root partition from 30gb to 70gb using gparted. But Ubuntu still shows that I have the same old disk size while gparted shows that I acually have 70gb and that the other 40gb is somehow used. How can I fix this?
Output of 'df -h':
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 30G 16G 13G 55% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 1.9G 8.0K 1.9G 1% /dev
tmpfs 391M 884K 390M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 284K 2.0G 1% /run/shm
none 100M 48K 100M 1% /run/user
/dev/sda6 341G 115G 227G 34% /media/Data
/dev/sdb1 932G 459G 474G 50% /media/sidharth/passport
Output of mount:
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda6 on /media/Data type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfsd-fuse on /run/user/sidharth/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=sidharth)
/dev/sdb1 on /media/sidharth/passport type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
partitioning gparted disk-usage disk-management
This resizing was done using an ubuntu live usb. On a side note I realized later that Ubuntu was hibernated while the resizing was done. Might have something to do with that.
– Sidharth Mudgal
Aug 7 '13 at 20:22
@guntbert: output of df -h and mount posted
– Sidharth Mudgal
Aug 7 '13 at 20:28
add a comment |
I had resized my root partition from 30gb to 70gb using gparted. But Ubuntu still shows that I have the same old disk size while gparted shows that I acually have 70gb and that the other 40gb is somehow used. How can I fix this?
Output of 'df -h':
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 30G 16G 13G 55% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 1.9G 8.0K 1.9G 1% /dev
tmpfs 391M 884K 390M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 284K 2.0G 1% /run/shm
none 100M 48K 100M 1% /run/user
/dev/sda6 341G 115G 227G 34% /media/Data
/dev/sdb1 932G 459G 474G 50% /media/sidharth/passport
Output of mount:
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda6 on /media/Data type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfsd-fuse on /run/user/sidharth/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=sidharth)
/dev/sdb1 on /media/sidharth/passport type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
partitioning gparted disk-usage disk-management
I had resized my root partition from 30gb to 70gb using gparted. But Ubuntu still shows that I have the same old disk size while gparted shows that I acually have 70gb and that the other 40gb is somehow used. How can I fix this?
Output of 'df -h':
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 30G 16G 13G 55% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 1.9G 8.0K 1.9G 1% /dev
tmpfs 391M 884K 390M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 284K 2.0G 1% /run/shm
none 100M 48K 100M 1% /run/user
/dev/sda6 341G 115G 227G 34% /media/Data
/dev/sdb1 932G 459G 474G 50% /media/sidharth/passport
Output of mount:
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda6 on /media/Data type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfsd-fuse on /run/user/sidharth/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=sidharth)
/dev/sdb1 on /media/sidharth/passport type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
partitioning gparted disk-usage disk-management
partitioning gparted disk-usage disk-management
edited Aug 7 '13 at 20:50
Sidharth Mudgal
asked Aug 7 '13 at 19:29
Sidharth MudgalSidharth Mudgal
13816
13816
This resizing was done using an ubuntu live usb. On a side note I realized later that Ubuntu was hibernated while the resizing was done. Might have something to do with that.
– Sidharth Mudgal
Aug 7 '13 at 20:22
@guntbert: output of df -h and mount posted
– Sidharth Mudgal
Aug 7 '13 at 20:28
add a comment |
This resizing was done using an ubuntu live usb. On a side note I realized later that Ubuntu was hibernated while the resizing was done. Might have something to do with that.
– Sidharth Mudgal
Aug 7 '13 at 20:22
@guntbert: output of df -h and mount posted
– Sidharth Mudgal
Aug 7 '13 at 20:28
This resizing was done using an ubuntu live usb. On a side note I realized later that Ubuntu was hibernated while the resizing was done. Might have something to do with that.
– Sidharth Mudgal
Aug 7 '13 at 20:22
This resizing was done using an ubuntu live usb. On a side note I realized later that Ubuntu was hibernated while the resizing was done. Might have something to do with that.
– Sidharth Mudgal
Aug 7 '13 at 20:22
@guntbert: output of df -h and mount posted
– Sidharth Mudgal
Aug 7 '13 at 20:28
@guntbert: output of df -h and mount posted
– Sidharth Mudgal
Aug 7 '13 at 20:28
add a comment |
2 Answers
2
active
oldest
votes
It looks like gparted did extend the partition but not the file system. You will have to do that manually (ext4fs can be extended on a running system, even the /
system).
Open a terminal and type
sudo resize2fs /dev/sda5
You will see something like "online-resize necessary" and then (after a few seconds) "the new size is ....".
Check the result with df -h
once more - you should see the new size.
1
For me, I had toresize2fs /dev/sda1
– Lloyd Dewolf
Feb 21 '15 at 2:41
add a comment |
For me, after use parted to resize the partition, was needed run:
sudo resize2fs /dev/<partition>
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f329875%2froot-partition-size-remains-same-after-partition-resize-with-gparted%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It looks like gparted did extend the partition but not the file system. You will have to do that manually (ext4fs can be extended on a running system, even the /
system).
Open a terminal and type
sudo resize2fs /dev/sda5
You will see something like "online-resize necessary" and then (after a few seconds) "the new size is ....".
Check the result with df -h
once more - you should see the new size.
1
For me, I had toresize2fs /dev/sda1
– Lloyd Dewolf
Feb 21 '15 at 2:41
add a comment |
It looks like gparted did extend the partition but not the file system. You will have to do that manually (ext4fs can be extended on a running system, even the /
system).
Open a terminal and type
sudo resize2fs /dev/sda5
You will see something like "online-resize necessary" and then (after a few seconds) "the new size is ....".
Check the result with df -h
once more - you should see the new size.
1
For me, I had toresize2fs /dev/sda1
– Lloyd Dewolf
Feb 21 '15 at 2:41
add a comment |
It looks like gparted did extend the partition but not the file system. You will have to do that manually (ext4fs can be extended on a running system, even the /
system).
Open a terminal and type
sudo resize2fs /dev/sda5
You will see something like "online-resize necessary" and then (after a few seconds) "the new size is ....".
Check the result with df -h
once more - you should see the new size.
It looks like gparted did extend the partition but not the file system. You will have to do that manually (ext4fs can be extended on a running system, even the /
system).
Open a terminal and type
sudo resize2fs /dev/sda5
You will see something like "online-resize necessary" and then (after a few seconds) "the new size is ....".
Check the result with df -h
once more - you should see the new size.
edited Oct 10 '15 at 16:17
warvariuc
1,52531838
1,52531838
answered Aug 7 '13 at 20:36
guntbertguntbert
9,142133169
9,142133169
1
For me, I had toresize2fs /dev/sda1
– Lloyd Dewolf
Feb 21 '15 at 2:41
add a comment |
1
For me, I had toresize2fs /dev/sda1
– Lloyd Dewolf
Feb 21 '15 at 2:41
1
1
For me, I had to
resize2fs /dev/sda1
– Lloyd Dewolf
Feb 21 '15 at 2:41
For me, I had to
resize2fs /dev/sda1
– Lloyd Dewolf
Feb 21 '15 at 2:41
add a comment |
For me, after use parted to resize the partition, was needed run:
sudo resize2fs /dev/<partition>
add a comment |
For me, after use parted to resize the partition, was needed run:
sudo resize2fs /dev/<partition>
add a comment |
For me, after use parted to resize the partition, was needed run:
sudo resize2fs /dev/<partition>
For me, after use parted to resize the partition, was needed run:
sudo resize2fs /dev/<partition>
answered Jan 11 at 3:34
HelderHelder
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f329875%2froot-partition-size-remains-same-after-partition-resize-with-gparted%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
This resizing was done using an ubuntu live usb. On a side note I realized later that Ubuntu was hibernated while the resizing was done. Might have something to do with that.
– Sidharth Mudgal
Aug 7 '13 at 20:22
@guntbert: output of df -h and mount posted
– Sidharth Mudgal
Aug 7 '13 at 20:28