Virtual Box shows virtual size as 59.7 GB but actual size is 6.84 GB. Need to expand the root to use full...

Area Under the Curve - Variable and Log Transformed Variable

When to use the term transposed instead of modulation?

PTiJ: How should animals pray?

Error in TransformedField

Why are special aircraft used for the carriers in the United States Navy?

Does the in-code argument passing conventions used on PDP-11's have a name?

How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?

3.5% Interest Student Loan or use all of my savings on Tuition?

Is every open circuit a capacitor?

Is being socially reclusive okay for a graduate student?

In the world of The Matrix, what is "popping"?

How can I be pwned if I'm not registered on the compromised site?

Practical reasons to have both a large police force and bounty hunting network?

Where do you go through passport control when transiting through another Schengen airport on your way out of the Schengen area?

An Undercover Army

How to make sure I'm assertive enough in contact with subordinates?

Dukha vs legitimate need

Is this nominative case or accusative case?

Why would the IRS ask for birth certificates or even audit a small tax return?

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

Split a number into equal parts given the number of parts

How to chmod files that have a specific set of permissions

Under what conditions would I NOT add my Proficiency Bonus to a Spell Attack Roll (or Saving Throw DC)?

Is there a math equivalent to the conditional ternary operator?



Virtual Box shows virtual size as 59.7 GB but actual size is 6.84 GB. Need to expand the root to use full 60GB


CentOS 7 Linux resize filesystem after partition resizeUbuntu VM “read only file system” fix?Partitioning and installing on non formatted driveAfter doubling virtual disk size in VirtualBox, fdisk -l still shows old disk size in guest CentOSmove folder on a linux partitionHow to “cut” sda5 to sda2? or how to boot GParted?No Disk Space CentOS while my data is only 1.8GHow to access sda4 device/directory?Unable to mount external drive or sshfsNo boot partition at all, but the server still boots upMasked/Hidden Partition













0















I was trying to install software into a CentOS Linux. It shows that I don't have enough space. When I do df -h I get the following result



