Linode disk image size inconsistency

I have a disk image which I have resized, using the Linode Manager, to 512MB. The size of this image as shown in the Dashboard tab is, as expected, 512MB.

However, the size of the image obtained from within the Linode, using "fdisk -l /dev/xvdN", is 541065216 bytes: exactly 516MB. This is also the size of the file produced by "dd if=/dev/xvdN of=…".

Why does the size displayed by the Linode Manager appear to be 4MB less than the actual size?

2 Replies

Rounding error?

Does being off 4M really make a difference?

We use LVM for the disk images. When an LV is created the size is rounded up to the next even multiple of the physical extent size (in our case 4 MB).


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct