Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: fdisk no valid partition
PostPosted: Fri Sep 04, 2015 10:47 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
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:
Code:
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)

_________________
--
Chris Bryant


Top
   
PostPosted: Fri Sep 04, 2015 10:56 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
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


Top
   
PostPosted: Fri Sep 04, 2015 10:57 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
Thanks!

_________________
--

Chris Bryant


Top
   
PostPosted: Fri Sep 04, 2015 1:17 pm 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 567
Website: http://www.mattnordhoff.com/
bryantrv wrote:
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.)

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group