[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 6.7G 6.7G 0 100% /
devtmpfs 1.4G 0 1.4G 0% /dev
tmpfs 1.4G 0 1.4G 0% /dev/shm
tmpfs 1.4G 8.7M 1.4G 1% /run
tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup
/dev/sda1 497M 157M 341M 32% /boot
tmpfs 282M 0 282M 0% /run/user/0


Then I checked the Virtual Box settings it shows that Virtual size is 59.7 GB but the actual size is 6.84 GB



How do I increase the size to 59.7 GB?










share|improve this question









New contributor




truthtriumphs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • probably you've partitioned the disk incorrectly. The hard disk size is 59.7GB but the root partition is only 6.7GB, the remaining is just blank space. Run fdisk -l to see

    – phuclv
    yesterday











  • Yes, you are right. How do I increase the root partition to 59.7GB? when I run fdisk -l I get this @phuclv Disk /dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 16777215 7875584 8e Linux LVM

    – truthtriumphs
    yesterday








  • 1





    Possible duplicate of CentOS 7 Linux resize filesystem after partition resize

    – Deltik
    yesterday
















0















I was trying to install software into a CentOS Linux. It shows that I don't have enough space. When I do df -h I get the following result



[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 6.7G 6.7G 0 100% /
devtmpfs 1.4G 0 1.4G 0% /dev
tmpfs 1.4G 0 1.4G 0% /dev/shm
tmpfs 1.4G 8.7M 1.4G 1% /run
tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup
/dev/sda1 497M 157M 341M 32% /boot
tmpfs 282M 0 282M 0% /run/user/0


Then I checked the Virtual Box settings it shows that Virtual size is 59.7 GB but the actual size is 6.84 GB



How do I increase the size to 59.7 GB?










share|improve this question









New contributor




truthtriumphs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • probably you've partitioned the disk incorrectly. The hard disk size is 59.7GB but the root partition is only 6.7GB, the remaining is just blank space. Run fdisk -l to see

    – phuclv
    yesterday











  • Yes, you are right. How do I increase the root partition to 59.7GB? when I run fdisk -l I get this @phuclv Disk /dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 16777215 7875584 8e Linux LVM

    – truthtriumphs
    yesterday








  • 1





    Possible duplicate of CentOS 7 Linux resize filesystem after partition resize

    – Deltik
    yesterday














0












0








0








I was trying to install software into a CentOS Linux. It shows that I don't have enough space. When I do df -h I get the following result



[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 6.7G 6.7G 0 100% /
devtmpfs 1.4G 0 1.4G 0% /dev
tmpfs 1.4G 0 1.4G 0% /dev/shm
tmpfs 1.4G 8.7M 1.4G 1% /run
tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup
/dev/sda1 497M 157M 341M 32% /boot
tmpfs 282M 0 282M 0% /run/user/0


Then I checked the Virtual Box settings it shows that Virtual size is 59.7 GB but the actual size is 6.84 GB



How do I increase the size to 59.7 GB?










share|improve this question









New contributor




truthtriumphs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I was trying to install software into a CentOS Linux. It shows that I don't have enough space. When I do df -h I get the following result



[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 6.7G 6.7G 0 100% /
devtmpfs 1.4G 0 1.4G 0% /dev
tmpfs 1.4G 0 1.4G 0% /dev/shm
tmpfs 1.4G 8.7M 1.4G 1% /run
tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup
/dev/sda1 497M 157M 341M 32% /boot
tmpfs 282M 0 282M 0% /run/user/0


Then I checked the Virtual Box settings it shows that Virtual size is 59.7 GB but the actual size is 6.84 GB



How do I increase the size to 59.7 GB?







linux hard-drive virtualbox partitioning virtual-machine






share|improve this question









New contributor




truthtriumphs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




truthtriumphs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 20 hours ago







truthtriumphs













New contributor




truthtriumphs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









truthtriumphstruthtriumphs

11




11




New contributor




truthtriumphs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





truthtriumphs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






truthtriumphs is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • probably you've partitioned the disk incorrectly. The hard disk size is 59.7GB but the root partition is only 6.7GB, the remaining is just blank space. Run fdisk -l to see

    – phuclv
    yesterday











  • Yes, you are right. How do I increase the root partition to 59.7GB? when I run fdisk -l I get this @phuclv Disk /dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 16777215 7875584 8e Linux LVM

    – truthtriumphs
    yesterday








  • 1





    Possible duplicate of CentOS 7 Linux resize filesystem after partition resize

    – Deltik
    yesterday



















  • probably you've partitioned the disk incorrectly. The hard disk size is 59.7GB but the root partition is only 6.7GB, the remaining is just blank space. Run fdisk -l to see

    – phuclv
    yesterday











  • Yes, you are right. How do I increase the root partition to 59.7GB? when I run fdisk -l I get this @phuclv Disk /dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 16777215 7875584 8e Linux LVM

    – truthtriumphs
    yesterday








  • 1





    Possible duplicate of CentOS 7 Linux resize filesystem after partition resize

    – Deltik
    yesterday

















probably you've partitioned the disk incorrectly. The hard disk size is 59.7GB but the root partition is only 6.7GB, the remaining is just blank space. Run fdisk -l to see

– phuclv
yesterday





probably you've partitioned the disk incorrectly. The hard disk size is 59.7GB but the root partition is only 6.7GB, the remaining is just blank space. Run fdisk -l to see

– phuclv
yesterday













Yes, you are right. How do I increase the root partition to 59.7GB? when I run fdisk -l I get this @phuclv Disk /dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 16777215 7875584 8e Linux LVM

– truthtriumphs
yesterday







Yes, you are right. How do I increase the root partition to 59.7GB? when I run fdisk -l I get this @phuclv Disk /dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 16777215 7875584 8e Linux LVM

– truthtriumphs
yesterday






1




1





Possible duplicate of CentOS 7 Linux resize filesystem after partition resize

– Deltik
yesterday





Possible duplicate of CentOS 7 Linux resize filesystem after partition resize

– Deltik
yesterday










1 Answer
1






active

oldest

votes


















0














From your comment /dev/sda2 is around ~8GB (since it looks like fdisk uses 1KiB sector, but I'm not sure about that)



/dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 16777215 7875584 8e Linux LVM


Just run gparted to resize /dev/sda2 to the end of the hard drive, and then resize your LVM partition. For more information about resize LVM partition read How can I resize an LVM partition? (i.e: physical volume)






share|improve this answer
























  • thanks for the comment. I need to expand it 60 GB, the article that you linked shows "How to shrink" Is there a way to expand?

    – truthtriumphs
    20 hours ago











  • Hi @phuclv, I did run the following, it does seem to have given another 8% free. Here is what I did [root@localhost ~]# lvextend -l 100%VG /dev/mapper/centos-root Size of logical volume centos/root changed from 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents). Logical volume root successfully resized. Here is the result [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 6.7G 5.5G 1.3G 82% / Still wondering how do get to use the 60 GB, which is not showing in any of the disk usage?

    – truthtriumphs
    20 hours ago













  • @truthtriumphs did you resize /dev/sda2 as I said? Because 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents) looks like the partition is still the same size, so LVM can't resize it any bigger than that

    – phuclv
    20 hours ago











  • Thanks!! I missed that step. I am trying to resize it

    – truthtriumphs
    20 hours ago











  • @phclv I don't see a /dev/sda2 patition. Here is the result of df -h command /dev/mapper/centos-root 6.7G 5.6G 1.2G 83% / devtmpfs 1.4G 0 1.4G 0% /dev tmpfs 1.4G 0 1.4G 0% /dev/shm tmpfs 1.4G 8.7M 1.4G 1% /run tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup /dev/sda1 497M 157M 341M 32% /boot tmpfs 282M 0 282M 0% /run/user/0 Kindly forgive me I am just learning how Linux does partitions

    – truthtriumphs
    20 hours ago













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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
});


}
});






