fdisk no valid partition

Trying to sort out an old problem using Virtualmin- setquota not working, when one of the troubleshooting tips via Google suggested running fdisk- when I do I get:

linpear:~# fdisk -l

Disk /dev/sdb: 272 MB, 272629760 bytes
9 heads, 58 sectors/track, 1020 cylinders, total 532480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sda: 51.3 GB, 51275366400 bytes
64 heads, 32 sectors/track, 48900 cylinders, total 100147200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table

This is KVM migrated from Xen- everything else works fine, it's just troubling, plus it is giving me more disc space than I should have on whatever plan I am on now (used to be base $20/mnth)

3 Replies

Hello,

There is no partition table. The entire device is used for the filesystem. So, don't worry about it.

FWIW, it was identical under Xen (in fact, moving from Xen to KVM is a bit-for-bit copy of your underlying block device).

Hope that helps,

-Chris

@bryantrv:

plus it is giving me more disc space than I should have on whatever plan I am on now (used to be base $20/mnth)
You don't have gigs of extra disk space. Linode uses base-two, KiB-means-1024 gibibytes; while fdisk is reporting in base-ten, KB-means-1000, cheapskate hard drive manufacturer gigabytes.

272629760 + 51275366400 bytes in GiB = 48.01 GiB.

(You actually are getting free disk space. 4 MiB of it. Your swap image was rounded up to the next block or something. I would not recommend trying to use it.)

Reply

Please enter an answer
Tips:

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] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct