Strange difference of disk size2019 Community Moderator Electiondf says I have 20G more disk space used than du. Why?How to mount sdb directly or using LVM partitions on sda?Resize MDADM/Software RAID underlying partition and filesystemCentos missing ext3.koExpanding root partition CentOS 6 With using fdiskLost space in LVMAdd scound Linux OS dual with Centos 7Ubuntu Server 16.04 filesystem usagebash script which will highlight maximum disk usage line on outputCentos6 - wrong fs type, bad option, bad superblock on /dev/mapper

Can I run 125kHz RF circuit on a breadboard?

Proving an identity involving cross products and coplanar vectors

Identifying "long and narrow" polygons in with PostGIS

How do I fix the group tension caused by my character stealing and possibly killing without provocation?

Is there anyway, I can have two passwords for my wi-fi

Do you waste sorcery points if you try to apply metamagic to a spell from a scroll but fail to cast it?

Air travel with refrigerated insulin

Sigmoid with a slope but no asymptotes?

El Dorado Word Puzzle II: Videogame Edition

Are Captain Marvel's powers affected by Thanos breaking the Tesseract and claiming the stone?

How do you justify more code being written by following clean code practices?

Would this string work as string?

Why didn’t Eve recognize the little cockroach as a living organism?

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

Why didn't Voldemort know what Grindelwald looked like?

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Review your own paper in Mathematics

Can you identify this lizard-like creature I observed in the UK?

Pre-Employment Background Check With Consent For Future Checks

How to preserve electronics (computers, iPads and phones) for hundreds of years

Why does a 97 / 92 key piano exist by Bösendorfer?

Do I have to take mana from my deck or hand when tapping a dual land?

How much do grades matter for a future academia position?

Unable to disable Microsoft Store in domain environment



Strange difference of disk size



2019 Community Moderator Electiondf says I have 20G more disk space used than du. Why?How to mount sdb directly or using LVM partitions on sda?Resize MDADM/Software RAID underlying partition and filesystemCentos missing ext3.koExpanding root partition CentOS 6 With using fdiskLost space in LVMAdd scound Linux OS dual with Centos 7Ubuntu Server 16.04 filesystem usagebash script which will highlight maximum disk usage line on outputCentos6 - wrong fs type, bad option, bad superblock on /dev/mapper










2















I have a Google Cloud Instance:



When i check the disk space with two different command it show:



df -H



Filesystem Size Used Avail Use% Mounted on 
/dev/sda2 11G 3.1G 7.5G 30% /
devtmpfs 300M 0 300M 0% /dev
tmpfs 308M 0 308M 0% /dev/shm
tmpfs 308M 34M 274M 12% /run
tmpfs 308M 0 308M 0% /sys/fs/cgroup
/dev/sda1 210M 12M 198M 6% /boot/efi
tmpfs 62M 0 62M 0% /run/user/1001


lsblk



 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT 
sda 8:0 0 30G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
└─sda2 8:2 0 29.8G 0 part /


Why i have these difference?



I want that my disk have all the 30G of space and not 11G.










share|improve this question









New contributor




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















  • 1





    Maybe the file system is not filling the whole partition. How did you create/modify the partition and file system?

    – sudodus
    18 hours ago











  • Assuming this is an ext* partition you can resize the disk with resize2fs /dev/sda2

    – Philip Couling
    18 hours ago











  • Please, don't post images of text.

    – Kusalananda
    18 hours ago











  • When i do resize2fs /dev/sda2 i receive: resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open /dev/sda2 Couldn't find valid filesystem superblock.

    – Ale_info
    18 hours ago











  • Please don't do that online.

    – 炸鱼薯条德里克
    18 hours ago















2















I have a Google Cloud Instance:



When i check the disk space with two different command it show:



df -H



Filesystem Size Used Avail Use% Mounted on 
/dev/sda2 11G 3.1G 7.5G 30% /
devtmpfs 300M 0 300M 0% /dev
tmpfs 308M 0 308M 0% /dev/shm
tmpfs 308M 34M 274M 12% /run
tmpfs 308M 0 308M 0% /sys/fs/cgroup
/dev/sda1 210M 12M 198M 6% /boot/efi
tmpfs 62M 0 62M 0% /run/user/1001


lsblk



 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT 
sda 8:0 0 30G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
└─sda2 8:2 0 29.8G 0 part /


Why i have these difference?



I want that my disk have all the 30G of space and not 11G.










share|improve this question









New contributor




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















  • 1





    Maybe the file system is not filling the whole partition. How did you create/modify the partition and file system?

    – sudodus
    18 hours ago











  • Assuming this is an ext* partition you can resize the disk with resize2fs /dev/sda2

    – Philip Couling
    18 hours ago











  • Please, don't post images of text.

    – Kusalananda
    18 hours ago











  • When i do resize2fs /dev/sda2 i receive: resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open /dev/sda2 Couldn't find valid filesystem superblock.

    – Ale_info
    18 hours ago











  • Please don't do that online.

    – 炸鱼薯条德里克
    18 hours ago













2












2








2


2






I have a Google Cloud Instance:



When i check the disk space with two different command it show:



df -H



Filesystem Size Used Avail Use% Mounted on 
/dev/sda2 11G 3.1G 7.5G 30% /
devtmpfs 300M 0 300M 0% /dev
tmpfs 308M 0 308M 0% /dev/shm
tmpfs 308M 34M 274M 12% /run
tmpfs 308M 0 308M 0% /sys/fs/cgroup
/dev/sda1 210M 12M 198M 6% /boot/efi
tmpfs 62M 0 62M 0% /run/user/1001


lsblk



 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT 
sda 8:0 0 30G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
└─sda2 8:2 0 29.8G 0 part /


Why i have these difference?



I want that my disk have all the 30G of space and not 11G.










share|improve this question









New contributor




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












I have a Google Cloud Instance:



When i check the disk space with two different command it show:



df -H



Filesystem Size Used Avail Use% Mounted on 
/dev/sda2 11G 3.1G 7.5G 30% /
devtmpfs 300M 0 300M 0% /dev
tmpfs 308M 0 308M 0% /dev/shm
tmpfs 308M 34M 274M 12% /run
tmpfs 308M 0 308M 0% /sys/fs/cgroup
/dev/sda1 210M 12M 198M 6% /boot/efi
tmpfs 62M 0 62M 0% /run/user/1001


lsblk



 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT 
sda 8:0 0 30G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
└─sda2 8:2 0 29.8G 0 part /


Why i have these difference?



I want that my disk have all the 30G of space and not 11G.







centos disk-usage google-cloud lsblk






share|improve this question









New contributor




Ale_info 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




Ale_info 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 11 hours ago







Ale_info













New contributor




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









asked 19 hours ago









Ale_infoAle_info

113




113




New contributor




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





New contributor





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






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







  • 1





    Maybe the file system is not filling the whole partition. How did you create/modify the partition and file system?

    – sudodus
    18 hours ago











  • Assuming this is an ext* partition you can resize the disk with resize2fs /dev/sda2

    – Philip Couling
    18 hours ago











  • Please, don't post images of text.

    – Kusalananda
    18 hours ago











  • When i do resize2fs /dev/sda2 i receive: resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open /dev/sda2 Couldn't find valid filesystem superblock.

    – Ale_info
    18 hours ago











  • Please don't do that online.

    – 炸鱼薯条德里克
    18 hours ago












  • 1





    Maybe the file system is not filling the whole partition. How did you create/modify the partition and file system?

    – sudodus
    18 hours ago











  • Assuming this is an ext* partition you can resize the disk with resize2fs /dev/sda2

    – Philip Couling
    18 hours ago











  • Please, don't post images of text.

    – Kusalananda
    18 hours ago











  • When i do resize2fs /dev/sda2 i receive: resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open /dev/sda2 Couldn't find valid filesystem superblock.

    – Ale_info
    18 hours ago











  • Please don't do that online.

    – 炸鱼薯条德里克
    18 hours ago







1




1





Maybe the file system is not filling the whole partition. How did you create/modify the partition and file system?

– sudodus
18 hours ago





Maybe the file system is not filling the whole partition. How did you create/modify the partition and file system?

– sudodus
18 hours ago













Assuming this is an ext* partition you can resize the disk with resize2fs /dev/sda2

– Philip Couling
18 hours ago





Assuming this is an ext* partition you can resize the disk with resize2fs /dev/sda2

– Philip Couling
18 hours ago













Please, don't post images of text.

– Kusalananda
18 hours ago





Please, don't post images of text.

– Kusalananda
18 hours ago













When i do resize2fs /dev/sda2 i receive: resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open /dev/sda2 Couldn't find valid filesystem superblock.

– Ale_info
18 hours ago





When i do resize2fs /dev/sda2 i receive: resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open /dev/sda2 Couldn't find valid filesystem superblock.

– Ale_info
18 hours ago













Please don't do that online.

– 炸鱼薯条德里克
18 hours ago





Please don't do that online.

– 炸鱼薯条德里克
18 hours ago










0






active

oldest

votes











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
);



);






Ale_info 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%2funix.stackexchange.com%2fquestions%2f507363%2fstrange-difference-of-disk-size%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








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









draft saved

draft discarded


















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












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











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














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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507363%2fstrange-difference-of-disk-size%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

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In 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 ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.