truthtriumphs is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1411843%2fvirtual-box-shows-virtual-size-as-59-7-gb-but-actual-size-is-6-84-gb-need-to-ex%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









0














From your comment /dev/sda2 is around ~8GB (since it looks like fdisk uses 1KiB sector, but I'm not sure about that)



/dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 16777215 7875584 8e Linux LVM


Just run gparted to resize /dev/sda2 to the end of the hard drive, and then resize your LVM partition. For more information about resize LVM partition read How can I resize an LVM partition? (i.e: physical volume)






share|improve this answer
























  • thanks for the comment. I need to expand it 60 GB, the article that you linked shows "How to shrink" Is there a way to expand?

    – truthtriumphs
    20 hours ago











  • Hi @phuclv, I did run the following, it does seem to have given another 8% free. Here is what I did [root@localhost ~]# lvextend -l 100%VG /dev/mapper/centos-root Size of logical volume centos/root changed from 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents). Logical volume root successfully resized. Here is the result [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 6.7G 5.5G 1.3G 82% / Still wondering how do get to use the 60 GB, which is not showing in any of the disk usage?

    – truthtriumphs
    20 hours ago













  • @truthtriumphs did you resize /dev/sda2 as I said? Because 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents) looks like the partition is still the same size, so LVM can't resize it any bigger than that

    – phuclv
    20 hours ago











  • Thanks!! I missed that step. I am trying to resize it

    – truthtriumphs
    20 hours ago











  • @phclv I don't see a /dev/sda2 patition. Here is the result of df -h command /dev/mapper/centos-root 6.7G 5.6G 1.2G 83% / devtmpfs 1.4G 0 1.4G 0% /dev tmpfs 1.4G 0 1.4G 0% /dev/shm tmpfs 1.4G 8.7M 1.4G 1% /run tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup /dev/sda1 497M 157M 341M 32% /boot tmpfs 282M 0 282M 0% /run/user/0 Kindly forgive me I am just learning how Linux does partitions

    – truthtriumphs
    20 hours ago


















0














