gparted, df and resizing a hard drive partition Announcing the arrival of Valued Associate...
Are my PIs rude or am I just being too sensitive?
Classification of bundles, Postnikov towers, obstruction theory, local coefficients
What can I do if my MacBook isn’t charging but already ran out?
How does modal jazz use chord progressions?
Jazz greats knew nothing of modes. Why are they used to improvise on standards?
Strange behaviour of Check
Geometric mean and geometric standard deviation
If I can make up priors, why can't I make up posteriors?
How are presidential pardons supposed to be used?
Using "nakedly" instead of "with nothing on"
Do working physicists consider Newtonian mechanics to be "falsified"?
Passing functions in C++
How to say that you spent the night with someone, you were only sleeping and nothing else?
Can I throw a longsword at someone?
Stop battery usage [Ubuntu 18]
Is there a documented rationale why the House Ways and Means chairman can demand tax info?
Determine whether f is a function, an injection, a surjection
Can smartphones with the same camera sensor have different image quality?
Estimated State payment too big --> money back; + 2018 Tax Reform
Can the prologue be the backstory of your main character?
Statistical model of ligand substitution
Active filter with series inductor and resistor - do these exist?
What is the electric potential inside a point charge?
What to do with post with dry rot?
gparted, df and resizing a hard drive partition
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionWhy do gparted and df -h report different size, used, and avail sizes of a partition?parted not recognizing my current partition on external disk. How to fix without losing data?Gparted claims my internal drive is fullWhy is GParted listing an empty parition as using 43.90 GB?Debian Wheezy live - gparted, dmsg, fdisk etc. do not detect local hard drive but it is shown during installationExpanding a hard drive partition to fill the drive without wiping the partition?How to grow filesystem to use unallocated space in partition?External hard-drive's FAT32 partition not recognized by Windows after size increase with gpartedDoes gparted make good use of badblocks lists?Slow boot time after cloning disk and resizing partitionsWhat is the purpose of `.Trash-1000` in my external hard drive and how can I clean it up?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I block copied a 50 GB linux partition (almost full, 92% used), from
a disk which had started to have some errors to a 666 GB partition
of a 750 new hard drive using ddrescue -v -d -r 3 -f /dev/... /dev/...
After using grub I was able to boot from the new hard drive
without any noticeable problems.
While I somehow expected that I might need to resize the
result of my copying, now both gparted and df report that my new drive
is close to being full, however in different ways: gparted says that 660 GB
have been used out of 666 GB available in the partition, and df claims the partition has 41 GB in use out of a total of 47 GB.
I don't understand what is wrong, nor how to interpret
the vastly different sizes of /dev/sda1/
by gparted and df. I am lost and would appreciate suggestions
about how one can recover the use of the space in the new disk
which I expected to be more than 90% free, even after putting the
contents of the old.
disk-usage gparted
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I block copied a 50 GB linux partition (almost full, 92% used), from
a disk which had started to have some errors to a 666 GB partition
of a 750 new hard drive using ddrescue -v -d -r 3 -f /dev/... /dev/...
After using grub I was able to boot from the new hard drive
without any noticeable problems.
While I somehow expected that I might need to resize the
result of my copying, now both gparted and df report that my new drive
is close to being full, however in different ways: gparted says that 660 GB
have been used out of 666 GB available in the partition, and df claims the partition has 41 GB in use out of a total of 47 GB.
I don't understand what is wrong, nor how to interpret
the vastly different sizes of /dev/sda1/
by gparted and df. I am lost and would appreciate suggestions
about how one can recover the use of the space in the new disk
which I expected to be more than 90% free, even after putting the
contents of the old.
disk-usage gparted
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I block copied a 50 GB linux partition (almost full, 92% used), from
a disk which had started to have some errors to a 666 GB partition
of a 750 new hard drive using ddrescue -v -d -r 3 -f /dev/... /dev/...
After using grub I was able to boot from the new hard drive
without any noticeable problems.
While I somehow expected that I might need to resize the
result of my copying, now both gparted and df report that my new drive
is close to being full, however in different ways: gparted says that 660 GB
have been used out of 666 GB available in the partition, and df claims the partition has 41 GB in use out of a total of 47 GB.
I don't understand what is wrong, nor how to interpret
the vastly different sizes of /dev/sda1/
by gparted and df. I am lost and would appreciate suggestions
about how one can recover the use of the space in the new disk
which I expected to be more than 90% free, even after putting the
contents of the old.
disk-usage gparted
I block copied a 50 GB linux partition (almost full, 92% used), from
a disk which had started to have some errors to a 666 GB partition
of a 750 new hard drive using ddrescue -v -d -r 3 -f /dev/... /dev/...
After using grub I was able to boot from the new hard drive
without any noticeable problems.
While I somehow expected that I might need to resize the
result of my copying, now both gparted and df report that my new drive
is close to being full, however in different ways: gparted says that 660 GB
have been used out of 666 GB available in the partition, and df claims the partition has 41 GB in use out of a total of 47 GB.
I don't understand what is wrong, nor how to interpret
the vastly different sizes of /dev/sda1/
by gparted and df. I am lost and would appreciate suggestions
about how one can recover the use of the space in the new disk
which I expected to be more than 90% free, even after putting the
contents of the old.
disk-usage gparted
disk-usage gparted
edited Dec 1 '16 at 6:15
elie
asked Dec 1 '16 at 6:09
elieelie
235
235
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You will need to resize the filesystem after resizing the partition using resize2fs
.
From the resize2fs man page
The resize2fs
program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing.
The command to resize the filesystem you inquired about is:
sudo resize2fs /dev/sda1
2
Please improve your answer with further explanation on why this solves the problem.
– countermode
Dec 1 '16 at 7:37
@benjamin-connelly: Am I correct in reading your suggestion as that I need to do two things: 1) resize the partition (using gparted? The resize2fs man page says that resize2fs does not manipulate the size of partitions); and then 2) resize the filesystem using sudo resize2fs /dev/sda1 (without any arguments?). -- At first I thought that you had suggested to do both using resize2fs, but at the moment of action I hesitated. Many thanks for your reply and sorry about the time it took me to reply.
– elie
Dec 7 '16 at 1:03
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f327256%2fgparted-df-and-resizing-a-hard-drive-partition%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You will need to resize the filesystem after resizing the partition using resize2fs
.
From the resize2fs man page
The resize2fs
program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing.
The command to resize the filesystem you inquired about is:
sudo resize2fs /dev/sda1
2
Please improve your answer with further explanation on why this solves the problem.
– countermode
Dec 1 '16 at 7:37
@benjamin-connelly: Am I correct in reading your suggestion as that I need to do two things: 1) resize the partition (using gparted? The resize2fs man page says that resize2fs does not manipulate the size of partitions); and then 2) resize the filesystem using sudo resize2fs /dev/sda1 (without any arguments?). -- At first I thought that you had suggested to do both using resize2fs, but at the moment of action I hesitated. Many thanks for your reply and sorry about the time it took me to reply.
– elie
Dec 7 '16 at 1:03
add a comment |
You will need to resize the filesystem after resizing the partition using resize2fs
.
From the resize2fs man page
The resize2fs
program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing.
The command to resize the filesystem you inquired about is:
sudo resize2fs /dev/sda1
2
Please improve your answer with further explanation on why this solves the problem.
– countermode
Dec 1 '16 at 7:37
@benjamin-connelly: Am I correct in reading your suggestion as that I need to do two things: 1) resize the partition (using gparted? The resize2fs man page says that resize2fs does not manipulate the size of partitions); and then 2) resize the filesystem using sudo resize2fs /dev/sda1 (without any arguments?). -- At first I thought that you had suggested to do both using resize2fs, but at the moment of action I hesitated. Many thanks for your reply and sorry about the time it took me to reply.
– elie
Dec 7 '16 at 1:03
add a comment |
You will need to resize the filesystem after resizing the partition using resize2fs
.
From the resize2fs man page
The resize2fs
program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing.
The command to resize the filesystem you inquired about is:
sudo resize2fs /dev/sda1
You will need to resize the filesystem after resizing the partition using resize2fs
.
From the resize2fs man page
The resize2fs
program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing.
The command to resize the filesystem you inquired about is:
sudo resize2fs /dev/sda1
edited Dec 1 '16 at 19:48
answered Dec 1 '16 at 6:27
Benjamin ConnellyBenjamin Connelly
315
315
2
Please improve your answer with further explanation on why this solves the problem.
– countermode
Dec 1 '16 at 7:37
@benjamin-connelly: Am I correct in reading your suggestion as that I need to do two things: 1) resize the partition (using gparted? The resize2fs man page says that resize2fs does not manipulate the size of partitions); and then 2) resize the filesystem using sudo resize2fs /dev/sda1 (without any arguments?). -- At first I thought that you had suggested to do both using resize2fs, but at the moment of action I hesitated. Many thanks for your reply and sorry about the time it took me to reply.
– elie
Dec 7 '16 at 1:03
add a comment |
2
Please improve your answer with further explanation on why this solves the problem.
– countermode
Dec 1 '16 at 7:37
@benjamin-connelly: Am I correct in reading your suggestion as that I need to do two things: 1) resize the partition (using gparted? The resize2fs man page says that resize2fs does not manipulate the size of partitions); and then 2) resize the filesystem using sudo resize2fs /dev/sda1 (without any arguments?). -- At first I thought that you had suggested to do both using resize2fs, but at the moment of action I hesitated. Many thanks for your reply and sorry about the time it took me to reply.
– elie
Dec 7 '16 at 1:03
2
2
Please improve your answer with further explanation on why this solves the problem.
– countermode
Dec 1 '16 at 7:37
Please improve your answer with further explanation on why this solves the problem.
– countermode
Dec 1 '16 at 7:37
@benjamin-connelly: Am I correct in reading your suggestion as that I need to do two things: 1) resize the partition (using gparted? The resize2fs man page says that resize2fs does not manipulate the size of partitions); and then 2) resize the filesystem using sudo resize2fs /dev/sda1 (without any arguments?). -- At first I thought that you had suggested to do both using resize2fs, but at the moment of action I hesitated. Many thanks for your reply and sorry about the time it took me to reply.
– elie
Dec 7 '16 at 1:03
@benjamin-connelly: Am I correct in reading your suggestion as that I need to do two things: 1) resize the partition (using gparted? The resize2fs man page says that resize2fs does not manipulate the size of partitions); and then 2) resize the filesystem using sudo resize2fs /dev/sda1 (without any arguments?). -- At first I thought that you had suggested to do both using resize2fs, but at the moment of action I hesitated. Many thanks for your reply and sorry about the time it took me to reply.
– elie
Dec 7 '16 at 1:03
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f327256%2fgparted-df-and-resizing-a-hard-drive-partition%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