fdisk no valid partition
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
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,gigabytes. cheapskate hard drive manufacturer
272629760 + 51275366400 bytes in 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.)