From your comment /dev/sda2 is around ~8GB (since it looks like fdisk uses 1KiB sector, but I'm not sure about that)



/dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 16777215 7875584 8e Linux LVM


Just run gparted to resize /dev/sda2 to the end of the hard drive, and then resize your LVM partition. For more information about resize LVM partition read How can I resize an LVM partition? (i.e: physical volume)






share|improve this answer
























  • thanks for the comment. I need to expand it 60 GB, the article that you linked shows "How to shrink" Is there a way to expand?

    – truthtriumphs
    20 hours ago











  • Hi @phuclv, I did run the following, it does seem to have given another 8% free. Here is what I did [root@localhost ~]# lvextend -l 100%VG /dev/mapper/centos-root Size of logical volume centos/root changed from 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents). Logical volume root successfully resized. Here is the result [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 6.7G 5.5G 1.3G 82% / Still wondering how do get to use the 60 GB, which is not showing in any of the disk usage?

    – truthtriumphs
    20 hours ago













  • @truthtriumphs did you resize /dev/sda2 as I said? Because 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents) looks like the partition is still the same size, so LVM can't resize it any bigger than that

    – phuclv
    20 hours ago











  • Thanks!! I missed that step. I am trying to resize it

    – truthtriumphs
    20 hours ago











  • @phclv I don't see a /dev/sda2 patition. Here is the result of df -h command /dev/mapper/centos-root 6.7G 5.6G 1.2G 83% / devtmpfs 1.4G 0 1.4G 0% /dev tmpfs 1.4G 0 1.4G 0% /dev/shm tmpfs 1.4G 8.7M 1.4G 1% /run tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup /dev/sda1 497M 157M 341M 32% /boot tmpfs 282M 0 282M 0% /run/user/0 Kindly forgive me I am just learning how Linux does partitions

    – truthtriumphs
    20 hours ago
















0












0








0







From your comment /dev/sda2 is around ~8GB (since it looks like fdisk uses 1KiB sector, but I'm not sure about that)



/dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 16777215 7875584 8e Linux LVM


Just run gparted to resize /dev/sda2 to the end of the hard drive, and then resize your LVM partition. For more information about resize LVM partition read How can I resize an LVM partition? (i.e: physical volume)






share|improve this answer













From your comment /dev/sda2 is around ~8GB (since it looks like fdisk uses 1KiB sector, but I'm not sure about that)



/dev/sda: 64.0 GB, 63962087424 bytes, 124925952 sectors

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 16777215 7875584 8e Linux LVM


Just run gparted to resize /dev/sda2 to the end of the hard drive, and then resize your LVM partition. For more information about resize LVM partition read How can I resize an LVM partition? (i.e: physical volume)







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









phuclvphuclv

9,84263992




9,84263992













  • thanks for the comment. I need to expand it 60 GB, the article that you linked shows "How to shrink" Is there a way to expand?

    – truthtriumphs
    20 hours ago











  • Hi @phuclv, I did run the following, it does seem to have given another 8% free. Here is what I did [root@localhost ~]# lvextend -l 100%VG /dev/mapper/centos-root Size of logical volume centos/root changed from 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents). Logical volume root successfully resized. Here is the result [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 6.7G 5.5G 1.3G 82% / Still wondering how do get to use the 60 GB, which is not showing in any of the disk usage?

    – truthtriumphs
    20 hours ago













  • @truthtriumphs did you resize /dev/sda2 as I said? Because 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents) looks like the partition is still the same size, so LVM can't resize it any bigger than that

    – phuclv
    20 hours ago











  • Thanks!! I missed that step. I am trying to resize it

    – truthtriumphs
    20 hours ago











  • @phclv I don't see a /dev/sda2 patition. Here is the result of df -h command /dev/mapper/centos-root 6.7G 5.6G 1.2G 83% / devtmpfs 1.4G 0 1.4G 0% /dev tmpfs 1.4G 0 1.4G 0% /dev/shm tmpfs 1.4G 8.7M 1.4G 1% /run tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup /dev/sda1 497M 157M 341M 32% /boot tmpfs 282M 0 282M 0% /run/user/0 Kindly forgive me I am just learning how Linux does partitions

    – truthtriumphs
    20 hours ago





















  • thanks for the comment. I need to expand it 60 GB, the article that you linked shows "How to shrink" Is there a way to expand?

    – truthtriumphs
    20 hours ago











  • Hi @phuclv, I did run the following, it does seem to have given another 8% free. Here is what I did [root@localhost ~]# lvextend -l 100%VG /dev/mapper/centos-root Size of logical volume centos/root changed from 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents). Logical volume root successfully resized. Here is the result [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 6.7G 5.5G 1.3G 82% / Still wondering how do get to use the 60 GB, which is not showing in any of the disk usage?

    – truthtriumphs
    20 hours ago













  • @truthtriumphs did you resize /dev/sda2 as I said? Because 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents) looks like the partition is still the same size, so LVM can't resize it any bigger than that

    – phuclv
    20 hours ago











  • Thanks!! I missed that step. I am trying to resize it

    – truthtriumphs
    20 hours ago











  • @phclv I don't see a /dev/sda2 patition. Here is the result of df -h command /dev/mapper/centos-root 6.7G 5.6G 1.2G 83% / devtmpfs 1.4G 0 1.4G 0% /dev tmpfs 1.4G 0 1.4G 0% /dev/shm tmpfs 1.4G 8.7M 1.4G 1% /run tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup /dev/sda1 497M 157M 341M 32% /boot tmpfs 282M 0 282M 0% /run/user/0 Kindly forgive me I am just learning how Linux does partitions

    – truthtriumphs
    20 hours ago



















