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

PTiJ: How should animals pray?

What does it mean when I add a new variable to my linear model and the R^2 stays the same?

What does "rhumatis" mean?

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

If nine coins are tossed, what is the probability that the number of heads is even?

Paper published similar to PhD thesis

The Key to the Door

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

Is there a way to find out the age of climbing ropes?

Align equations with text before one of them

The need of reserving one's ability in job interviews

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

Is divide-by-zero a security vulnerability?

Can a Mimic (container form) actually hold loot?

Are there other characters in the Star Wars universe who had damaged bodies and needed to wear an outfit like Darth Vader?

Can a space-faring robot still function over a billion years?

Can inspiration allow the Rogue to make a Sneak Attack?

Are small insurances worth it

What is a term for a function that when called repeatedly, has the same effect as calling once?

Was it really inappropriate to write a pull request for the company I interviewed with?

Is it a Cyclops number? "Nobody" knows!

I can't die. Who am I?

Can a Mexican citizen living in US under DACA drive to Canada?

Naming Characters after Friends/Family



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 22 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
    22 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
    22 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
    22 hours ago











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

    – truthtriumphs
    22 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
    22 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
    22 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
    22 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
    22 hours ago











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

    – truthtriumphs
    22 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
    22 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
    22 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
    22 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
    22 hours ago











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

    – truthtriumphs
    22 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
    22 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
    22 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
    22 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
    22 hours ago











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

    – truthtriumphs
    22 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
    22 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
    22 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
    22 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
    22 hours ago











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

    – truthtriumphs
    22 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
    22 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
22 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
22 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
22 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
22 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
22 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
22 hours ago













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

– truthtriumphs
22 hours ago





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

– truthtriumphs
22 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
22 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
22 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

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...