thanks for the comment. I need to expand it 60 GB, the article that you linked shows "How to shrink" Is there a way to expand?

– truthtriumphs
20 hours ago





thanks for the comment. I need to expand it 60 GB, the article that you linked shows "How to shrink" Is there a way to expand?

– truthtriumphs
20 hours ago













Hi @phuclv, I did run the following, it does seem to have given another 8% free. Here is what I did [root@localhost ~]# lvextend -l 100%VG /dev/mapper/centos-root Size of logical volume centos/root changed from 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents). Logical volume root successfully resized. Here is the result [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 6.7G 5.5G 1.3G 82% / Still wondering how do get to use the 60 GB, which is not showing in any of the disk usage?

– truthtriumphs
20 hours ago







Hi @phuclv, I did run the following, it does seem to have given another 8% free. Here is what I did [root@localhost ~]# lvextend -l 100%VG /dev/mapper/centos-root Size of logical volume centos/root changed from 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents). Logical volume root successfully resized. Here is the result [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 6.7G 5.5G 1.3G 82% / Still wondering how do get to use the 60 GB, which is not showing in any of the disk usage?

– truthtriumphs
20 hours ago















@truthtriumphs did you resize /dev/sda2 as I said? Because 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents) looks like the partition is still the same size, so LVM can't resize it any bigger than that

– phuclv
20 hours ago





@truthtriumphs did you resize /dev/sda2 as I said? Because 6.67 GiB (1707 extents) to 6.71 GiB (1717 extents) looks like the partition is still the same size, so LVM can't resize it any bigger than that

– phuclv
20 hours ago













Thanks!! I missed that step. I am trying to resize it

– truthtriumphs
20 hours ago





Thanks!! I missed that step. I am trying to resize it

– truthtriumphs
20 hours ago













@phclv I don't see a /dev/sda2 patition. Here is the result of df -h command /dev/mapper/centos-root 6.7G 5.6G 1.2G 83% / devtmpfs 1.4G 0 1.4G 0% /dev tmpfs 1.4G 0 1.4G 0% /dev/shm tmpfs 1.4G 8.7M 1.4G 1% /run tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup /dev/sda1 497M 157M 341M 32% /boot tmpfs 282M 0 282M 0% /run/user/0 Kindly forgive me I am just learning how Linux does partitions

– truthtriumphs
20 hours ago







@phclv I don't see a /dev/sda2 patition. Here is the result of df -h command /dev/mapper/centos-root 6.7G 5.6G 1.2G 83% / devtmpfs 1.4G 0 1.4G 0% /dev tmpfs 1.4G 0 1.4G 0% /dev/shm tmpfs 1.4G 8.7M 1.4G 1% /run tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup /dev/sda1 497M 157M 341M 32% /boot tmpfs 282M 0 282M 0% /run/user/0 Kindly forgive me I am just learning how Linux does partitions

– truthtriumphs
20 hours ago












truthtriumphs is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















truthtriumphs is a new contributor. Be nice, and check out our Code of Conduct.













truthtriumphs is a new contributor. Be nice, and check out our Code of Conduct.












truthtriumphs is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Super User!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1411843%2fvirtual-box-shows-virtual-size-as-59-7-gb-but-actual-size-is-6-84-gb-need-to-ex%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...